Hi Leander:

that sounds like an interesting alternative.

would you mind sharing with us the jelly code you wrote about using MockCreator within Maven?

Andreas

M.-Leander Reimer wrote:

Hey Andreas,

nope, never used the XDoclet mock object task myself, just using the webdoclet and ejbdoclet stuff. My XDoclet book just has an example of tagging interfaces not classes.

We are using the MockCreator (http://mockcreator.sourceforge.net/) instead, which can generated mocks from classes and interfaces, so I wrote some Jelly code to use that tool from Maven instead and it works nicely.

Leander


Andreas Guther schrieb:

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





------------------------------------------------------- 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