Description of problem: Hi all, I'm currently developping a J2EE web application on a JBOSS Server on Linux Fedora 10. Since I'm beginning to learn this technology, I'm using a book ("JBOSS at Work") which provides somes examples and codes to learn. Those examples are using XDOCLET 1.2.3 and ANT. You can download the sources here : http://www.jbossatwork.com/downloads.html I'm getting into trouble the 1st time XDOCLET is used : in the example chp03/ 3c The ant-built is failing and the output error is : jbossatwork-1.0.2/ch03/03c-webdoclet/webapp/build.xml:111: taskdef class xdoclet.modules.web.WebDocletTask cannot be found I haven't modified anything in the source codes of the book that's why I beleive that something hasn't been properly installed. Do you know where could this come from ? I've been trying to fix this for a couple of days. Thanks for your help. Version-Release number of selected component (if applicable): xdoclet-javadoc-1.2.3-9.4.fc10.i386 ant-1.7.1-7.2.fc10.i386 How reproducible: Read above Steps to Reproduce: Read above Actual results: Buildfile: build.xml clean: compile: [echo] ##### Building common ##### clean: [delete] Deleting directory /home/jboss/ch03/03c-webdoclet/common/build compile: [mkdir] Created dir: /home/jboss/ch03/03c-webdoclet/common/build [mkdir] Created dir: /home/jboss/ch03/03c-webdoclet/common/build/classes [javac] Compiling 2 source files to /home/jboss/ch03/03c-webdoclet/common/build/classes [javac] Note: /home/jboss/ch03/03c-webdoclet/common/src/com/jbossatwork/dao/CarDAO.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. jar: [mkdir] Created dir: /home/jboss/ch03/03c-webdoclet/common/build/distribution [jar] Building jar: /home/jboss/ch03/03c-webdoclet/common/build/distribution/common.jar all: [echo] ##### Building webapp ##### clean: generate-web: BUILD FAILED /home/jboss/ch03/03c-webdoclet/build.xml:62: The following error occurred while executing this line: /home/jboss/ch03/03c-webdoclet/webapp/build.xml:111: taskdef A class needed by class xdoclet.modules.web.WebDocletTask cannot be found: xjavadoc/ant/XJavadocTask Total time: 1 second Expected results: N/A Additional info: export XDOCLET_HOME=/usr/share/java/xdoclet/
Forgotten detail. Well I only change the following variable in build.xml : from <property name="xdoclet.lib.dir" value="${env.XDOCLET_HOME}/lib"/> to <property name="xdoclet.lib.dir" value="${env.XDOCLET_HOME}"/> Thanks in advance
Hi, Well, sorry for have disturbed you but that was related to a bug. I resolved my problem by changing the XDOCLET_HOME environment varaiable from XDOCLET_HOME=/usr/share/java/xdoclet to XDOCLET_HOME=/usr/share/java/ Sorry again. BR Frederic