servicemix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject svn commit: r393856 - /incubator/servicemix/trunk/servicemix-assembly/src/main/release/bin/servicemix.bat
Date Thu, 13 Apr 2006 16:42:43 GMT
Author: gnodet
Date: Thu Apr 13 09:42:41 2006
New Revision: 393856

URL: http://svn.apache.org/viewcvs?rev=393856&view=rev
Log:
SM-393: ServiceMix 3.0-M1 RC doesn't like spaces in the path on Windows

Modified:
    incubator/servicemix/trunk/servicemix-assembly/src/main/release/bin/servicemix.bat

Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/bin/servicemix.bat
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/bin/servicemix.bat?rev=393856&r1=393855&r2=393856&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/bin/servicemix.bat (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/bin/servicemix.bat Thu
Apr 13 09:42:41 2006
@@ -31,11 +31,18 @@
     goto END
 )
 
-set LOCAL_CLASSPATH="%CLASSPATH%"
+set LOCAL_CLASSPATH=%CLASSPATH%
 set DEFAULT_JAVA_OPTS=-server -Xmx512M -Dderby.system.home="%SERVICEMIX_HOME%\var" -Dderby.storage.fileSyncTransactionLog=true

-set CLASSPATH="%LOCAL_CLASSPATH%;%SERVICEMIX_HOME%\conf"
+set CLASSPATH=%LOCAL_CLASSPATH%;%SERVICEMIX_HOME%\conf
 set DEFAULT_JAVA_DEBUG_OPTS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005
 
+if "%LOCAL_CLASSPATH%" == "" goto :SERVICEMIX_CLASSPATH_EMPTY
+    set CLASSPATH=%LOCAL_CLASSPATH%;%SERVICEMIX_HOME%\conf
+    goto :SERVICEMIX_CLASSPATH_END
+:SERVICEMIX_CLASSPATH_EMPTY
+    set CLASSPATH=%SERVICEMIX_HOME%\conf
+:SERVICEMIX_CLASSPATH_END
+
 rem Setup Servicemix Home
 if exist "%SERVICEMIX_HOME%\conf\servicemix-rc.cmd" call %SERVICEMIX_HOME%\conf\servicemix-rc.cmd
 if exist "%HOME%\servicemix-rc.cmd" call %HOME%\servicemix-rc.cmd
@@ -73,7 +80,7 @@
 :SERVICEMIX_PROFILER_END
 
 rem Setup the classpath
-set CLASSPATH="%CLASSPATH%;%SERVICEMIX_HOME%\lib\classworlds-1.0.1.jar"
+set CLASSPATH=%CLASSPATH%;%SERVICEMIX_HOME%\lib\classworlds-1.0.1.jar
 
 rem Setup boot options
 set CLASSWORLDS_CONF=%SERVICEMIX_HOME%\conf\servicemix.conf



Mime
View raw message