This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
I'm trying to pick up someone else's leftovers with pretty simple project that uses XDoclet. I've never used it before
I have found out (pretty quickly) that this project's web.xml file is being generated by the XDoclet stuff. Well, my problem is that I need to add something--specifically a context-param element, to that web.xml.
So far, the only thing I've been able to do is hand modify the web.xml file after the build. Clearly that sucks as I have to explode the ear, then explode the war, then modify the web.xml, then put it all back together.
Any offers? (And while we're on the subject, I haven't even managed to find documentation for this thing online. Where should I be looking? By the way, I'm using what I think is an old version of XDoclet, it's version 1.2.2. I don't want to mess around upgrading unless there are no differences, and of course, if there are no difference, I have no need to upgrade
Thanks for any help, Toby
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35247
7
posted
0
Version 1.2.2 is the latest; the library is no longer being developed. (Since the advent of Java 5 you would use annotations instead of JavaDoc tags.)
There is an XDoclet capability to construct the web.xml and inject custom elements. You shouldn't have to disassemble and reassemble the web.xml.
I liked XDoclet and was shocked when I went to the site one day and discovered that, in effect, it had died. But I've managed to learn to love annotations.
Customer surveys are for companies who didn't pay proper attention to begin with.
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 35247
7
posted
0
XDoclet works fine for what it does, though. I still use it for creating Hibernate 2 mapping files.