3 Replies Latest reply on Apr 28, 2003 2:33 AM by Vishal Sharma

    JBoss.3.0TemplateAndExamples: BUILD FAILED

    jameswang Newbie

      hi,

      i'm test the example in the JBoss.3.0TemplateAndExamples, the build.xml keep unchanged, and .ant.properties is as the following: =========================================================
      jboss.home=/home/james/j2ee/jboss-3.2.0
      jboss.configuration=default xdoclet.home=/home/james/j2ee/xdoclet
      xdoclet.force=false
      ejb.version=2.0
      jboss.version=3.0
      type.mapping=Hypersonic SQL
      datasource.name=java:/DefaultDS servlet-lib.path=/home/james/j2ee/jboss-3.2.0/server/all/lib/javax.servlet.jar
      =========================================================
      the ant result as the following:
      $ ant
      Buildfile: build.xml
      check-environment:
      check-jboss:
      wrong-jboss:
      check-xdoclet:
      wrong-xdoclet:
      init:
      [echo] build.compiler = ${build.compiler}
      [echo] user.home = /home/james
      [echo] java.home = /usr/local/java/sun/j2sdk1.4.1_01/jre
      [echo] ant.home = /usr/local/java/ant
      [echo] jboss.home = /home/james/j2ee/jboss-3.2.0
      [echo] xdoclet.home = /home/james/j2ee/xdoclet
      [echo] java.class.path = /usr/local/java/ant/lib/xml-apis.jar:/usr/local/java/ant/lib/xercesImpl.jar:/usr/local/java/ant/lib/optional.jar:/usr/local/java/ant/lib/ant.jar:/home/james/j2ee/xdoclet/lib:/home/james/j2ee/jboss-3.2.0/server/all/lib::/usr/local/java/sun/j2sdk1.4.1_01/lib/tools.jar

      xdoclet-generate:
      BUILD FAILED
      file:/home/james/j2ee/JBoss/arch/TemplateAndExamples/template/build.xml:135: taskdef class xdoclet.ejb.EjbDocletTask cannot be found

      Total time: 2 seconds

      Can anyone help me??

      Best Regards
      James

        • 1. Re: JBoss.3.0TemplateAndExamples: BUILD FAILED
          cleptor Newbie

          I've seen it.
          I think you use beta version of xdoclet 1.2

          replace it to xdoclet 1.1.2 and this step will be done

          • 2. Re: JBoss.3.0TemplateAndExamples: BUILD FAILED
            jackyhuang Newbie

            I alse get a failure information under ant 1.5,xdoclet 1.2.

            Who can help me to update build.xml? Thanks!

            • 3. Re: JBoss.3.0TemplateAndExamples: BUILD FAILED
              Vishal Sharma Expert

              I am getting the same error, Can anyone help me please.

              I am using
              apache-ant-1.5.3-1
              xdoclet-bin-1.2b2.tgz
              Redhat8.0


              Help on this is not helpful.


              /etc/ant
              Buildfile: build.xml

              check-environment:

              check-jboss:

              wrong-jboss:

              check-xdoclet:

              wrong-xdoclet:

              init:
              [echo] build.compiler = ${build.compiler}
              [echo] user.home = /home/vishal
              [echo] java.home = /usr/java/j2sdk1.4.1_02/jre
              [echo] ant.home = /opt/ant/apache-ant-1.5.3-1
              [echo] jboss.home = /home/vishal/jboss/jboss-3.0.3_tomcat-4.1.12
              [echo] xdoclet.home = /opt/xdoclet
              [echo] java.class.path = /opt/ant/apache-ant-1.5.3-1/lib/xml-apis.jar:/opt/ant/apache-ant-1.5.3-1/lib/xercesImpl.jar:/opt/ant/apache-ant-1.5.3-1/lib/optional.jar:/opt/ant/apache-ant-1.5.3-1/lib/ant.jar:/usr/java/j2sdk1.4.1_02/lib:/home/vishal/development/soap/xerces-1_4_4/xerces.jar:/home/vishal/development/soap/spheon-jsoap/lib/spheon-jsoap.jar:/home/vishal/development/rmi:/usr/java/j2sdk1.4.1_02/lib/dt.jar:/usr/java/j2sdk1.4.1_02/lib/tools.jar:/usr/java/j2sdkee1.3.1/lib/j2ee.jar:/usr/java/j2sdk1.4.1_02/lib/jndi.jar:.:/usr/java/j2sdk1.4.1_02/lib/tools.jar


              xdoclet-generate:

              BUILD FAILED
              file:/home/vishal/downloads/jboss/template/build.xml:135: taskdef class xdoclet.ejb.EjbDocletTask cannot be found

              Total time: 2 seconds