XDoclet Users,
I am new to XDoclet and have been having good success with various
generation tasks. However, when I attempt to generate the interfaces into a
different package using <packageSubstitution...>, the code is created
correctly but it is placed in the original directory and thus does not
compile. Am I missing a sub-task and/or configuration step?
I'm using:
- xdoclet 1.2b4
- ant 1.5.2
Here is the task. Of note, the value objects are created in the specified
directory BUT the utility objects are Created in the "interfaces" directory
- even though the packageSubstitution sub-task is defined after the
utilObject sub-task ??
<ejbdoclet
destdir="${andromda.ejb.generated.dir}"
excludedtags="@version,@author"
addedtags="@xdoclet-generated at ${TODAY}"
ejbspec="2.0"
>
<fileset dir="${andromda.ejb.generated.dir}">
<include name="**/*Bean.java" />
</fileset>
<valueobject>
<packageSubstitution packages="persistence"
substituteWith="valueobjects"/>
</valueobject>
<utilobject cacheHomes="true" includeGUID="true"/>
<packageSubstitution packages="persistence"
substituteWith="interfaces"/>
<remoteinterface pattern="{0}Remote"/>
<localinterface pattern="{0}Local"/>
<homeinterface/>
<localhomeinterface/>
<deploymentdescriptor destdir="build/ejbstage/META-INF/"/>
<websphere/>
</ejbdoclet>
Thanks for any thoughts,
Don Campbell
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user