On 2011-09-28, Steele, Richard wrote:

> On Wed, Sep 28, 2011 at 11:48 AM, Stefan Bodewig <bode...@apache.org> 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.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to