Changeset 22229


Ignore:
Timestamp:
2010-06-03T10:34:12+12:00 (12 years ago)
Author:
davidb
Message:

Minor tweaks

Location:
gs2-extensions/open-office/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/open-office/trunk/COMPILE-INSTALL.sh

    r22204 r22229  
    66export JOD_CONVERTER=jodconverter-core-3.0-beta-3
    77
     8if [ "x$GEXTOPENOFFICE" != "x" ] ; then
    89
    9 if [ "x$GEXTOOFFICE" != "x" ] ; then
     10  javac -version
     11  if [ $? != 0 ] ; then
     12    echo "Unable to locate 'javac'"
     13    echo "Have you set JAVA_HOME and put JAVA_HOME/bin in your path?"
     14    exit
     15  fi
     16
    1017  echo Compiling Code
    1118
    12   pushd "$GEXTOOFFICE/build-srcpack/packages"
     19  pushd "$GEXTOPENOFFICE/build-srcpack/packages"
    1320
    1421  ./COMPILE-INSTALL.sh
     
    2431  echo ""
    2532  echo "Installing jodconverter.jar into lib/java"
    26   /bin/cp -r $GEXTOOFFICE/build-srcpack/packages/$JOD_CONVERTER/jodconverter.jar lib/java/.
     33  /bin/cp -r $GEXTOPENOFFICE/build-srcpack/packages/$JOD_CONVERTER/jodconverter.jar lib/java/.
    2734
    2835
    2936else
    30   echo "Error: Environment variable GEXTOOFICE is not set"
     37  echo "Error: Environment variable GEXTOPENOFICE is not set"
    3138fi
    3239
  • gs2-extensions/open-office/trunk/START-UP.sh

    r22204 r22229  
    66  echo "Starting up Open Office Server (headless mode)"
    77
    8   soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless
     8  soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -headless
    99
    1010  echo "Testing to see if soffice is listening on port 8100"
  • gs2-extensions/open-office/trunk/setup.bash

    r22204 r22229  
    22extdesc="the Open Office Extension"
    33
    4 ##source cascade-make/lib/cascade-lib.bash
     4if [ "x$GEXTOPENOFFICE" = "x" ] ; then
     5  export GEXTOPENOFFICE=`pwd`
    56
    6 if [ "x$GEXTOOFFICE" = "x" ] ; then
    7   export GEXTOOFFICE=`pwd`
     7  export PATH=$GEXTOPENOFFICE/bin/script:$PATH
    88
    99  if [ "x$GSDLEXTS" = "x" ] ; then
Note: See TracChangeset for help on using the changeset viewer.