On Tue, 2003-06-10 at 14:31, Nadjim Chetbani wrote:
> I've just tried to generate my struts-config.xml through xdoclet. I'm
> getting the error message build.xml:183: The <xdoclet> task doesn't support
> the nested "beaninfo" element.

Why are you using the beaninfo subtask if you're trying to generate the
struts-config.xml?  beaninfo is for generating the BeanInfo classes for
javabeans, nothing to do with struts.  For struts-config.xml generation
you want the webdoclet strutsconfigxml subtask.

Having said that, assuming the task class specified in your xdoclet's 
taskdef is xdoclet.DocletTask, the beaninfo task ought to work.  It may
not generate anything without a @javabean.class tag in your javabean
classes, but didn't ought to give that error.

What does the corresponding taskdef look like?


Andrew.



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to