Last change
on this file since 33278 was 10865, checked in by kjdon, 19 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:
603 bytes
|
Line | |
---|
1 | @echo off
|
---|
2 |
|
---|
3 | :: ---- Check that %GSDL3HOME% is set ----
|
---|
4 | if not "%GSDL3HOME%" == "" goto start
|
---|
5 | echo "You need to run 'gs3-setup' in the greenstone3 directory before running this script"
|
---|
6 | goto exit
|
---|
7 |
|
---|
8 | :start
|
---|
9 |
|
---|
10 | if not "%1" == "" goto start2
|
---|
11 | echo Usage: gs3-build sitename collname
|
---|
12 | goto exit
|
---|
13 |
|
---|
14 | :start2
|
---|
15 | if not "%2" == "" goto run
|
---|
16 | echo Usage: gs3-build sitename collname
|
---|
17 | goto exit
|
---|
18 |
|
---|
19 | :run
|
---|
20 |
|
---|
21 | 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 |
|
---|
23 | :exit
|
---|
Note:
See
TracBrowser
for help on using the repository browser.