ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefano Mancarella" <>
Subject Re: JUnit problems
Date Wed, 21 Nov 2001 16:52:55 GMT
----- Original Message ----- 
From: "Stefan Bodewig" <>
Subject: Re: JUnit problems

> > If it's useful I can set up a small test case for the problem...
> yes, please.

I'll attach it to the bug report I'm going to file on bugzilla.

> > Thread.currentThread().getContextClassLoader().getResourceAsStream()
> > but, as I said, this only works with fork=true (which leads to
> > slower testing and output re-appearing).
> I thought, AntClassLoader would set the context classloader properly,
> hmm.  Can your testcase classes be loaded via the system classloader
> as well?

I tried with:


and got the same behavior: works only with fork="true".
I also tried prepending a "/" to the resource name, but without success.

> > P.S.: One of them is the war/ear update patch I sent some time ago
> > and you sayd should go in 1.5 - even if I haven't seen it applied to
> > CVS yet.. ;)
> The don't require a webinf file if you are updating the archive?


> Somewhere down on my TODO list, sorry.

No problem. ;)

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message