source: trunk/gsdl-documentation/tutorials/generate-workshop.bat@ 13642

Last change on this file since 13642 was 13636, checked in by kjdon, 17 years ago

shell scripts for generating tutorial html. these need updating for teh new repository structure

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 643 bytes
Line 
1@echo off
2
3if not "%GSDLHOME%" == "" goto generate
4
5echo You must run 'setup' in the top level folder of your Greenstone installation before running this script
6goto exit
7
8:generate:
9mkdir workshop
10
11echo processing workshop
12
13cd workshop
14java -cp "..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar" -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-workshop.xsl ..\tutorial_en.xml | perl -S "%GSDLHOME%\gli\help\splithelpdocument.pl"
15java -cp "..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar" -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-one-workshop.xsl ..\tutorial_en.xml > workshop.html
16cd ..
17
18
19:exit:
20
21
Note: See TracBrowser for help on using the repository browser.