source: trunk/gsdl3/bin/script/gs3-mkcol.bat@ 10846

Last change on this file since 10846 was 8500, checked in by kjdon, 20 years ago

script to create new collections

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 566 bytes
Line 
1@echo off
2
3:: ---- Check that %GSDL3HOME% is set ----
4if not "%GSDL3HOME%" == "" goto start
5 echo You need to cd to gsdl3 direcotyr and run gs3-setup.bat before running this file
6 goto exit
7
8:start
9
10if not "%1" == "" goto start2
11 echo Usage: gs3-mkcol sitename collname
12 goto exit
13
14:start2
15if not "%2" == "" goto run
16 echo Usage: gs3-mkcol sitename collname
17 goto exit
18
19:run
20
21java -cp "%CLASSPATH%" -DGSDL3HOME="%GSDL3HOME%" -Dorg.xml.sax.driver=org.apache.xerces.parsers.SAXParser org.greenstone.gsdl3.gs3build.Create -site %1 -collect %2
22
23:exit
Note: See TracBrowser for help on using the repository browser.