ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: JUnit problems
Date Wed, 21 Nov 2001 16:03:24 GMT
On Mon, 19 Nov 2001, Stefano Mancarella
<mancarella@opoipi.bancaintesa.it> wrote:

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

yes, please.

> Thread.currentThread().getContextClassLoader().getResourceAsStream("resource
> Name")
> 
> 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?

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

Stefan

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


Mime
View raw message