ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34244] - junit.jar required in ANT_HOME\lib directory
Date Thu, 31 Mar 2005 09:38:13 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34244>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34244


stevel@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX




------- Additional Comments From stevel@apache.org  2005-03-31 11:38 -------
I dont want to go near another env variable; they are a lot less reliable than
you think. First there is the inherent brittleness and complexity of testing
changes to all the platform launcher scripts, then the support calls we get when
JAVA_HOME is set to the JRE, not the JDK, etc etc.

However, all is not lost. 

Ant1.6 autoloads every JAR in ${user.home}/lib

so stick any personal JAR files in there and you get them, even when you dont
have access to the main lib dir.

Also, there is a new -lib option, which sets up new lib dirs.

Thus, if if you go 
    ant -lib $JUNIT_HOME 
or, on windows
    ant -lib %JUNIT_HOME% 
you get junit.jar and anything else in the junit home dir included automatically.

PS, I agree, CLASSPATH is the wrong approach. hence the -noclasspath option.



-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message