ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: NPE thrown from ProjectHelper2.parse() when parsing from URL
Date Thu, 29 Sep 2011 15:10:36 GMT
On 2011-09-28, Steele, Richard wrote:

> On Wed, Sep 28, 2011 at 11:48 AM, Stefan Bodewig <> wrote:

>> I'm pretty sure I recall this being discussed on the dev list, so it is
>> something the dev community is aware of.  ProjectHelper2 still mostly
>> deals with files only, URL support is largely there for antlibs and
>> import/include.

> That would explain why ProjectHelper.configureProject() isn't overloaded to
> take a Resource in addition to a File?

I think so, yes.

>> Despite some searching around I couldn't find any documentation of this
>> fact, though, so you may want to raise a bug against the Documentation
>> component.

> Is there a better way I should be parsing a project build file given a
> URLResource?

I had a quick look at how ImportTask does it, but it is pretty specific
to import as it provides a parent project, which you don't have.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message