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 38799] - <junit> task should work so long as junit.jar present in <classpath> even if not among Ant libs
Date Mon, 27 Feb 2006 22:28:58 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=38799>.
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=38799


jglick@netbeans.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED




------- Additional Comments From jglick@netbeans.org  2006-02-27 23:28 -------
revision 381467

Let's see if any regressions are found.

Also tested successfully inside NetBeans IDE 5.0, to make sure the same fix
works even inside a container with its own class loaders etc. Had to install a
module containing a JAR entry

---%<---META-INF/services/org.apache.tools.ant.module.spi.AutomaticExtraClasspathProvider
#-org.netbeans.modules.junit.JUnitClasspathProvider
---%<---

which suppresses the IDE's normal inclusion of junit.jar into the Ant classpath.
Then when running without -J-Xverify:none (which sometimes makes even 1.6.5
work, if it happens not to try to load any junit.** classes), Ant 1.6.5 inside
the IDE fails on a plain Java project with unit tests but patched 1.7 succeeds,
incl. with JUnit 4.

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

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


Mime
View raw message