I just modified the xdoclet plugin in accordance with the docs and I get back to the original problem of:

taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found

any suggestions as to how to fix the problem without the root classloader workaround?

Nathan Coast wrote:

well I fixed (workaround) the problem by using the deprecated

        <properties>
          <classloader>root</classloader>
        </properties>

for the plugin's dependencies .

I checked the FAQ http://maven.apache.org/faq.html#classloader-property as instructed by the deprecation warning. Does this mean the xdoclet team need to update their plugin?

cheers
Nathan

Nathan Coast wrote:

Hi,

I've just started trying to use ejbdoclet task from the xdoclet plugin with maven rc3 and I'm getting the following error:

taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found

If I output the classpath passed to the taskdef command, I get the following:
D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-ejb-module-1.2.jar;D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-jboss-module-1.2.jar;D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-jmx-module-1.2.jar;D:\apache\Maven-1.0-rc3\repository\jboss\jars\jboss-j2ee-3.2.3.jar;D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-1.2.jar;D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-xdoclet-module-1.2.jar;D:\apache\Maven-1.0-rc3\repository\commons-collections\jars\commons-collections-2.1.jar;D:\apache\Maven-1.0-rc3\repository\commons-logging\jars\commons-logging-1.1-dev.jar;D:\apache\Maven-1.0-rc3\repository\log4j\jars\log4j-1.2.6.jar



xdoclet.modules.ejb.EjbDocletTask is within the jar:
D:\apache\Maven-1.0-rc3\repository\xdoclet\jars\xdoclet-ejb-module-1.2.jar



any ideas?

is anyone successfully using the xdoclet plugin with maven rc3?

cheers
Nathan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to