Re: having datatypes load classes

2003-04-11 Thread Stefan Bodewig
On Thu, 10 Apr 2003, Marc Portier [EMAIL PROTECTED] wrote: seems to me however the current LoaderUtil more has somewhat of a jdk-version match-up function? It used to be used for that, yes. But this part of its functionality is no longer needed in Ant 1.6 as we've dropped JDK 1.1

Re: having datatypes load classes

2003-04-10 Thread Marc Portier
Message- From: Marc Portier [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2003 1:32 AM To: Ant Developers List Subject: Re: having datatypes load classes Stefan Bodewig wrote: On Tue, 08 Apr 2003, Marc Portier [EMAIL PROTECTED] wrote: but since that pattern is to be seen more around ant

Re: having datatypes load classes

2003-04-10 Thread Marc Portier
We already have LoaderUtil in the util subpackage. Might fit there. I started on PathUtil for the moment, all is static so could be injected easily, seems to me however the current LoaderUtil more has somewhat of a jdk-version match-up function? - public ClassLoader

Re: having datatypes load classes

2003-04-10 Thread Marc Portier
Provided patch under bugzilla 18906 - ended up being ClasspathUtil.java - added the newInstance idea as well I need to get on with the show first now, but like to refactor other parts of ant where similar cut/paste code might be lingering (for sure o.a.t.a.taskdefs.Definer is candidate) Hope to

Re: having datatypes load classes

2003-04-09 Thread Stefan Bodewig
On Tue, 08 Apr 2003, Marc Portier [EMAIL PROTECTED] wrote: but since that pattern is to be seen more around ant iteself, I was hoping for some reuse here One would think so, but the truth is that you'll find copy-paste reuse in this area instead of delegation or something. Patches for a

Re: having datatypes load classes

2003-04-09 Thread Marc Portier
Stefan Bodewig wrote: On Tue, 08 Apr 2003, Marc Portier [EMAIL PROTECTED] wrote: but since that pattern is to be seen more around ant iteself, I was hoping for some reuse here One would think so, but the truth is that you'll find copy-paste reuse in this area instead of delegation or

RE: having datatypes load classes

2003-04-09 Thread Dominique Devienne
:[EMAIL PROTECTED] Sent: Wednesday, April 09, 2003 1:32 AM To: Ant Developers List Subject: Re: having datatypes load classes Stefan Bodewig wrote: On Tue, 08 Apr 2003, Marc Portier [EMAIL PROTECTED] wrote: but since that pattern is to be seen more around ant iteself, I was hoping for some

RE: having datatypes load classes

2003-04-08 Thread Dominique Devienne
See http://marc.theaimsgroup.com/?l=ant-devm=104870800508326w=2 And http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17199 I prefer the first link, since I'm the author of it, but the second link addresses the same issue. If your xmlfilter elements do not need any configurations though, it may