axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r454810 - /webservices/axis2/branches/java/1_1/modules/tool/script/tcp-server.bat
Date Tue, 10 Oct 2006 16:28:40 GMT
Author: dims
Date: Tue Oct 10 09:28:40 2006
New Revision: 454810

URL: http://svn.apache.org/viewvc?view=rev&rev=454810
Log:
try to fix problem reported by RC1 user - http://marc.theaimsgroup.com/?l=axis-user&m=116042640905247&w=2

Modified:
    webservices/axis2/branches/java/1_1/modules/tool/script/tcp-server.bat

Modified: webservices/axis2/branches/java/1_1/modules/tool/script/tcp-server.bat
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/tool/script/tcp-server.bat?view=diff&rev=454810&r1=454809&r2=454810
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/tool/script/tcp-server.bat (original)
+++ webservices/axis2/branches/java/1_1/modules/tool/script/tcp-server.bat Tue Oct 10 09:28:40
2006
@@ -44,6 +44,16 @@
 goto end
 
 :okHome
+rem check for the default service repository
+if exist "%AXIS2_HOME%\repository" goto okRepo
+mkdir "%AXIS2_HOME%\repository"
+
+:okRepo
+set REPO_FOLDER=%AXIS2_HOME%\repository
+if exist "%REPO_FOLDER%\services" goto okService
+mkdir "%REPO_FOLDER%\services"
+
+:okService
 rem set the classes
 setlocal EnableDelayedExpansion
 rem loop through the libs and add them to the class path
@@ -55,6 +65,6 @@
 echo Using JAVA_HOME:    %JAVA_HOME%
 set _RUNJAVA="%JAVA_HOME%\bin\java"
 
-%_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% org.apache.axis2.transport.tcp.TCPServer %AXIS2_HOME%
6060 %*
+%_RUNJAVA% %JAVA_OPTS% -cp %AXIS2_CLASS_PATH% org.apache.axis2.transport.tcp.TCPServer %REPO_FOLDER%
6060 %*
 endlocal
 :end



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message