Hi Nathan,

we explicitly specify the destDir property for both the ejb deployment descriptor and the jboss descriptor. Try using

maven.xdoclet.ejbdoclet.deploymentdescriptor.0.destDir
and
maven.xdoclet.ejbdoclet.jboss.0.destDir

and set them both to ${maven.build.dir}/xdoclet/ejb/META-INF in your case. Then the ejb:ejb should be able to pick up the generated files by using maven.ejb.src=${maven.build.dir}/xdoclet/ejb/ as you did.

Hope this help.

Leander

Nathan Coast schrieb:
Hi,

i'm using ejbdoclet to generate ejb source files. The configuration files are generated into:

/target/xdoclet/ejb/META-INF

so I set maven.ejb.src=${maven.build.dir}/xdoclet/ejb/ in my project properties to enable maven to assemble these files into the ejb-jar during >maven ejb:ejb

Is this the correct way to achieve this?

suprisingly, when I use ejbdoclet to generate the jboss configuration files, they are generated into:

target/xdoclet/ejbdoclet

and so are excluded from the ejb assembly. Is this correct? Have I missed some configuration? Or do I need to write additional maven.xml to place the jboss files into the assembled ejb-jar?

thanks
Nathan


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to