Re: Antlib autoloading

2005-09-13 Thread Stefan Bodewig
On Tue, 13 Sep 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: >> xmlns:foo="antlib:http://example.org/2005/yes#I_can_use_a_catalog_resolver"; > > this scaers me, as people will assume that we are doing a > download... Of the descriptor. Why not? OK, they might expect we download the lib itsel

Re: Antlib autoloading

2005-09-13 Thread Stefan Bodewig
On Tue, 13 Sep 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: > I would assume that tools like websphere or the IDE are happily > sticking stuff in on the classpath, and that anything more we can do > for diagnostics helps Sounds good. Stefan ---

Re: Antlib autoloading

2005-09-13 Thread Stefan Bodewig
On Tue, 13 Sep 2005, Matt Benson <[EMAIL PROTECTED]> wrote: > :) Jose Alberto, it seems that you and I have each > contradicted ourselves during this discussion. Me too. > On issue (1) above, regarding collisions, I think Steve's argument about IDEs putting stuff into the CLASSPATH is an import

RE: Antlib autoloading

2005-09-13 Thread Jose Alberto Fernandez
> From: Matt Benson [mailto:[EMAIL PROTECTED] > > --- Jose Alberto Fernandez <[EMAIL PROTECTED]> > wrote: > > > > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > > > > > On Mon, 12 Sep 2005, Jose Alberto Fernandez > > > <[EMAIL PROTECTED]> wrote: > > > > > > > 1) How about collisions? Well, ho

Re: Antlib autoloading

2005-09-13 Thread Steve Loughran
Matt Benson wrote: :) Jose Alberto, it seems that you and I have each contradicted ourselves during this discussion. On issue (1) above, regarding collisions, your approach is to assume the user knows exactly what he/she is doing: e.g. the name of every task provided with every third-party dis

RE: Antlib autoloading

2005-09-13 Thread Matt Benson
--- Jose Alberto Fernandez <[EMAIL PROTECTED]> wrote: > > From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > > > On Mon, 12 Sep 2005, Jose Alberto Fernandez > > <[EMAIL PROTECTED]> wrote: > > > > > 1) How about collisions? Well, how about > collisions between classes > > > in the classpath? > >

Re: Antlib autoloading

2005-09-13 Thread Steve Loughran
Stefan Bodewig wrote: On Mon, 12 Sep 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: I hadnt thought about autoloading; I am happy with explicit loading of stuff into their own namespaces, but want to make it easier for projects to get access to my definitions (or even importable libraries)

RE: Antlib autoloading

2005-09-13 Thread Jose Alberto Fernandez
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED] > > On Mon, 12 Sep 2005, Jose Alberto Fernandez > <[EMAIL PROTECTED]> wrote: > > > 1) How about collisions? Well, how about collisions between classes > > in the classpath? > > Putting antlibs into namespaces was supposed to resolve those > collis

Re: Antlib autoloading

2005-09-12 Thread Stefan Bodewig
On Mon, 12 Sep 2005, Jose Alberto Fernandez <[EMAIL PROTECTED]> wrote: > 1) How about collisions? Well, how about collisions between classes > in the classpath? Putting antlibs into namespaces was supposed to resolve those collisions, just like namesspaces in C++. > How about loading a task that

Re: Antlib autoloading

2005-09-12 Thread Stefan Bodewig
On Mon, 12 Sep 2005, Steve Loughran <[EMAIL PROTECTED]> wrote: > I hadnt thought about autoloading; I am happy with explicit loading > of stuff into their own namespaces, but want to make it easier for > projects to get access to my definitions (or even importable > libraries) How do you like thi

RE: Antlib autoloading (was Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs AntlibTest.java)

2005-09-12 Thread Jose Alberto Fernandez
simple, and all integrated. Comments, Jose Alberto > -Original Message- > From: Dominique Devienne [mailto:[EMAIL PROTECTED] > Sent: 09 September 2005 22:57 > To: Ant Developers List > Subject: Re: Antlib autoloading (was Re: cvs commit: > ant/src/testcases/org/apache/

Re: Antlib autoloading (was Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs AntlibTest.java)

2005-09-12 Thread Steve Loughran
Jeffrey E Care wrote: I don't normally speak up on the developer list, but I thought this discussion could benefit from the experience of a *very large* product that uses Ant to build. We use Ant + our own extensions (Mantis) to build WebSphere Application Server (and a good number of the sta

Re: Antlib autoloading

2005-09-10 Thread Stefan Bodewig
On Fri, 9 Sep 2005, Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 9/9/05, Stefan Bodewig <[EMAIL PROTECTED]> wrote: >> > So, any ideas how this could be acomplished? >> Load all resources from META-INF/antlib.xml at startup and process >> them, I'd say. > > But doesn't that go against Ant's t

Re: Antlib autoloading (was Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs AntlibTest.java)

2005-09-10 Thread Jeffrey E Care
I don't normally speak up on the developer list, but I thought this discussion could benefit from the experience of a *very large* product that uses Ant to build. We use Ant + our own extensions (Mantis) to build WebSphere Application Server (and a good number of the stack products as well). Th

Re: Antlib autoloading (was Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs AntlibTest.java)

2005-09-09 Thread Dominique Devienne
On 9/9/05, Stefan Bodewig <[EMAIL PROTECTED]> wrote: > > So, any ideas how this could be acomplished? > Load all resources from META-INF/antlib.xml at startup and process > them, I'd say. But doesn't that go against Ant's tradition to not have auto-magic things, but instead spell things out explic

Re: Antlib autoloading

2005-09-09 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Fri, 9 Sep 2005, Matt Benson > <[EMAIL PROTECTED]> wrote: > > >> Load all resources from META-INF/antlib.xml at > startup and process > >> them, I'd say. > > > > Sounds cool, but what do you do about e.g. > collisions > > among tasknames from 3r

Re: Antlib autoloading

2005-09-09 Thread Stefan Bodewig
On Fri, 9 Sep 2005, Matt Benson <[EMAIL PROTECTED]> wrote: >> Load all resources from META-INF/antlib.xml at startup and process >> them, I'd say. > > Sounds cool, but what do you do about e.g. collisions > among tasknames from 3rd-party distributions? It was Jose Alberto who wanted them in the

Re: Antlib autoloading (was Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs AntlibTest.java)

2005-09-09 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Fri, 26 Aug 2005, Jose Alberto Fernandez > <[EMAIL PROTECTED]> wrote: > > > Now, for backward compatibility and for > convinience in general, one > > would like to be able to put in the -lib > directories a bunch of > > antlib jars and that all