Patches item #611452, was opened at 2002-09-18 23:54
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=611452&group_id=22866

Category: JBossServer
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: Kristoff Batizy (kbatizy)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fix for tools.jar warning on OS X

Initial Comment:
Mac OS X comes with a full JDK by default with no
option for a JRE only.

Also, Mac OS X does not have a tools.jar--in favor of
some other scheme, but the required classes are present.

Therefore, the first two lines displayed after running
run.sh are:

run.sh: Missing file: /Library/Java/Home/lib/tools.jar
run.sh: Unexpected results may occur.  Make sure
JAVA_HOME points to a JDK and not a JRE.

I made the following changes to the run.sh file to
remove this annoyance:

--- run.sh      Wed Sep 18 23:30:53 2002
+++ run.1.10    Wed Sep 18 23:28:10 2002
@@ -118,11 +118,8 @@
     JAVAC_JAR="$JAVA_HOME/lib/tools.jar"
 fi
 if [ ! -f "$JAVAC_JAR" ]; then
-    # Mac OS X does not have tools.jar in its JDK so
only warn non-darwin OS
-    if [ "$darwin" != "true" ]; then
-       warn "Missing file: $JAVAC_JAR"
-       warn "Unexpected results may occur.  Make sure
JAVA_HOME points to a JDK and not a JRE."
-    fi
+   warn "Missing file: $JAVAC_JAR"
+   warn "Unexpected results may occur.  Make sure
JAVA_HOME points to a JDK and not a JRE."
 fi
 
 if [ "x$JBOSS_CLASSPATH" = "x" ]; then


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=611452&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to