axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dee...@apache.org
Subject svn commit: r209013 - in /webservices/axis/trunk/java/modules/tool/script: WSDL2Code.bat WSDL2Java.bat http-server.bat http-server.sh tcp-server.bat tcp-server.sh
Date Mon, 04 Jul 2005 05:05:41 GMT
Author: deepal
Date: Sun Jul  3 22:05:40 2005
New Revision: 209013

URL: http://svn.apache.org/viewcvs?rev=209013&view=rev
Log:
did not run in windows previosly , so I modified it to work in windows

Modified:
    webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat
    webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat
    webservices/axis/trunk/java/modules/tool/script/http-server.bat
    webservices/axis/trunk/java/modules/tool/script/http-server.sh
    webservices/axis/trunk/java/modules/tool/script/tcp-server.bat
    webservices/axis/trunk/java/modules/tool/script/tcp-server.sh

Modified: 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=209013&r1=209012&r2=209013&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat (original)
+++ webservices/axis/trunk/java/modules/tool/script/WSDL2Code.bat Sun Jul  3 22:05:40 2005
@@ -19,19 +19,7 @@
 
 :okHome
 rem set the classes
-set AXIS2_CLASS_PATH="%AXIS_HOME%"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-0.9.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
+set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-0.9.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\xbean-2.0.0-beta1.jar";"%AXIS_HOME%\lib\stax-api-1.0.jar"
 
 java -cp %AXIS2_CLASS_PATH% org.apache.axis2.wsdl.WSDL2Code %1 %2 %3 %4 %5 %6 %7 %8 %9 
 

Modified: 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=209013&r1=209012&r2=209013&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat (original)
+++ webservices/axis/trunk/java/modules/tool/script/WSDL2Java.bat Sun Jul  3 22:05:40 2005
@@ -19,19 +19,7 @@
 
 :okHome
 rem set the classes
-set AXIS2_CLASS_PATH="%AXIS_HOME%"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-0.9.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
+set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-0.9.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.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.axis2.wsdl.WSDL2Java %1 %2 %3 %4 %5 %6 %7 %8 %9
 

Modified: webservices/axis/trunk/java/modules/tool/script/http-server.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/http-server.bat?rev=209013&r1=209012&r2=209013&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/http-server.bat (original)
+++ webservices/axis/trunk/java/modules/tool/script/http-server.bat Sun Jul  3 22:05:40 2005
@@ -4,36 +4,7 @@
 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-0.9.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%"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-0.9.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
-set AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
+rem get the classes for the simple axis server
+set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-0.9.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.axis2.transport.http.SimpleHTTPServer %1 %2
-
-:end
-
-

Modified: webservices/axis/trunk/java/modules/tool/script/http-server.sh
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/http-server.sh?rev=209013&r1=209012&r2=209013&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/http-server.sh (original)
+++ webservices/axis/trunk/java/modules/tool/script/http-server.sh Sun Jul  3 22:05:40 2005
@@ -1,17 +1,18 @@
 #!/bin/sh
 
+#if [ $AXIS_HOME =  ]:then
+#   echo $AXIS_HOME not set
+#   $AXIS_HOME=`dirname ..`
+#   echo $AXIS_HOME
+#fi
+
 cd ..
 AXIS2_CLASSPATH=./lib/axis2-0.9.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/axis-wsdl4j-1.2.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/commons-logging-1.0.3.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/log4j-1.2.8.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/stax-1.1.1-dev.jar
-AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/geronimo-spec-activation-1.0.2-rc3.jar
-AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/axis-wsdl4j-1.2.jar        
-AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/geronimo-spec-javamail-1.3.1-rc3.jar
-AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/xbean-2.0.0-beta1.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/stax-api-1.0.jar
-
 export AXIS2_CLASSPATH
 echo the classpath $AXIS2_CLASSPATH
 java -classpath $AXIS2_CLASSPATH org.apache.axis2.transport.http.SimpleHTTPServer $1 $2

Modified: webservices/axis/trunk/java/modules/tool/script/tcp-server.bat
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/tcp-server.bat?rev=209013&r1=209012&r2=209013&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/tcp-server.bat (original)
+++ webservices/axis/trunk/java/modules/tool/script/tcp-server.bat Sun Jul  3 22:05:40 2005
@@ -5,18 +5,6 @@
 rem ---------------------------------------------------------------------------
 
 rem get the classes for the simple axis server
-set AXIS2_CLASS_PATH="%AXIS_HOME%"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis2-0.9.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\commons-logging-1.0.3.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\log4j-1.2.8.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-1.1.1-dev.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar"
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-activation-1.0.2-rc3.jar
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\axis-wsdl4j-1.2.jar        
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\geronimo-spec-javamail-1.3.1-rc3.jar
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\xbean-2.0.0-beta1.jar
-AXIS2_CLASS_PATH="%CLASS_PATH";"%AXIS_HOME%\lib\stax-api-1.0.jar
+set AXIS2_CLASS_PATH="%AXIS_HOME%";"%AXIS_HOME%\lib\axis2-0.9.jar";"%AXIS_HOME%\lib\axis-wsdl4j-1.2-RC1.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.axis2.transport.tcp.TCPServer %1 %2

Modified: webservices/axis/trunk/java/modules/tool/script/tcp-server.sh
URL: http://svn.apache.org/viewcvs/webservices/axis/trunk/java/modules/tool/script/tcp-server.sh?rev=209013&r1=209012&r2=209013&view=diff
==============================================================================
--- webservices/axis/trunk/java/modules/tool/script/tcp-server.sh (original)
+++ webservices/axis/trunk/java/modules/tool/script/tcp-server.sh Sun Jul  3 22:05:40 2005
@@ -6,13 +6,7 @@
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/commons-logging-1.0.3.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/log4j-1.2.8.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/stax-1.1.1-dev.jar
-AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/geronimo-spec-activation-1.0.2-rc3.jar
-AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/axis-wsdl4j-1.2.jar        
-AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/geronimo-spec-javamail-1.3.1-rc3.jar
-AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/xbean-2.0.0-beta1.jar
 AXIS2_CLASSPATH=$AXIS2_CLASSPATH:./lib/stax-api-1.0.jar
-
-
 export AXIS2_CLASSPATH
 echo the classpath $AXIS2_CLASSPATH
 java -classpath $AXIS2_CLASSPATH org.apache.axis2.transport.tcp.TCPServer  $1 $2



Mime
View raw message