diff gpf/BIN/xgenxml.bat @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/gpf/BIN/xgenxml.bat	Mon Jun 01 03:24:05 2015 +0000
@@ -0,0 +1,15 @@
+@setlocal
+@echo off
+
+rem the below call does not work in every environment out of some unspecified reason.
+rem IF %3==sap .OR. %3==pdf set XSLT=%GPF%\util\sape\xslt\pdf-mdf\2pdf.xsl
+rem IF %3==aim .OR. %3==mdf set XSLT=%GPF%\util\sape\xslt\pdf-mdf\2mdf.xsl
+rem java -Xbootclasspath/p:"%GPF%\tools\lib\java\xalan.jar;%GPF%\tools\lib\java\xml-apis.jar;%GPF%\tools\lib\java\xercesImpl.jar" -classpath %GPF%\tools\lib\java\xalan-ext.jar org.apache.xalan.xslt.Process -in %1 -xsl %XSLT% -out %2 -param sapPath %4 -param aimPath %5 -param incPath %6
+
+rem the below call does not work in every environment since there are more than nine command line parameters involved.
+rem call xalan.bat -in %1 -xsl %XSLT% -out %2 -param sapPath %4 -param aimPath %5 -param incPath %6
+
+IF %3==pdf java -Xbootclasspath/p:"%GPF%\tools\lib\java\xalan.jar;%GPF%\tools\lib\java\xml-apis.jar;%GPF%\tools\lib\java\xercesImpl.jar" -classpath %GPF%\tools\lib\java\xalan-ext.jar org.apache.xalan.xslt.Process -in %1 -xsl %GPF%\util\sape\xslt\pdf-mdf\2pdf.xsl -out %2 -param sapPath %4 -param aimPath %5 -param incPath %6
+IF %3==mdf java -Xbootclasspath/p:"%GPF%\tools\lib\java\xalan.jar;%GPF%\tools\lib\java\xml-apis.jar;%GPF%\tools\lib\java\xercesImpl.jar" -classpath %GPF%\tools\lib\java\xalan-ext.jar org.apache.xalan.xslt.Process -in %1 -xsl %GPF%\util\sape\xslt\pdf-mdf\2mdf.xsl -out %2 -param sapPath %4 -param aimPath %5 -param incPath %6
+
+endlocal
\ No newline at end of file