Last change
on this file since 18343 was 10865, checked in by kjdon, 18 years ago |
modified some print statements, added in GSDL3SRCHOME
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
572 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | #check that GSDL3HOME is set
|
---|
4 | if test -z "$GSDL3HOME" ; then
|
---|
5 | echo "You need to 'source gs3-setup.sh' in the greenstone3 directory before running this script"
|
---|
6 | exit;
|
---|
7 | fi
|
---|
8 |
|
---|
9 | if test $# != 2; then
|
---|
10 | echo "Usage: gs3-build.sh <site name> <collection name>"
|
---|
11 | exit;
|
---|
12 | fi
|
---|
13 |
|
---|
14 | sitename=$1
|
---|
15 | collectionname=$2
|
---|
16 |
|
---|
17 | # we need to stop here if the database isn't running - how can we tell??
|
---|
18 | java -DGSDL3HOME=$GSDL3HOME -DGSDL3SRCHOME=$GSDL3SRCHOME -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Build -site $sitename -collect $collectionname
|
---|
19 |
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.