https://bz.apache.org/bugzilla/show_bug.cgi?id=62655

--- Comment #2 from Rohan Padhye <[email protected]> ---
(In reply to Jaikiran Pai from comment #1)
> As per the manual of this task[1] "id" is a mandatory attribute that you
> need to set. The build.xml sample, you posted doesn't have that attribute
> and hence that error.
> 
> [1] https://ant.apache.org/manual/Tasks/augment.html

@Jaikiran Pai: There is a difference between a build error that is reported
with a simple message and an IllegalStateException being thrown by the core.

Specifically, the core method org.apache.tools.ant.ProjectHelper.parse() should
throw a BuildException when presented with such a build.xml file as referenced
in the manual. However, an unchecked IllegalStateException is thrown instead.
This makes programmatic use of the Ant core API difficult.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to