Hi, I am attempting to use merge points to remove the hard coded JNDI refs from my code but have run into a few issues. IMO, it seems like the files are never even seen by XDoclet. I'm a newbie to XDoclet, so please take that with a grain of salt.
I made a mistake at first by attempting to put the files directly into my
${src.resources.dir}/xdoclet. Rereading the docs I realized it was supposed
to be ${src.resources.dir}/xdoclet/<<package directory>>. At this point the
descriptor appeared to be generated correctly; however, upon recompile - no
JNDI refs in the descriptor.
I am currently running Ant 1.5.1 w/ XDoclet 1.1.2 (Sorry, haven't upgraded
yet :-/ ) on WinNT with JDK 1.3.1_03.
Included as attachments is my build file, and one of the xml docs w/JNDI
refs.
I created a workaround by referencing a variable declared in my
.ant.properties file for the JNDI value tag, but this will not last as I
would also like to start using the merge points for my EJB refs as well. I
just feel that this is a smoother implementation.
Anyways, if anyone could point me in the right direction, I would be
extremely appreciative.
Thanks for all the hard work - it's a great tool!
Chris
build.xml
Description: Binary data
ejb-env-entries-ApplicationPermissionBean.xml
Description: Binary data
