Hi,
The <packageSubstitution> is very stupid, only the tail part can be
substitue.
For example, if the package is "xxx.foo.ejb", you use <packageSubstitution
packages="ejb" substituteWith="vobj" />
Then the package will be change to "xxx.foo.vobj".
But if the package is "xxx.foo.ejb.yyy", nothing change after using
<packageSubstitution packages="ejb" substituteWith="vobj" />
.
Eric
----- Original Message -----
From: "Nate Drake" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 14, 2003 8:12 AM
Subject: [Xdoclet-user] Re: <valueobject> and <packageSubstitution>
> I was able to get it working by changing packageSubstitution to
> packagesubstitution.
>
> On Fri, 2003-07-11 at 16:38, Nate Drake wrote:
> > Hi,
> >
> > I can't seem to get package substitution working for my value objects.
> >
> > This is the relevant part of the build.xml:
> >
> > <valueobject pattern="{0}VObj">
> > <packageSubstitution packages="ejb" substituteWith="vobj" />
> > </valueobject>
> >
> >
> > When I run ejbdoclet I get this error:
> >
> > Class xdoclet.modules.ejb.entity.ValueObjectSubTask doesn't support the
> > nested "packageSubstitution" element.
> >
> > What am I doing wrong? I search the list archives and didn't see anyone
> > else with this problem. The document indicates that <valueobject> does
> > support packageSubstitution.
> >
> > Thanks,
> >
> > Nate
> >
>
>
>
> -------------------------------------------------------
> This SF.Net email sponsored by: Parasoft
> Error proof Web apps, automate testing & more.
> Download & eval WebKing and get a free book.
> www.parasoft.com/bulletproofapps1
> _______________________________________________
> xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user