Hello,
        Well, I agree with u, but it depends on how u generate
The struts-config and other config files..
U can still write ur own action-mapping file and make xdoclet
Merge it (I m doing it for action-forms for example)...

I m doing it coz I m lazy and I prefer that someone else
Generates configuration files for me..

If u (like me) hate changing code for changing a simple
Parameter, as I said u may want to look at merge facilities
Of XDoclet.

My 2 cents

Regards
        marco

-----Original Message-----
From: Rick Reumann [mailto:[EMAIL PROTECTED] 
Sent: 27 June 2004 22:13
To: Struts Users Mailing List
Subject: Re: RE : Struts, XDoclet, and Maven...

Andy Akins wrote:

>>> but I'm fairly new to Maven but have coded two simple struts
>>> apps with
>>> it - and XDoclet is brand new to me. I'm looking to combine
>>> all of the
>>> above (and eventually Hibernate - but that's for a later day).

I don't see what advantage using XDoclet with Struts is? If someone can 
show me how it helps I'd love to see it. On this one project I 
inherited, it uses XDoclet with Struts and it makes things worse. For 
example, I like having a nice config file that I can modify 
(strut-config), yet with XDoclet, the struts config action mappings are 
generated by action mapping definitions defined at the top of the actual

Action opbjects. That makes no sense to me. Now in order to change a 
return value, you have to modify source code versus just modifying a 
config file. I can see the benefit for XDoclet in other projects (ie EJB

code generation) but for Struts I still haven't found where it helps, 
but I'm willing to be enlightened:)

-- 
Rick

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


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

Reply via email to