ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: coreLoader
Date Tue, 15 Mar 2005 17:51:30 GMT
--- Peter Reilly <peterreilly@apache.org> wrote:
> I was looking into CoreLoader before.
> According to feedback it was a "failed experiment".
> see:
>
http://marc.theaimsgroup.com/?l=ant-dev&m=107451990930463&w=2
> 

Thanks for the info.  Perhaps the subproject context
is a missing key to the concept?

> I had meant to check this and add appropiate
> deprecated
> markings but did not get around to it.

ComponentHelper appears to set coreLoader (when it is
set and build.sysclasspath != only) as the classloader
on Ant's core tasks and types (hence the coreLoader
name I presume).  Okay, but I just have this feeling
that--whether via coreLoader or otherwise--support for
overridden classpaths in subProjects is something Ant
should provide...

-Matt

> 
> Peter
> 
> Matt Benson wrote:
> 
> >In looking back at old bugreps, I reread:
> >
>
>http://issues.apache.org/bugzilla/show_bug.cgi?id=4066
> >
> >Which asks for a nested classpath on <ant> & co. 
> >Since these create a subproject, it seems it
> wouldn't
> >be difficult to setCoreLoader on the Project
> instance,
> >and all would be well.  To test this, I tried
> ><available resource="" />, which, to my surprise,
> >failed, due to the fact that available doesn't
> consult
> >the coreLoader of its parent Project when checking
> the
> >availability of a class or resource.  Shouldn't
> >available's code defer to something (in
> ClasspathUtils
> >perhaps) to make this uniform?
> >
> >-Matt
> >
> >
> >		
> >__________________________________ 
> >Do you Yahoo!? 
> >Make Yahoo! your home page 
> >http://www.yahoo.com/r/hs
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> >For additional commands, e-mail:
> dev-help@ant.apache.org
> >
> >
> >
> >  
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
> 
> 


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

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


Mime
View raw message