y, July 22, 2012 8:52 AM
Subject: Re: controlling ClassLoader when programmatically invoking Ant
Right, what you describe falls under the #1 option I'd mentioned:
"1. Create a parent ClassLoader just for all the Ant libraries and put
JUnit itself and the entire test classpath in
hen trying to
> access that object from a class that was loaded from another classloader.
>
>
>
> From: Mitch Gitman
> To: Ant Developers List
> Sent: Saturday, July 21, 2012 6:16 PM
> Subject: Re: controlling ClassLoader when programmatically invoking Ant
>
&g
another classloader.
From: Mitch Gitman
To: Ant Developers List
Sent: Saturday, July 21, 2012 6:16 PM
Subject: Re: controlling ClassLoader when programmatically invoking Ant
Quick update for anyone who's curious.
I'd forgotten that I'd asked much the
Quick update for anyone who's curious.
I'd forgotten that I'd asked much the same question on the ant-user list
back on May 31. This was back when the contamination of the child classpath
with the parent classpath was literally causing the tests to fail. And same
as with this thread, Nicolas L. wa
Nicolas, thanks. I was one class off. I was looking at Main and AntMain
when I should have been looking at Launcher. Seeing the type names and the
main method threw me off. And this corroborates my brief follow-up that I
could be doing something with URLClassLoader. Better for me to try to
leverage
Hi Mitch,
Le 21 juil. 2012 à 07:37, Mitch Gitman a écrit :
> Technically, this message is better suited for the ant-user list, but I'm
> thinking I'm more apt to get an answer on this list. (I'm also thinking
> this is the better place for me to cash in some chits for my having
> submitted patche
P.S. I'm going to give URLClassLoader a shot with the JARs in Ant lib:
http://docs.oracle.com/javase/6/docs/api/java/net/URLClassLoader.html
Almost sounds a little too easy...
On Fri, Jul 20, 2012 at 10:37 PM, Mitch Gitman wrote:
> Technically, this message is better suited for the ant-user lis
Technically, this message is better suited for the ant-user list, but I'm
thinking I'm more apt to get an answer on this list. (I'm also thinking
this is the better place for me to cash in some chits for my having
submitted patches for three Ivy issues I mentioned recently on this list.
Subject: "e