Leander:

Thank you very much.  That helped solving the problem.

Do you have any idea if MockObjects are only generated from Interfaces
or from abstract classes as well?

I found in the jelly code the following
maven.xdoclet.mockobjectdoclet.mockobjects.${subelement_index}.acceptAbs
tractClasses
But setting that to true has no effect.
maven.xdoclet.mockobjectdoclet.mockobjects.1.acceptAbstractClasses=true

Regards,

Andreas


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
M.-Leander Reimer
Sent: Thursday, August 19, 2004 12:19 AM
To: [EMAIL PROTECTED]
Subject: Re: [Xdoclet-user] maven xdoclet-plugin - MockObject generation
problem - MockObject not generated


Hi Andreas,

I am not sure that your fileset definition for the mockobjectdoclet is 
correct. You might be missing the sourcedir property if the source dir 
is different to the directory defined in your POM, like

maven.xdoclet.mockobjectdoclet.fileset.1.sourcedir=${basedir}/src/java

The other thing that you seem to be missing are the properties for the 
nested mockobjects task itself. You have to do something like

maven.xdoclet.mockobjectdoclet.mockobjects.0=true

to enable the mockobjects subtask.

For the missing library warning you can safely ignore it, the plugin 
will still work. If you want to get rid of it, edit the plugin.yelly 
file of the xdoclet plugin and remove the maven="maven" (or something 
like this, don't remove the wrong one :-)) in the project tag's 
namespace declarations.

Hope that helps.

Leander 
 
--------------------------------------------------------
 
This electronic mail message contains information belonging to PaymentOne, which may 
be confidential and/or legal privileged. The information is intended only for the use 
of the individual or entity named above. If you are not the intended recipient, you 
are hereby notified that any disclosure, printing, copying, distribution, or the 
taking of any action in reliance on the contents of this electronically mailed 
information is strictly prohibited. If you receive this message in error, please 
immediately notify us by electronic mail and delete this message. 
--------------------------------------------------------
 
 
  


-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to