Hi *,

just found out what I did wrong. Writing an email about your problem
sometimes help.

Using the correct classname xdoclet.web.WebDocletTask instead of the
copy-and-pasted xdoclet.ejb.EjbDocletTask helped quite a lot...

Yours,
   Andreas



> Hi *,
> 
> I've just tried to generate my struts-config.xml through xdoclet. I'm
> getting the error message build.xml:183: The <webdoclet> task doesn't
> support the
> nested "strutsconfigxml" element.
> 
> I've searched the mailing list and the documentation for hints, but didn't
> find any.
> The target is defined as follows:
> 
>     <target name="webdoclet">
>         <taskdef name="webdoclet" classname="xdoclet.ejb.EjbDocletTask"
>             classpathref="base.path"/>
>         <webdoclet sourcepath="${dir.src.web}"
> destdir="${dir.build.generate}"
>             classpathref="base.path" excludedtags="@version,@author"
>             packagenames="action">
>             <strutsconfigxml/>
>         </webdoclet>
>     </target>
> 
> The base.path contains (among others) the struts.jar, ant.jar, xdoclet.jar
> and the log4j.jar. I'm using Ant 1.5.1 on JDK 1.4 on Win2000.
> 
> I'm quite sure that I'm overlooking something stupid, so I'd be grateful
> if
> you could point me into the right direction.
> 
> Thanks,
>   Andreas
> 
> -- 
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!
> 
> 

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte l�cheln! Fotogalerie online mit GMX ohne eigene Homepage!



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to