[jboss-cvs] JBossAS SVN: r58834 - trunk/system/src/bin

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Dec 4 08:13:44 EST 2006


Author: mladen.turk at jboss.com
Date: 2006-12-04 08:13:43 -0500 (Mon, 04 Dec 2006)
New Revision: 58834

Modified:
   trunk/system/src/bin/run.bat
Log:
Remove the if processing that contains (. They are breaking if the environment variable contains the (

Modified: trunk/system/src/bin/run.bat
===================================================================
--- trunk/system/src/bin/run.bat	2006-12-04 12:14:34 UTC (rev 58833)
+++ trunk/system/src/bin/run.bat	2006-12-04 13:13:43 UTC (rev 58834)
@@ -71,11 +71,9 @@
 rem If JBOSS_CLASSPATH is empty, don't include it, as this will 
 rem result in including the local directory, which makes error tracking
 rem harder.
-if "%JBOSS_CLASSPATH%" == "" (
-   set JBOSS_CLASSPATH=%JAVAC_JAR%;%RUNJAR%
-) else (
-   set JBOSS_CLASSPATH=%JBOSS_CLASSPATH%;%JAVAC_JAR%;%RUNJAR%
-)
+if "%JBOSS_CLASSPATH%" == "" set RUN_CLASSPATH=%JAVAC_JAR%;%RUNJAR%
+if "%RUN_CLASSPATH%" == "" set RUN_CLASSPATH=%JBOSS_CLASSPATH%;%JAVAC_JAR%;%RUNJAR%
+set JBOSS_CLASSPATH=%RUN_CLASSPATH%
 
 rem Setup JBoss specific properties
 set JAVA_OPTS=%JAVA_OPTS% -Dprogram.name=%PROGNAME%




More information about the jboss-cvs-commits mailing list