Thanks Guys, 

It was a path problem. There was a old xdoclet.jar in my classpath. Also I 
added: 

<path id="classpath">
   .......
   <fileset dir="${lib.dir}">
             <include name="*.jar"/>
   </fileset>
   .....
</path>

where lib.dir is C:\jakarta.apache.org\xdoclet\lib and added 
classpathref="classpath" to my taskdef, and that did the trick.

Bad idea to use the env.classpath anyway. Properties file or what ever seems 
like a better idea.

Thanks WG


Quoting Andrew Stevens <[EMAIL PROTECTED]>:

> On Sat, 2003-06-28 at 13:27, [EMAIL PROTECTED] wrote:
> > BUILD FAILED
> > file:C:/Titan-JBoss-3.2-12d/workbook/XdocletCineuser/build.xml:70: taskdef
> class
> >  xdoclet.modules.ejb.EjbDocletTask cannot be found
> ...
> >     <taskdef
> >         name="ejbdoclet"
> >         classname="xdoclet.modules.ejb.EjbDocletTask"/>
> ...
> > In C:\jakarta.apache.org\xdoclet\lib I have :
> [all the xdoclet jars]
> > ant -debug  gives this as build.classpath
> > 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to