Sylvain Rey wrote:
> 
> > Oh yeah.  One more thing.  I seem to recall that the junit task won't
> > work if Junit is not on your classpath before you launch ant.  It's been
> > a week since I was dealing with this problem, so I could have it wrong,
> > but that's what it seemed like.
> 
> I had the same problem with JUnit. As I didn't want to have any classpath
> set outside from ant, I had to put junit.jar into ant/lib/ directory. This
> works for me but maybe there is a more smarter, correct way of doing this.
> Anyone ?
> 
> Sylvain

And, I've discovered, when you set the classpath for the junit task, you
have to add both optional.jar and ant.jar to the classpath (at least you
do if you have "fork" set).

Is there anyway to refer to the classpath that ant's VM was invoked
with?
-- 
David Corbin            
Mach Turtle Technologies, Inc.
http://www.machturtle.com
[EMAIL PROTECTED]

Reply via email to