Hi,

I need tow kinds of value objects for my entity beans.

valueobject1 generated by the xdoclet's valueobject.xdt template.
valueobject2 generated by my own valueobject.xdt template.

I'm using maven and I tried this:
maven.xdoclet.ejbdoclet.valueobject.0=true

maven.xdoclet.ejbdoclet.valueobject.1=true
maven.xdoclet.ejbdoclet.valueobject.1.pattern={0}VB
maven.xdoclet.ejbdoclet.valueobject.1.templateFile=merge/xdoclet/modules/ejb/entity/resources/myvo.xdt


During a clean run (maven clean java:compile) only the second (valueobject.1) 
is generated.

If I disable valueobject.1
maven.xdoclet.ejbdoclet.valueobject.1=false
start maven clean java:compile the default valueobject is created.

If I enable valueobject.1 again an start a none clean run (maven java:compile) 
the second Valueobject is created and first valueobject is still there. fine. 
But why do I need two steps?


Why is it not working in one step?


Im glad about any advice.
How do the friends of ant build scripts solve this kind of problem?


regards,
Joachim


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
xdoclet-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to