RE: antlib and classloaders

2004-04-08 Thread Jose Alberto Fernandez
> From: Peter Reilly [mailto:[EMAIL PROTECTED] > > Jose Alberto Fernandez wrote: > > > > >As the URI protocol "antlib:" provides a shortcut for the > >above, I am just thinking on providing something similar for the > >classpath declaration when needed. > > > >. > > > > > > > I have bee

Re: antlib and classloaders

2004-04-08 Thread Peter Reilly
Jose Alberto Fernandez wrote: As the URI protocol "antlib:" provides a shortcut for the above, I am just thinking on providing something similar for the classpath declaration when needed. . I have been doing a little thinking about this. What about a task to specify the classpath to use if

RE: antlib and classloaders

2004-04-03 Thread Jose Alberto Fernandez
its own set of third party libraries. Jose Alberto > -Original Message- > From: didge [mailto:[EMAIL PROTECTED] > Sent: 03 April 2004 00:02 > To: Ant Developers List > Subject: RE: antlib and classloaders > > > So what's to say that we can't build up an

RE: antlib and classloaders

2004-04-02 Thread didge
script. > But then you may have to maintain that script too during the life of the > project. > > My aim is to try to provide an in-buildfile alternative. > > Jose Alberto > > > -Original Message- > > From: didge [mailto:[EMAIL PROTECTED] > > Sent: 02 A

Re: antlib and classloaders

2004-04-02 Thread Matt Benson
--- Mariano Benitez <[EMAIL PROTECTED]> wrote: > The context in which I say this is: I have a big > application > (www.fuego.com) that provides ant tasks to perform > most of its admin > operation, > it is a requirement to have the application > installed and then define a > property "fuego.base

Re: antlib and classloaders

2004-04-02 Thread Peter Reilly
Jose Alberto Fernandez wrote: From: Mariano Benitez [mailto:[EMAIL PROTECTED] The context in which I say this is: I have a big application (www.fuego.com) that provides ant tasks to perform most of its admin operation, it is a requirement to have the application installed and then define

RE: antlib and classloaders

2004-04-02 Thread Jose Alberto Fernandez
> From: Mariano Benitez [mailto:[EMAIL PROTECTED] > > > The context in which I say this is: I have a big application > (www.fuego.com) that provides ant tasks to perform most of its admin > operation, > it is a requirement to have the application installed and > then define a > property

Re: antlib and classloaders

2004-04-02 Thread Mariano Benitez
The only problem with this is that the user build script needs to set the correct property before the antlib is activated. Which I think it is not much to ask. I have a conceptual problem of usability on an antlib written like this, remember, in the broader sense, the antlib is written by a

RE: antlib and classloaders

2004-04-02 Thread Jose Alberto Fernandez
> From: Peter Reilly [mailto:[EMAIL PROTECTED] > > > Hi, > This sounds nice but does it save that much on > > > > > . > > > > > > Well I could ask the same question about antlib's namespace. Why having some magic URI when users could just write: and make the loading

RE: antlib and classloaders

2004-04-02 Thread Jose Alberto Fernandez
> From: Peter Reilly [mailto:[EMAIL PROTECTED] > > Mariano's original question was why > was classpath ignored in an antlib definition. > > > loaderref="mytasks.ref"> > > > > loaderref="mytasks.ref"/> > > > This could be supported easily in the current code b

Re: antlib and classloaders

2004-04-02 Thread Peter Reilly
Hi, This sounds nice but does it save that much on . Peter Jose Alberto Fernandez wrote: Hi, I have been giving some thought on ways to solve this nagging issue of needing to put antlib jars on the lib directory. We hear over and over people wanting to keep their third party librar

Re: antlib and classloaders

2004-04-02 Thread Peter Reilly
Mariano's original question was why was classpath ignored in an antlib definition. This could be supported easily in the current code base. -i.e. if an typedef/taskdef in an antlib sets the classpath, this classpath will be used instead of the antlibdefinition classp

RE: antlib and classloaders

2004-04-02 Thread Jose Alberto Fernandez
to provide an in-buildfile alternative. Jose Alberto > -Original Message- > From: didge [mailto:[EMAIL PROTECTED] > Sent: 02 April 2004 01:16 > To: Ant Developers List > Subject: RE: antlib and classloaders > > > How about just supporting an equivalent of a

RE: antlib and classloaders

2004-04-02 Thread didge
How about just supporting an equivalent of an LD_LIBRARY_PATH for antlibs, called ANTLIB_PATH or some such? didge > -Original Message- > From: Matt Benson [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 01, 2004 1:58 PM > To: Ant Developers List > Subject: Re: antlib a

Re: antlib and classloaders

2004-04-01 Thread Matt Benson
I'm not sure I followed your suggestion. As far as allowing a way to automagically include stuff without adding it to the base installation, Antoine added the -lib option and Conor extended it to pull all jars from directories on (looks like) a path-style argument specified with that option (as we

Re: antlib and classloaders

2004-04-01 Thread Mariano Benitez
I have this issue in mind: Since I need to provide antlibs to my customers, I would like them to have to manually configure as less as possible, that means that the previous way of saying -b /antlib was quite cool. The problem is that I do need to control the classloader where the tasks are loa