Changeset 13743


Ignore:
Timestamp:
2007-01-23T13:39:59+13:00 (14 years ago)
Author:
qq6
Message:

Change the file paths

File:
1 edited

Legend:

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

    r13636 r13743  
    77
    88:generate:
     9mkdir html
     10cd html
     11:generate:
    912mkdir en
    1013mkdir fr
    1114mkdir ru
    1215mkdir es
     16cd ..
     17
     18set top_dir=%CD%
     19set source_dir=%CD%\xml-source
     20set processing_dir=%CD%\processing
     21set output_dir=%CD%\html
     22cd ..
     23cd shared
     24set shared_dir=%CD%
     25cd %output_dir%
    1326
    1427echo "processing top level index"
    15 java -cp .;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT xml-to-top-index.xsl  tutorial_en.xml > index.html
     28java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-top-index.xsl  %source_dir%\tutorial_en.xml > %output_dir%\index.html
    1629
    1730echo "generating wiki index page"
    18 java -cp .;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT xml-to-wiki-index.xsl tutorial_en.xml > wiki-index.txt
     31java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-wiki-index.xsl %source_dir%\tutorial_en.xml > %output_dir%\wiki-index.txt
    1932
    2033echo "procesing english version"
    2134
    22 cd en
    23 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-index.xsl ..\tutorial_en.xml > index.html
    24 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-one-html.xsl ..\tutorial_en.xml > all_tutorials.html
    25 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-many-html.xsl ..\tutorial_en.xml | perl -S %GSDLHOME%\gli\help\splithelpdocument.pl
     35cd %output_dir%\en
     36java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-index.xsl %source_dir%\tutorial_en.xml > index.html
     37java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-one-html.xsl %source_dir%\tutorial_en.xml > all_tutorials.html
     38java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-many-html.xsl %source_dir%\tutorial_en.xml | perl -S %GSDLHOME%\gli\help\splithelpdocument.pl
    2639cd ..
    2740
    2841echo "procesing french version"
    29 cd fr
    30 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-index.xsl ..\tutorial_fr.xml > index.html
    31 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-one-html.xsl ..\tutorial_fr.xml > all_tutorials.html
    32 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-many-html.xsl ..\tutorial_fr.xml | perl -S %GSDLHOME%\gli\help\splithelpdocument.pl
     42cd %output_dir%\fr
     43java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-index.xsl %source_dir%\tutorial_fr.xml > index.html
     44java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-one-html.xsl %source_dir%\tutorial_fr.xml > all_tutorials.html
     45java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-many-html.xsl %source_dir%\tutorial_fr.xml | perl -S %GSDLHOME%\gli\help\splithelpdocument.pl
    3346cd ..
    3447
    3548echo "procesing spanish version"
    36 cd es
    37 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-index.xsl ..\tutorial_es.xml > index.html
    38 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-one-html.xsl ..\tutorial_es.xml > all_tutorials.html
    39 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-many-html.xsl ..\tutorial_es.xml | perl -S %GSDLHOME%\gli\help\splithelpdocument.pl
     49cd %output_dir%\es
     50java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-index.xsl %source_dir%\tutorial_es.xml > index.html
     51java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-one-html.xsl %source_dir%\tutorial_es.xml > all_tutorials.html
     52java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-many-html.xsl %source_dir%\tutorial_es.xml | perl -S %GSDLHOME%\gli\help\splithelpdocument.pl
    4053cd ..
    4154
    4255echo "procesing russian version"
    43 cd ru
    44 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-index.xsl ..\tutorial_ru.xml > index.html
    45 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-one-html.xsl ..\tutorial_ru.xml > all_tutorials.html
    46 java -cp ..;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;..\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT ..\xml-to-many-html.xsl ..\tutorial_ru.xml | perl -S %GSDLHOME%\gli\help\splithelpdocument.pl
     56cd %output_dir%\ru
     57java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-index.xsl %source_dir%\tutorial_ru.xml > index.html
     58java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-one-html.xsl %source_dir%\tutorial_ru.xml > all_tutorials.html
     59java -cp %shared_dir%;%GSDLHOME%\gli;%GSDLHOME%\gli\classes;%GSDLHOME%\perllib;%shared_dir%\xalan.jar -DGSDLHOME=%GSDLHOME% ApplyXSLT %processing_dir%\xml-to-many-html.xsl %source_dir%\tutorial_ru.xml | perl -S %GSDLHOME%\gli\help\splithelpdocument.pl
    4760
    4861cd ..
Note: See TracChangeset for help on using the changeset viewer.