https://bz.apache.org/bugzilla/show_bug.cgi?id=62655
Bug ID: 62655
Summary: Augment task: IllegalStateException when "id"
attribute is missing
Product: Ant
Version: 1.10.1
Hardware: PC
OS: Mac OS X 10.1
Status: NEW
Severity: minor
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Minimum working repro for 'build.xml':
```
<project><augment></augment><target name="init"></target></project>
```
$ ant
Buildfile: /path/to/build.xml
BUILD FAILED
/path/to/build.xml:1: java.lang.IllegalStateException: augment attribute 'id'
unset
at
org.apache.tools.ant.taskdefs.AugmentReference.hijackId(AugmentReference.java:66)
at
org.apache.tools.ant.taskdefs.AugmentReference.getProxy(AugmentReference.java:45)
at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:494)
at
org.apache.tools.ant.RuntimeConfigurable.maybeConfigure(RuntimeConfigurable.java:464)
at org.apache.tools.ant.Task.maybeConfigure(Task.java:202)
at
org.apache.tools.ant.UnknownElement.configure(UnknownElement.java:200)
at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:164)
at org.apache.tools.ant.Task.perform(Task.java:347)
at org.apache.tools.ant.Target.execute(Target.java:435)
at
org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:180)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:93)
at org.apache.tools.ant.Main.runBuild(Main.java:832)
at org.apache.tools.ant.Main.startAnt(Main.java:236)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:287)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:113)
--
You are receiving this mail because:
You are the assignee for the bug.