ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <j_a_fernan...@yahoo.com>
Subject Re: [PROPOSAL] No need for CLASSPATH in ANT1
Date Fri, 09 Nov 2001 02:02:54 GMT
From: "Steve Loughran" <steve_l@iseran.com>

> 
> ----- Original Message -----
> From: "Jose Alberto Fernandez" <j_a_fernandez@yahoo.com>
> To: "Ant Developers List" <ant-dev@jakarta.apache.org>
> Sent: Wednesday, November 07, 2001 07:13
> Subject: Re: [PROPOSAL] No need for CLASSPATH in ANT1
> 
> >correctly written tasks should be using at least something like:
> >
> >    URLClassLoader classLoader = new URLClassLoader( myURLs,
> >              this.getProject().getCoreLoader() );
> >
> >this is why I considered that such tasks were broken as oppose of we
> changing things.
> 
> I am going to add this to the task guidelines, and link to the network copy
> of the doco from the developing with ant page.
> 
> I notice that Project doesnt actually set its coreloader -something else
> does that in the ant specific coreloader situation, right?
> 

We definetly need to add something to the guideline. And we need to fix
the bug in Main.main() which is not passing the correct value in the call
to Main.start(). It should pass "Main.class.getClassLoader()" as the value
for the coreLoader variable.

Jose Alberto



--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message