Bugs item #514972, was opened at 2002-02-08 12:10
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=514972&group_id=22866

Category: JBossServer
Group: v3.0 Rabbit Hole
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Jeff Tulley (jtulley)
Assigned to: Jason Dillon (user57)
Summary: run.bat missing a label; doesn't work

Initial Comment:
The latest change to run.bat includes a 
statement "goto javaHomeOk"   There is no such label 
in the file, causing the batch file to not run.

Here is what I suggest the batch file be changed to, 
both to get it working, and for clarity:

diff -u -r1.30 run.bat
--- run.bat     7 Feb 2002 00:46:07 -0000       1.30
+++ run.bat     8 Feb 2002 20:08:08 -0000
@@ -15,15 +15,15 @@
 if not "%JAVA_HOME%" == "" goto ADD_TOOLS
 echo JAVA_HOME is not set.  Unexpected results may 
occur.
 echo Set JAVA_HOME to the directory of your local JDK 
to avoid this message.
-goto SKIP_TOOLS
+goto SKIP_TOOLSMSG
 
 :ADD_TOOLS
 
-if exist "%JAVA_HOME%\lib\tools.jar" goto javaHomeOk
+if exist "%JAVA_HOME%\lib\tools.jar" goto 
SKIP_TOOLSMSG
 echo Could not locate %JAVA_HOME%\lib\tools.jar. 
Unexpected results may occur.
 echo Make sure that JAVA_HOME points to a JDK and not 
a JRE.
 
-:SKIP_TOOLS
+:SKIP_TOOLSMSG
 
 @if not "%ECHO%" == ""  echo %ECHO%
 @if "%OS%" == "Windows_NT"  setlocal





(end diff)
That, or the batch file could be given even more 
smarts to not even try to put tools.jar on the 
classpath in the case where it is not found off of %
JAVA_HOME%\lib



----------------------------------------------------------------------

>Comment By: Jason Dillon (user57)
Date: 2002-02-10 23:21

Message:
Logged In: YES 
user_id=15045

Fixed.

----------------------------------------------------------------------

Comment By: Jason Dillon (user57)
Date: 2002-02-08 13:51

Message:
Logged In: YES 
user_id=15045

Will fix shortly, sorry about that.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376685&aid=514972&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to