If I was using ant, I know how to generate the was5 deployment descriptors by using the <websphere/> tag, but I currently do the following:

        <preGoal name="java:compile">
            <attainGoal name="xdoclet:ejbdoclet"/>
        </preGoal>

And I get everything I need generated except the was5 specific deployment descriptors.





From: Rod Coffin <[EMAIL PROTECTED]>
Reply-To: Rod Coffin <[EMAIL PROTECTED]>
To: Maven Users List <[email protected]>
Subject: Re: maven configuration help to get xdoclet to generate WAS 5 specific deploy descr?
Date: Fri, 24 Jun 2005 07:56:12 -0500

Mick,
 Assuming that you already have XDoclet configured and working with Maven
then all you should need to do is to annotate your components (EJBs,
Servlets, etc.) with XDoclet tags and add the websphere subtasks to your
XDoclet tasks. For example, if you have annotated your EJBs with @ejb tags
and add the <websphere/> subtask to the <ejbdoclet/> task then Websphere
specific descriptors will be generated for your beans. Likewise, if you have
annotated your Servlets with the appropriate @web tags and add the
<webspherewebxml/> subtask to the <webdoclet/> task then Websphere
descriptors will be generated for your servlets.
 This is pretty high level but I hope it helps.
 Regards,
 Rod
 On 6/23/05, Mick Knutson <[EMAIL PROTECTED]> wrote:
>
> I need some help please to figure out how to get xdoclet to genererate was
> specific deployment descriptors in maven.
>
>
>
> Thank You
> Mick Knutson
>
> Sr. Java/J2EE Consultant
> BASE logic, inc.
> (415) 648-1804 (S.F., CA)
> http://www.BASELogic.com
>
> HP Consulting Services (Walnut Creek, CA)
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


Thank You
Mick Knutson

Sr. Java/J2EE Consultant
BASE logic, inc.
(415) 648-1804 (S.F., CA)
http://www.BASELogic.com

HP Consulting Services (Walnut Creek, CA)



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

Reply via email to