|
From: Jozsa K. <dy...@ka...> - 2001-11-30 03:57:46
|
I'm using XDoclet to generate my META-INF/ description files in a JBoss project. I'd like to use JBoss' AutoNumberFactory class, so I need an <entity>..</entity> entry in my ejb-jar.xml file to be able to use it from my classes properly (if I'm right of course). I guess the only solution to generate an ejb-jar entry with XDoclet for a bean which is not included in my source files is to use the merge options.. I tried to follow the XDoclet documentation about specifying merging, so did the following: - in my ant script, included the merge like this: <deploymentdescriptor destdir="META-INF" mergedir="META-IN"/> - placed a file in <project-root>/META-IN/ in the 'org/blah/foo/moo' dir named ejb-JBossUtilAutoNumber.xml (I'm not sure in the name, but tried a few variants), and included all the settings which should go into ejb-jar.xml to get my project work properly The effect is: nothing. I cant see a single line of output from ant (not even in verbose mode) whether it noticed the merge, found the merge dir, found my file, included or what; but the generated ejb-jar.xml does not contain my includes. So the question is, what's missing from the above situation? Regards, Christopher ps. I've got xdoclet from cvs to compile with some debug in the merge code, but it does not even compile without any modifications.. bad luck :) -- .Digital.Yearning.for.Networked.Assassination.and.Xenocide |