You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by aj...@apache.org on 2005/06/06 11:03:08 UTC
svn commit: r180268 -
/webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat
/webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat
Author: ajith
Date: Mon Jun 6 02:03:07 2005
New Revision: 180268
URL: http://svn.apache.org/viewcvs?rev=180268&view=rev
Log:
Adding the two batch files for the code generator. Still not tested fully
Added:
webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat
webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat
Added: webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat?rev=180268&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat (added)
+++ webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat Mon Jun 6 02:03:07 2005
@@ -0,0 +1,26 @@
+@echo off
+rem ---------------------------------------------------------------------------
+rem Start script for the WSDLCode
+rem
+rem
+rem ---------------------------------------------------------------------------
+
+rem Guess AXIS_HOME if not defined
+if not "%AXIS_HOME%" == "" goto gotHome
+cd ..
+set AXIS_HOME=%cd%
+
+:gotHome
+if EXIST "%AXIS_HOME%\lib\axis2-M2.jar" goto okHome
+echo The AXIS_HOME environment variable seems not to point to the correct location!
+echo This environment variable is needed to run this program
+pause
+exit
+
+:okHome
+rem set the classes
+set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+
+java -cp %AXIS2_CLASS_PATH% org.apache.axis.wsdl.WSDL2Code %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11
+
+:end
\ No newline at end of file
Added: webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat?rev=180268&view=auto
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat (added)
+++ webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat Mon Jun 6 02:03:07 2005
@@ -0,0 +1,26 @@
+@echo off
+rem ---------------------------------------------------------------------------
+rem Start script for the WSDLJava
+rem
+rem
+rem ---------------------------------------------------------------------------
+
+rem Guess AXIS_HOME if not defined
+if not "%AXIS_HOME%" == "" goto gotHome
+cd ..
+set AXIS_HOME=%cd%
+
+:gotHome
+if EXIST "%AXIS_HOME%\lib\axis2-M2.jar" goto okHome
+echo The AXIS_HOME environment variable seems not to point to the correct location!
+echo This environment variable is needed to run this program
+pause
+exit
+
+:okHome
+rem set the classes
+set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-M2.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\log4j-1.2.8.jar";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
+
+java -cp %AXIS2_CLASS_PATH% org.apache.axis.wsdl.WSDL2Java %1 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11
+
+:end
\ No newline at end of file