Last change
on this file since 18846 was 18754, checked in by oranfry, 15 years ago |
cleaning up a few properties
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
882 bytes
|
Line | |
---|
1 | @echo off
|
---|
2 |
|
---|
3 | if not "%GSDLHOME%" == "" goto generate
|
---|
4 |
|
---|
5 | echo You must run 'setup' in the top level folder of your Greenstone installation before running this script
|
---|
6 | goto exit
|
---|
7 |
|
---|
8 | :generate:
|
---|
9 | mkdir workshop
|
---|
10 |
|
---|
11 | set top_dir=%CD%
|
---|
12 | set source_dir=%CD%\xml-source
|
---|
13 | set processing_dir=%CD%\processing
|
---|
14 | set output_dir=%CD%\workshop
|
---|
15 | cd ..
|
---|
16 | cd shared
|
---|
17 | set shared_dir=%CD%
|
---|
18 | cd %output_dir%
|
---|
19 |
|
---|
20 | echo processing workshop
|
---|
21 |
|
---|
22 | java -cp "%shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar" -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-workshop.xsl %source_dir%\tutorial_en.xml | perl -S "%GSDLHOME%\gli\help\splithelpdocument.pl"
|
---|
23 | java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-one-workshop.xsl %source_dir%\tutorial_en.xml > workshop.html
|
---|
24 | cd ..
|
---|
25 |
|
---|
26 |
|
---|
27 | :exit:
|
---|
28 |
|
---|
29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.