1 Reply Latest reply on Jun 27, 2002 3:04 PM by crozierm

    XDoclet problems

    jdavies

      Has anyone else had a problem compiling XDoclet? I'm trying to use it to compile the default project template for JBOSS but I cant get it to work. I posted the problem on the XDoclet forum on sourceforge, but no answer is forthcoming.

      I'm using JDK 1.4 with Ant 1.5b2 on a Win 2K machine. Using the XDoclet 1.1.2 file downloaded from sourceforge was not working, so I decided to just get the latest from CVS and compile it. I rarely have trouble compiling anything that uses Ant, so I was very suprised when the compile failed. Here is the error message:

      ===============================

      compile:
      [javac] Compiling 9 source files to C:\projects\xdoclet\modules\build\xdoclet\classes

      xdoclet-xml:
      [mkdir] Created dir: C:\projects\xdoclet\modules\build\xdoclet\classes\META-INF
      [xdoclet] ASLAK.templateFile:C:\projects\xdoclet\modules\xdoclet-xml.xdt

      BUILD FAILED
      C:\projects\xdoclet\modules\xdoclet\build.xml:116: sourcePath attribute must be present.

      ====================================

      The LAST thing I want to do is hand craft the EJB XML file, so I'm eager to get XDoclet working. I hope that someone here recognizes this error and can point me in the right direction. By the way, the XDoclet companion project XJavaDoc (alsot downloaded from CVS) does compile just fine on my machine.

      Any help would be greatly appreciated! Thanks in advance :)

      - Jeff