source: greenstone3/trunk/bin/script/ConstructCollection@ 18343

Last change on this file since 18343 was 3688, checked in by kjdon, 21 years ago

gs2 compatible building/conversion scripts

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 925 bytes
Line 
1#!/bin/sh
2echo "Constructing collections ..."
3
4if [ "x$GSDLHOME" = "x" ] ; then
5 echo "You must have GSDLHOME set for building to work"
6 exit
7fi
8
9if [ "x$GSDL3HOME" = "x" ] ; then
10 echo "You must have GSDL3HOME set for building to work"
11 exit
12fi
13
14if [ "x$GSDLOS" = "x" ] ; then
15 echo "You must have GSDLOS set for building to work"
16 exit
17fi
18
19
20# -Xms32M To set minimum memory
21# -Xmx32M To set maximum memory
22# -verbose:gc To set garbage collection messages
23# -Xincgc For incremental garbage collection
24# -Xprof Function call profiling
25# -Xloggc:<file> Write garbage collection log
26
27echo "running java -DGSDLHOME=$GSDLHOME -DGSDLOS=$GSDLOS -DGSDL3HOME=$GSDL3HOME -DPATH=$PATH org.greenstone.gsdl3.build.ConstructCollection $*"
28java -DGSDLHOME=$GSDLHOME -DGSDLOS=$GSDLOS -DGSDL3HOME=$GSDL3HOME -DPATH=$PATH org.greenstone.gsdl3.build.ConstructCollection $*
29
30echo "Done!"
Note: See TracBrowser for help on using the repository browser.