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 39946] - NoClassDefFoundError when timeout set and junit.jar loaded via <classpath>
Date Sun, 02 Jul 2006 20:49:26 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=39946>.
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=39946


jkf@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From jkf@apache.org  2006-07-02 20:49 -------
Have you made sure that junit.jar and the class files for the junit task
(ant-junit.jar) have been made available from the same source?
(from the manual:)

Note: You must have junit.jar and the class files for the <junit> task in the
same classpath. You can do one of:

   1. Put both junit.jar and the optional tasks jar file in ANT_HOME/lib.
   2. Do not put either in ANT_HOME/lib, and instead include their locations in
your CLASSPATH environment variable.
   3. Do neither of the above, and instead, specify their locations using a
<classpath> element in the build file. See the FAQ for details. 

Your build file only specifies the junit.jar file in the classpath, and your
ANT_HOME/lib probably only has ant-junit.jar. Please make the two jar files
available the same way, and report if it still does not work.

-- 
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