ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: ProjectHelper improvements
Date Wed, 21 Oct 2009 19:35:18 GMT
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.

Stefan

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


Mime
View raw message