I hear what you're saying. However, I work in a team of 7 developers. If each developer can make changes to the struts-config.xml file we'll have 7 people working on the same file at the same time. If we generate the struts-config.xml file with XDoclet we will all in fact be working on separate files, with the struts-config.xml file being generated consistently, with changes integrated as they're committed to CVS.

I think it's a tradeoff.

Rick Reumann wrote:

Laran Evans wrote:

I have a struts ActionForm which I would like to markup with xdoclet tags.


Don't do it:) Seriously, IMO, I think it's a waste. I think it's nice having one configuration file to look it to set up all my mappings (your config.xml file). Think about it, using xdoclet if you decide that after your form submits you'd rather the user forward to a different page, you end up having to track down the action class and modify the xdoclet tag and then rebuild. I'd rather modify one simple xml file. I'm yet to see how xdoclet helps in a Struts environment.


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to