Sunny Bro wrote:
> I'm getting the following message when running my build
> taskdef class xdoclet.modules.ejb.EjbDocletTask cannot be found
> 
> I'm using the template build provided with jboss examples having the
> following base.path for the ejbdoclet taskdef
> 
>    <path id="xdoclet.path">
>       <pathelement location="${ant.home}/lib/ant.jar" />
>       <pathelement location="${xdoclet.home}/lib/xdoclet.jar" />
>       <pathelement location="${jboss.client}/log4j.jar" />
>    </path>

You'll need many more JARs than that. I started by including every JAR
in XDoclet's lib directory. Eventually I extracted them one by one until
removing any one left caused it to fail. I am using WebLogic, so if you
want to use the following list you'll need to add the JBoss ones.

    <!-- XDoclet class path to pull in XDoclet for ejbdoclet target -->
    <path id="xdoclet.class.path.id">
        <pathelement
location="${lib.dir}/xdoclet/commons-collections-2.0.jar"/>
        <pathelement location="${lib.dir}/xdoclet/commons-logging.jar"/>
        <pathelement location="${lib.dir}/xdoclet/xdoclet-1.2b2.jar"/>
        <pathelement
location="${lib.dir}/xdoclet/xdoclet-bea-module-1.2b2.jar"/>
        <pathelement
location="${lib.dir}/xdoclet/xdoclet-ejb-module-1.2b2.jar"/>
        <pathelement
location="${lib.dir}/xdoclet/xdoclet-web-module-1.2b2.jar"/>
        <pathelement
location="${lib.dir}/xdoclet/xdoclet-xdoclet-module-1.2b2.jar"/>
        <pathelement
location="${lib.dir}/xdoclet/xdoclet-xjavadoc-uc-1.2b2.jar"/>
        <pathelement location="${lib.dir}/utility/j2ee131min.jar"/>
    </path>

You can use whatever you want for the last one that includes the J2EE
classes and interfaces.

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id56&alloc_id438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to