ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maarten Coene <maarten_co...@yahoo.com>
Subject Re: IvyClassLoader
Date Wed, 28 Mar 2007 19:57:42 GMT
Interesting...
it won't be difficult to create such an IvyClassLoader now :-)

thanks!
Maarten

----- Original Message ----
From: Xavier Hanin <xavier.hanin@gmail.com>
To: ivy-user@incubator.apache.org
Sent: Wednesday, March 28, 2007 5:37:02 PM
Subject: Re: IvyClassLoader

On 3/28/07, Maarten Coene <maarten_coene@yahoo.com> wrote:
>
> Hi,
>
> I need a ClassLoader implementation which can construct it's classpath
> from an Ivy file.
>
> For instance:
>
> // create a classloader with a classpath specified by the "default"
> configuration.
> ClassLoader loader = new IvyClassLoader(new File("ivy.xml"),
> Ivy.getInstance(), "default");
>
>
> Has anyone already implemented such a thing and do you want it to share
> with us?


Has a look at the Main#invoke method in Ivy, I think it's pretty similar to
what you need.

- Xavier

regards,
> Maarten
>
>
>
>
>
>
> ____________________________________________________________________________________
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
> http://games.yahoo.com/games/front
>






 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

Mime
View raw message