ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: ProjectHelper improvements
Date Mon, 26 Oct 2009 20:44:09 GMT

Le 21 oct. 09 à 21:35, Stefan Bodewig a écrit :

> On 2009-10-21, Stefan Bodewig <bodewig@apache.org> wrote:
>
>> On 2009-10-17, Nicolas Lalevée <nicolas.lalevee@hibnet.org> wrote:
>
>>> In Ant 1.8 we introduced the ProjectHelperRepository which is
>>> maintaining the list of available ProjectHelper in the classpath.  
>>> And
>>> we use it to find the project helper that will be able to parse a
>>> specified build file with ProjectHelper#supportsBuildFile(...). I
>>> suggest we should do the same for the antlib with the help of
>>> ProjectHelper#canParseAntlibDescriptor(...) (and then maybe have  
>>> some
>>> method name consistency by renaming supportsBuildFile to
>>> canParseBuildFile).
>
>> +1
>
> And while you are at it, please change the argument from File and  
> URL to
> Resource - this would be a step towards parsing non-File build files  
> in
> import and ant/subant.

done !

Nicolas


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


Mime
View raw message