Hi,

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>

<path id="base.path">
<path refid="xdoclet.path"/>
<pathelement location="${jboss.client}/jboss-j2ee.jar" />
<pathelement location="${jboss.client}/jnp-client.jar" />
<pathelement location="${jboss.client}/jbossmq-client.jar" />
<pathelement location="${jboss.client}/jbosssx-client.jar" />
<pathelement location="${jboss.client}/concurrent.jar" />
<pathelement location="${jboss.client}/jaas.jar" />
<pathelement location="${jboss.lib}/jboss-jmx.jar" />
<pathelement location="${jboss.home}/server/${jboss.configuration}/lib/jbosssx.jar" />
<pathelement location="${jboss.home}/server/${jboss.configuration}/lib/mail.jar" />
<pathelement location="${build.classes.dir}" />
</path>




  <target name="xdoclet-generate" depends="init">
     <taskdef
        name="ejbdoclet"
        classname="xdoclet.modules.ejb.EjbDocletTask"
     >
        <classpath refid="base.path"/>
     </taskdef>


<ejbdoclet destdir="${build.generate.dir}" excludedtags="@version,@author" ejbspec="${ejb.version}" mergedir="${src.resources.dir}/xdoclet" force="${xdoclet.force}" > ... </ejbdoclet> </target>

I found that by adding the xdoclet_home/lib into the system classpath, xdoclet was able to find xdoclet.modules.ejb.EjbDocletTask. The same was true when i added the jars in xdoclet_home/lib to ant/lib. But i was hoping to do it without either of these methods, by using the classpathref attribute in the ejbdoclet taskdef.

Regards,
Sunil.

_________________________________________________________________
Choose now from 4 levels of MSN Hotmail Extra Storage - no more account overload! http://click.atdmt.com/AVE/go/onm00200362ave/direct/01/




-------------------------------------------------------
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_id=1356&alloc_id=3438&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to