Last change
on this file since 30875 was 20953, checked in by davidb, 14 years ago |
ApplyXSLT now takes an extra parameter (for language). Minor tweaks to these scripts to take account of that
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
849 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | if [ "$GSDLHOME" == "" ]; then
|
---|
4 | echo You must run \'source setup.bash\' in the top level folder of your Greenstone installation before running this script
|
---|
5 | exit
|
---|
6 | fi
|
---|
7 |
|
---|
8 | top_dir=`pwd`
|
---|
9 | shared_dir=`pwd`/../shared
|
---|
10 | source_dir=`pwd`/xml-source
|
---|
11 | processing_dir=`pwd`/processing
|
---|
12 | output_dir=`pwd`/workshop
|
---|
13 |
|
---|
14 | mkdir $output_dir
|
---|
15 |
|
---|
16 | echo "processing workshop"
|
---|
17 |
|
---|
18 | cd $output_dir
|
---|
19 | 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
|
---|
20 | 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
|
---|
21 | cd $top_dir
|
---|
22 |
|
---|
23 |
|
---|
24 |
|
---|
25 |
|
---|
26 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.