When you invode <valueobject> in your build.xml, you can do this:
 
<valueobject pattern="{0}VO">
   <packageSubstitution packages="ejb" substituteWith="model"/>
</valueobject>
 
This will generate for an EJB class named: com.foo.bar.ejb.NameBean
a value object named: com.foo.bar.valueobject.NameVO
This method apply a package substitution and naming convention to ALL value object.
 
You can checkout examples at: http://xpetstore.sourceforge.net

[Herve Tchepannou]  -----Original Message-----
From: Craig Dickson [mailto:[EMAIL PROTECTED]]
Sent: 12 December 2002 12:33
To: '[EMAIL PROTECTED]'
Subject: [Xdoclet-user] How to specify package and class name of VO

I have just started using the valueobject task and tags for the first time. I cannot seem to find documentation on how to specify the exact package and class name to be generated. At the moment I can only get it to generate the VO in the same package as the entity bean and it always appends "Value" to the end of any class name I specify. Can someone point me to the right docs?
 
Thanks,
Craig

Reply via email to