Last change
on this file since 37676 was 20953, checked in by davidb, 15 years ago |
ApplyXSLT now takes an extra parameter (for language). Minor tweaks to these scripts to take account of that
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
888 bytes
|
Rev | Line | |
---|
[13636] | 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 |
|
---|
[13744] | 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 |
|
---|
[13636] | 20 | echo processing workshop
|
---|
| 21 |
|
---|
[20953] | 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
|
---|
[13636] | 24 | cd ..
|
---|
| 25 |
|
---|
| 26 |
|
---|
| 27 | :exit:
|
---|
| 28 |
|
---|
| 29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.