[jboss-cvs] JBossAS SVN: r93678 - branches/JBPAPP_5_0/main/src/bin.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Sep 18 07:12:22 EDT 2009


Author: mladen.turk at jboss.com
Date: 2009-09-18 07:12:22 -0400 (Fri, 18 Sep 2009)
New Revision: 93678

Modified:
   branches/JBPAPP_5_0/main/src/bin/run.bat
Log:
Fix checking for JAVAC_JAR.

Modified: branches/JBPAPP_5_0/main/src/bin/run.bat
===================================================================
--- branches/JBPAPP_5_0/main/src/bin/run.bat	2009-09-18 10:55:05 UTC (rev 93677)
+++ branches/JBPAPP_5_0/main/src/bin/run.bat	2009-09-18 11:12:22 UTC (rev 93678)
@@ -15,7 +15,7 @@
 )
 
 rem Read an optional configuration file.
-if "x%RUN_CONF%" == "x" (   
+if "x%RUN_CONF%" == "x" (
    set "RUN_CONF=%DIRNAME%run.conf.bat"
 )
 if exist "%RUN_CONF%" (
@@ -88,9 +88,9 @@
 
 if exist "%JBOSS_HOME%\bin\run.jar" (
   if "x%JAVAC_JAR%" == "x" (
+    set "RUNJAR=%JBOSS_HOME%\bin\run.jar"
+  ) else (
     set "RUNJAR=%JAVAC_JAR%;%JBOSS_HOME%\bin\run.jar"
-  ) else (
-    set "RUNJAR=%JBOSS_HOME%\bin\run.jar"
   )
 ) else (
   echo Could not locate "%JBOSS_HOME%\bin\run.jar".




More information about the jboss-cvs-commits mailing list