beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chad Schoettger (JIRA)" <j...@apache.org>
Subject [jira] Created: (BEEHIVE-1172) Beehive build fails with Ant 1.7.x
Date Wed, 17 Jan 2007 20:49:30 GMT
Beehive build 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.2
            Reporter: Chad Schoettger
         Assigned To: Chad Schoettger
             Fix For: V.Next


Builds of Beehive samples and the Beehive distribution fail to build when 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.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message