Try with the "useFirst" option as true. Ex: <valueobject> <packageSubstitution packages="ejb" substituteWith="data" useFirst="true"/> </valueobject>
Hope this helps, Vrinda -----Original Message----- From: Giulio Ferro [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 29, 2004 1:14 PM To: xdoclet-user@lists.sourceforge.net Subject: [Xdoclet-user] xdoclet - valueobject - packageSubstitution I believe there is some problem with the packageSubstitution element in xdoclet (1.2.2) I want to create the value objects from my entity beans. I write in my build.xml: ... <valueobject> <packageSubstitution packages="ejb" substituteWith="data" /> </valueobject> ... But when I run xdoclet the value objects are created with the package of the original Bean file (x.y.ejb.z.w) and not with the package and in the directory I want (x.y.data.z.w). Is it me who did something wrong or there is more? Thanks. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user