2 Replies Latest reply on Dec 11, 2001 12:30 PM by ftg314159

    JBoss-3.0.0 build main error

    ftg314159

      This has got to be something dumb on my part, because I'm running into it right off the bat trying to do a standard build a la QuickStart. I'm getting a Javadoc failure, as if javadoc is being invoked with no targets. This is Linux with the Sun 1.3.1_01 JDK. Ant 1.4.1 is installed on the system and ANT_HOME is set, but I'm assuming that the build.sh is using its own tools. Any guesses ? Here's the build.log snippet:


      configure:

      _buildmagic:init:show-environment:

      init:

      compile-bean-sources:
      [mkdir]Created dir: /home/jboss-build/jboss-all/server/output/ejbadaptor/beans
      [mkdir]Created dir: /home/jboss-build/jboss-all/server/output/ejbadaptor/metadata/META-INF
      [xdoclet]Generating Javadoc
      [xdoclet]Javadoc execution
      [xdoclet]Loading source file /home/jboss-build/jboss-all/server/src/main/org/jboss/jmx/adaptor/ejb/EJBAdaptorBean.java...
      [xdoclet]Constructing Javadoc information...
      [xdoclet]Create Home Interface for: org.jboss.jmx.adaptor.ejb.EJBAdaptorBean
      [xdoclet]Create Remote Interface for: org.jboss.jmx.adaptor.ejb.EJBAdaptorBean
      [xdoclet]Create Session Class for: org.jboss.jmx.adaptor.ejb.EJBAdaptorBean
      [xdoclet]Create ejb-jar.xml
      [xdoclet]Create jboss.xml
      [xdoclet]Create jaws.xml
      [mkdir]Created dir: /home/jboss-build/jboss-all/server/output/mejb/beans
      [mkdir]Created dir: /home/jboss-build/jboss-all/server/output/mejb/metadata/META-INF
      [xdoclet]Generating Javadoc
      [xdoclet]Javadoc execution
      [xdoclet]usage: javadoc [options] [packagenames] [sourcefiles] [classnames] [@files]
      [xdoclet]javadoc: No packages or classes specified.
      [xdoclet]-overview Read overview documentation from HTML file
      [xdoclet]-public Show only public classes and members
      [xdoclet]-protected Show protected/public classes and members (default)
      [xdoclet]-package Show package/protected/public classes and members
      [xdoclet]-private Show all classes and members
      [xdoclet]-help Display command line options
      [xdoclet]-doclet Generate output via alternate doclet
      [xdoclet]-docletpath Specify where to find doclet class files
      [xdoclet]-1.1 Generate output using JDK 1.1 emulating doclet
      [xdoclet]-sourcepath Specify where to find source files
      [xdoclet]-classpath Specify where to find user class files
      [xdoclet]-bootclasspath Override location of class files loaded
      [xdoclet] by the bootstrap class loader
      [xdoclet]-extdirs Override location of installed extensions
      [xdoclet]-verbose Output messages about what Javadoc is doing
      [xdoclet]-locale Locale to be used, e.g. en_US or en_US_WIN
      [xdoclet]-encoding Source file encoding name
      [xdoclet]-J Pass directly to the runtime system
      [xdoclet]
      [xdoclet]1 error

      BUILD FAILED
      /home/jboss-build/jboss-all/server/build.xml:350: Running ejbdoclet failed. An IO error occured while writing context data.
      at xdoclet.ejb.EjbDocletTask.execute(Unknown Source)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:104)
      at org.apache.tools.ant.Task.perform(Task.java:217)
      at org.apache.tools.ant.Target.execute(Target.java:164)
      at org.apache.tools.ant.Target.performTasks(Target.java:182)
      at org.apache.tools.ant.Project.executeTarget(Project.java:601)
      at planet57.tools.buildmagic.task.Ant.execute(Ant.java:261)
      at planet57.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:282)
      at planet57.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:197)
      at org.apache.tools.ant.Task.perform(Task.java:217)
      at org.apache.tools.ant.Target.execute(Target.java:164)
      at org.apache.tools.ant.Target.performTasks(Target.java:182)
      at org.apache.tools.ant.Project.executeTarget(Project.java:601)
      at org.apache.tools.ant.Project.executeTargets(Project.java:560)
      at org.apache.tools.ant.Main.runBuild(Main.java:454)
      at org.apache.tools.ant.Main.start(Main.java:153)
      at org.apache.tools.ant.Main.main(Main.java:176)

        • 1. Re: JBoss-3.0.0 build main error
          ftg314159

          I didn't mention that I was doing this from a different ID than the one used to checkout the CVS tree. I check out jboss-all from "jboss-cvs" into /home/jboss-cvs (and just updated it), and then switch to ID "jboss-build", tar and untar the jboss-all directory to /home/jboss-build, and then do the recommended
          ./build/build.sh
          from /home/jboss-build/jboss-all.

          Just in case there was a dependency on the original download directory or ID, I tried it from the original ID and download directory, and got something slightly different:

          ...
          init:

          compile-bean-sources:
          [mkdir]Created dir: /home/jboss-cvs/jboss-all/server/output/ejbadaptor/beans
          [mkdir]Created dir: /home/jboss-cvs/jboss-all/server/output/ejbadaptor/metadata/META-INF

          BUILD FAILED

          /home/jboss-cvs/jboss-all/server/build.xml:331: Running ejbdoclet failed. An IO error occured while writing context data.
          at xdoclet.ejb.EjbDocletTask.execute(Unknown Source)
          at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:104)
          at org.apache.tools.ant.Task.perform(Task.java:217)
          at org.apache.tools.ant.Target.execute(Target.java:164)
          at org.apache.tools.ant.Target.performTasks(Target.java:182)
          at org.apache.tools.ant.Project.executeTarget(Project.java:601)
          at planet57.tools.buildmagic.task.Ant.execute(Ant.java:261)
          at planet57.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:282)
          at planet57.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:197)
          at org.apache.tools.ant.Task.perform(Task.java:217)
          at org.apache.tools.ant.Target.execute(Target.java:164)
          at org.apache.tools.ant.Target.performTasks(Target.java:182)
          at org.apache.tools.ant.Project.executeTarget(Project.java:601)
          at org.apache.tools.ant.Project.executeTargets(Project.java:560)
          at org.apache.tools.ant.Main.runBuild(Main.java:454)
          at org.apache.tools.ant.Main.start(Main.java:153)
          at org.apache.tools.ant.Main.main(Main.java:176)


          Comparing this to the original, there's no "Generating Javadoc" or errors out of Javadoc, it just aborts with no message.

          • 2. Re: JBoss-3.0.0 build main error
            ftg314159

            Well, I was right - it was something dumb. Apparently my CVS update didn't pull in new directories, so when I updated my 11/19 tree I didn't get the "mejb" directory (and probably others).