On 2009-10-21, Stefan Bodewig <[email protected]> wrote: > On 2009-10-17, Nicolas Lalevée <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
