Changeset 19637

Show
Ignore:
Timestamp:
28.05.2009 15:07:24 (10 years ago)
Author:
oranfry
Message:

pass the language to the apply xslt java program to conform to new arguments

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • documentation/trunk/tutorials/generate-html.sh

    r18754 r19637  
    1919 
    2020echo "processing top level index" 
    21 java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-top-index.xsl  $source_dir/tutorial_en.xml > $output_dir/index.html 
     21java -DGSDLHOME=$GSDLHOME ApplyXSLT "" $processing_dir/xml-to-top-index.xsl  $source_dir/tutorial_en.xml > $output_dir/index.html 
    2222 
    2323echo "generating wiki index page" 
    24 java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-wiki-index.xsl $source_dir/tutorial_en.xml > $output_dir/wiki-index.txt 
     24java -DGSDLHOME=$GSDLHOME ApplyXSLT "" $processing_dir/xml-to-wiki-index.xsl $source_dir/tutorial_en.xml > $output_dir/wiki-index.txt 
    2525 
    2626for l in $langs; do 
     
    2828    mkdir $output_dir/$l 
    2929    cd $output_dir/$l 
    30     java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-index.xsl $source_dir/tutorial_$l.xml > index.html 
    31     java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-one-html.xsl $source_dir/tutorial_$l.xml > all_tutorials.html 
    32     java -DGSDLHOME=$GSDLHOME ApplyXSLT $processing_dir/xml-to-many-html.xsl $source_dir/tutorial_$l.xml | perl -S $GSDLHOME/gli/help/splithelpdocument.pl 
     30    java -DGSDLHOME=$GSDLHOME ApplyXSLT $l $processing_dir/xml-to-index.xsl $source_dir/tutorial_$l.xml > index.html 
     31    java -DGSDLHOME=$GSDLHOME ApplyXSLT $l $processing_dir/xml-to-one-html.xsl $source_dir/tutorial_$l.xml > all_tutorials.html 
     32    java -DGSDLHOME=$GSDLHOME ApplyXSLT $l $processing_dir/xml-to-many-html.xsl $source_dir/tutorial_$l.xml | perl -S $GSDLHOME/gli/help/splithelpdocument.pl 
    3333    cd $top_dir 
    3434done