beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julie Zhuo (JIRA)" <j...@apache.org>
Subject [jira] Closed: (BEEHIVE-1172) Beehive Apt ant task fails with Ant 1.7.x
Date Thu, 21 Jun 2007 19:48:26 GMT

     [ https://issues.apache.org/jira/browse/BEEHIVE-1172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Julie Zhuo closed BEEHIVE-1172.
-------------------------------

    Assignee: Julie Zhuo  (was: Chad Schoettger)

Close. See comments from Russ.

> Beehive Apt ant task fails with Ant 1.7.x
> -----------------------------------------
>
>                 Key: BEEHIVE-1172
>                 URL: https://issues.apache.org/jira/browse/BEEHIVE-1172
>             Project: Beehive
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.0, 1.0.1, 1.0.2
>            Reporter: Chad Schoettger
>            Assignee: Julie Zhuo
>             Fix For: V.Next
>
>
> This issue will cause build failures when building Beehive Controls and Page flows using
Ant 1.7.x.
> This appears to be due to an issue in the Beehive o.a.b.c.r.g.AptTask class which causes
Ant 1.7 to fail when building beehive with a 'circular reference'  error.  See following stack
trace:
> build:
>      [echo] compile module: ejb-control
>      [echo] module classpath: /home/cschoett/beehive/trunk/controls/build/jars/beehive-controls.jar:/home/cschoett/beehive/trunk/system-controls/external/ejb/geronimo-j2ee_1.4_spec-1.0.jar:/home/cschoett/beehive/trunk/external/velocity/velocity-dep-1.4.jar:/home/cschoett/beehive/trunk/external/commons/commons-logging-1.0.4.jar:/usr/local/jdk1.5.0_04/lib/tools.jar
>     [mkdir] Created dir: /home/cschoett/beehive/trunk/system-controls/build/classes/ejb-control
>     [mkdir] Created dir: /home/cschoett/beehive/trunk/system-controls/build/gensrc/ejb-control
> BUILD FAILED
> /home/cschoett/beehive/trunk/system-controls/src/ejb/build.xml:48: The following error
occurred while executing this line:
> /home/cschoett/beehive/trunk/ant/beehive-tools.xml:76: This data type contains a circular
reference.
>         at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:541)
>         at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:357)
>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>         at org.apache.tools.ant.Main.runBuild(Main.java:698)
>         at org.apache.tools.ant.Main.startAnt(Main.java:199)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> Caused by: /home/cschoett/beehive/trunk/ant/beehive-tools.xml:76: This data type contains
a circular reference.
>         at org.apache.tools.ant.types.DataType.circularReference(DataType.java:265)
>         at org.apache.tools.ant.types.Path.add(Path.java:259)
>         at org.apache.tools.ant.types.Path.append(Path.java:305)
>         at org.apache.tools.ant.taskdefs.Javac.setSourcepath(Javac.java:256)
>         at org.apache.beehive.controls.runtime.generator.AptTask.scanDir(AptTask.java:117)
>         at org.apache.beehive.controls.runtime.generator.AptTask.execute(AptTask.java:271)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
>         ... 16 more
> --- Nested Exception ---
> /home/cschoett/beehive/trunk/ant/beehive-tools.xml:76: This data type contains a circular
reference.
>        at org.apache.tools.ant.types.DataType.circularReference(DataType.java:265)
>         at org.apache.tools.ant.types.Path.add(Path.java:259)
>         at org.apache.tools.ant.types.Path.append(Path.java:305)
>         at org.apache.tools.ant.taskdefs.Javac.setSourcepath(Javac.java:256)
>         at org.apache.beehive.controls.runtime.generator.AptTask.scanDir(AptTask.java:117)
>         at org.apache.beehive.controls.runtime.generator.AptTask.execute(AptTask.java:271)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:391)
>         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>         at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
>         at org.apache.tools.ant.Task.perform(Task.java:348)
>         at org.apache.tools.ant.Target.execute(Target.java:357)
>         at org.apache.tools.ant.Target.performTasks(Target.java:385)
>         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
>         at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
>         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>         at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
>         at org.apache.tools.ant.Main.runBuild(Main.java:698)
>         at org.apache.tools.ant.Main.startAnt(Main.java:199)
>         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
>         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> Total time: 0 seconds

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message