On 2009-10-21, Stefan Bodewig <bode...@apache.org> wrote:

> On 2009-10-17, Nicolas Lalevée <nicolas.lale...@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-unsubscr...@ant.apache.org
For additional commands, e-mail: dev-h...@ant.apache.org

Reply via email to