1 Reply Latest reply on May 4, 2004 1:56 PM by Rich Bolen

    xdoclet errors trying to build nightly snapshot from May 2 2

    Rich Bolen Newbie

      I downloaded the nightly snapshot from May 2, 2004 and I'm trying to build it on Windows XP. I run build.bat from the [snapshot]\build directory and I get the following exception (cut and pasted from the build.log file):

      _default:compile-mbean-sources:
      [execmodules] java.lang.NoSuchMethodError: xdoclet.DocletTask.getXJavaDoc()Lxjavadoc/XJavaDoc;
      [execmodules] at xdoclet.DocletTask.start(DocletTask.java:464)
      [execmodules] at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92)
      [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      [execmodules] at org.apache.tools.ant.Task.perform(Task.java:364)
      [execmodules] at org.apache.tools.ant.Target.execute(Target.java:301)
      [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:328)
      [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      [execmodules] at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141)
      [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      [execmodules] at org.apache.tools.ant.Task.perform(Task.java:364)
      [execmodules] at org.apache.tools.ant.Target.execute(Target.java:301)
      [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:328)
      [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      [execmodules] at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
      [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361)
      [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376)
      [execmodules] at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241)
      [execmodules] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      [execmodules] at org.apache.tools.ant.Task.perform(Task.java:364)
      [execmodules] at org.apache.tools.ant.Target.execute(Target.java:301)
      [execmodules] at org.apache.tools.ant.Target.performTasks(Target.java:328)
      [execmodules] at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      [execmodules] at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
      [execmodules] at org.apache.tools.ant.Main.runBuild(Main.java:632)
      [execmodules] at org.apache.tools.ant.Main.startAnt(Main.java:183)
      [execmodules] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
      [execmodules] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)

      BUILD FAILED

      C:\java\jboss-3.2-snapshot\tools\etc\buildmagic\buildmagic.ent:436: Unexpected error
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:105)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:301)
      at org.apache.tools.ant.Target.performTasks(Target.java:328)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:301)
      at org.apache.tools.ant.Target.performTasks(Target.java:328)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:301)
      at org.apache.tools.ant.Target.performTasks(Target.java:328)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
      at org.apache.tools.ant.Main.runBuild(Main.java:632)
      at org.apache.tools.ant.Main.startAnt(Main.java:183)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)
      Caused by: java.lang.NoSuchMethodError: xdoclet.DocletTask.getXJavaDoc()Lxjavadoc/XJavaDoc;
      at xdoclet.DocletTask.start(DocletTask.java:464)
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92)
      ... 25 more
      --- Nested Exception ---
      java.lang.NoSuchMethodError: xdoclet.DocletTask.getXJavaDoc()Lxjavadoc/XJavaDoc;
      at xdoclet.DocletTask.start(DocletTask.java:464)
      at xjavadoc.ant.XJavadocTask.execute(XJavadocTask.java:92)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:301)
      at org.apache.tools.ant.Target.performTasks(Target.java:328)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      at org.jboss.tools.buildmagic.task.CallTarget.execute(CallTarget.java:141)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:301)
      at org.apache.tools.ant.Target.performTasks(Target.java:328)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:361)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:376)
      at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:241)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:269)
      at org.apache.tools.ant.Task.perform(Task.java:364)
      at org.apache.tools.ant.Target.execute(Target.java:301)
      at org.apache.tools.ant.Target.performTasks(Target.java:328)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1215)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1063)
      at org.apache.tools.ant.Main.runBuild(Main.java:632)
      at org.apache.tools.ant.Main.startAnt(Main.java:183)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:197)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:56)


      Do I have something configured incorrectly? It looks like it's picking up the wrong version of an xdoclet jar.

      I'm trying to build in order to pick up a bug fix.

      Thanks,
      Rich

        • 1. I figured it out!
          Rich Bolen Newbie

          For the 2 people who viewed this post - I figured out the problem.

          I unzipped the snapshot over the top of an older snapshot. This caused the xdoclet and ant jars to be incompatible. I deleted the snapshot dir and unzipped again and it is building properly as I type this message.

          Thanks -