2 Replies Latest reply on Nov 11, 2002 6:24 AM by frannack

    build.xml in the Template

    frannack

      Hello,

      Can someone tell me which jar and where should i put it?
      I've already this jar in the xdoclet.path:
      xjavadoc.jar
      xdoclet-ejb-module.jar
      xdoclet.jar

      file:D:/Project/JBoss/build.xml:145: Can't create a jboss element under ejbdoclet. Make sure the jar
      file containing the corresponding subtask class is on the classpath specified in the that
      defined ejbdoclet.

      many thanks

      Frank

        • 1. Re: build.xml in the Template
          frannack

          Here is my build.xml
          May be it'll be helpfull.

          <?xml version="1.0"?>

          <!-- ======================================================================= -->
          <!-- Template build file -->
          <!-- ======================================================================= -->



          <!--
          Give user a chance to override without editing this file
          (and without typing -D each time they run it)
          -->








          Property "jboss.home" is not set. Please use the file
          ".ant.properties" in this directory ${basedir} to
          set this property. It must point to the directory which
          contains the following directory: "deploy", "conf", "tmp"
          etc.





          Property "jboss.home" is set but it does not seem
          to point to the right directory. The file "run.jar"
          must be available at ${jboss.home}/bin.





          Property "xdoclet.home" is not set. Please use the file
          ".ant.properties" in this directory ${basedir} to
          set this property. It must point to the root directory of
          XDoclet distribution.





          Property "xdoclet.home" is set but it does not seem
          to point to the right directory. The file "xdoclet.jar"
          must be available at ${xdoclet.home}/lib.


























          <!-- Configuration used on JBoss 3 to run your server. There must be
          a directory with the same name under "${jboss.home}/server" -->























          <!-- AS Maybe necessary for Ant 1.5 and XDoclet 1.3

          <pathelement location="${ant.home}/lib/bcel.jar" /-->






















          <!-- =================================================================== -->
          <!-- Generates the necessary EJB classes and deployment descriptors -->
          <!-- =================================================================== -->



















          <!-- AS 4/29/02 Do not validate XML files because JBoss 3.0 message driven will
          report an wrong error because it uses the wrong jboss.dtd -->




          <!-- =================================================================== -->
          <!-- Compiles the source code -->
          <!-- =================================================================== -->











          <!-- =================================================================== -->
          <!-- Creates the jar archives -->
          <!-- =================================================================== -->

















          <!-- =================================================================== -->
          <!-- Compiles the WEB source code -->
          <!-- =================================================================== -->












          <!-- =================================================================== -->
          <!-- Creates the war archives -->
          <!-- =================================================================== -->













          <!-- =================================================================== -->
          <!-- Creates the client binary -->
          <!-- =================================================================== -->








          <!-- =================================================================== -->
          <!-- Creates the client binary -->
          <!-- =================================================================== -->


          <!-- Convert the given paths to Windows -->










          <!-- Convert the given paths to Unix -->




























          <!-- =================================================================== -->
          <!-- Creates the binary structure -->
          <!-- =================================================================== -->




          <!-- =================================================================== -->
          <!-- Cleans up the current build -->
          <!-- =================================================================== -->







          • 2. Re: build.xml in the Template
            frannack

            just add the jar xdoclet-jboss-module.jar in the definition of xdoclet.path