ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Allers" <...@advancedreality.com>
Subject RE: Junit.jar in project
Date Fri, 07 Mar 2003 22:25:42 GMT
The junit.jar can be in *both*, but it needs to be in your
<ANT_HOME>/lib directory for the reason Steve said earlier. If it is in
your classpath for the junit task, the one in ANT_HOME/lib will be used
instead of the one in your project.

-----Original Message-----
From: Chris Reeves [mailto:CReeves@medfusion.net] 
Sent: Friday, March 07, 2003 3:18 PM
To: user@ant.apache.org
Subject: Junit.jar in project


I would like to place the junit.jar into my project, rather than in the
<ANT_HOME>/lib directory.

Of course, I've read what Erik and Steve wrote about it in JDWA (4.3.6)
- it's a classloader issue which prevents me from doing this, and simply
referencing junit.jar in a classpath in my ant build file.

Can someone provide a brief explanation of why, in 50 words or less?

Thanks,

Chris

----------------------------------------
Chris Reeves
Senior Software Developer
Medfusion, Inc.
creeves@medfusion.net
----------------------------------------

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


Mime
View raw message