DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6608>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6608 JAVA_HOME setting and location of tools.jar Summary: JAVA_HOME setting and location of tools.jar Product: Ant Version: 1.4.1 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Enhancement Priority: Other Component: Wrapper scripts AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Since several (most?) other applications requires the JAVA_HOME variable to point to the JRE installation I'd suggest the following change to ant.bat: Before: if exist "%JAVA_HOME%\lib\tools.jar" call "%ANT_HOME%\bin\lcp.bat" %JAVA_HOME% \lib\tools.jar After: if exist "%JAVA_HOME%\lib\tools.jar" ( call "%ANT_HOME%\bin\lcp.bat" %JAVA_HOME%\lib\tools.jar ) else ( if exist "%JAVA_HOME%\..\lib\tools.jar" call "%ANT_HOME%\bin\lcp.bat" % JAVA_HOME%\..\lib\tools.jar ) This allows ant to work correctly if you have JAVA_HOME pointed to JAVA_SDK_HOME\jre instead of JAVA_SDK_HOME. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
