Changeset 10865 for trunk/gsdl3/bin
- Timestamp:
- 2005-11-08T11:17:30+13:00 (19 years ago)
- Location:
- trunk/gsdl3/bin/script
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl3/bin/script/gs3-build.bat
r8418 r10865 3 3 :: ---- Check that %GSDL3HOME% is set ---- 4 4 if not "%GSDL3HOME%" == "" goto start 5 echo You need to run gs3-setup.bat before running this file5 echo "You need to run 'gs3-setup' in the greenstone3 directory before running this script" 6 6 goto exit 7 7 … … 19 19 :run 20 20 21 java -cp "%CLASSPATH%" -DGSDL3HOME="%GSDL3HOME%" -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Build -site %1 -collect %221 java -cp "%CLASSPATH%" -DGSDL3HOME="%GSDL3HOME%" -DGSDL3SRCHOME="%GSDL3SRCHOME%" -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Build -site %1 -collect %2 22 22 23 23 :exit -
trunk/gsdl3/bin/script/gs3-build.sh
r8418 r10865 3 3 #check that GSDL3HOME is set 4 4 if test -z "$GSDL3HOME" ; then 5 echo "You need to 'source gs3-setup.sh' before running this script"5 echo "You need to 'source gs3-setup.sh' in the greenstone3 directory before running this script" 6 6 exit; 7 7 fi 8 8 9 9 if test $# != 2; then 10 echo "Usage: gs3-build <site name> <collection name>"10 echo "Usage: gs3-build.sh <site name> <collection name>" 11 11 exit; 12 12 fi … … 16 16 17 17 # we need to stop here if the database isn't running - how can we tell?? 18 java -DGSDL3HOME=$GSDL3HOME -D org.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Build -site $sitename -collect $collectionname18 java -DGSDL3HOME=$GSDL3HOME -DGSDL3SRCHOME=$GSDL3SRCHOME -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Build -site $sitename -collect $collectionname 19 19 20 20 -
trunk/gsdl3/bin/script/gs3-mkcol.bat
r8500 r10865 3 3 :: ---- Check that %GSDL3HOME% is set ---- 4 4 if not "%GSDL3HOME%" == "" goto start 5 echo You need to cd to gsdl3 direcotyr and run gs3-setup.bat before running this file5 echo "You need to run 'gs3-setup' in the greenstone3 directory before running this script" 6 6 goto exit 7 7 … … 19 19 :run 20 20 21 java -cp "%CLASSPATH%" -DGSDL3HOME="%GSDL3HOME%" -D org.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Create -site %1 -collect %221 java -cp "%CLASSPATH%" -DGSDL3HOME="%GSDL3HOME%" -DGSDL3SRCHOME="%GSDL3SRCHOME%" -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Create -site %1 -collect %2 22 22 23 23 :exit -
trunk/gsdl3/bin/script/gs3-mkcol.sh
r8498 r10865 3 3 #check that GSDL3HOME is set 4 4 if test -z "$GSDL3HOME" ; then 5 echo "You need to cd to your gsdl3 directory, and run 'source gs3-setup.sh'before running this script"5 echo "You need to 'source gs3-setup.sh' in the greenstone3 directory before running this script" 6 6 exit; 7 7 fi … … 15 15 collectionname=$2 16 16 17 java -DGSDL3HOME=$GSDL3HOME -D org.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Create -site $sitename -collect $collectionname17 java -DGSDL3HOME=$GSDL3HOME -DGSDL3SRCHOME=$GSDL3SRCHOME -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Create -site $sitename -collect $collectionname 18 18 19 19 #/opt/sun-jdk-1.4.2.03/bin/java -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y -DGSDL3HOME=$GSDL3HOME -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Build -site $sitename -collect $collectionname
Note:
See TracChangeset
for help on using the changeset viewer.