--- Ciaran Treanor
<[EMAIL PROTECTED]> wrote:
> I'm using XDoclet to generate my web.xml and it's
> working just
> fine. However, I'd now like to parameterise the
> web.xml
> generation using XDoclet templates within files in
> my merge dir.
> 
> For example,
> <context-param>
>     <param-name>listenPort_http</param-name>
>     <param-value><XDtConfig:configParameterValue
>       paramName="httpPort"/></param-value>
> </context-param>
> 
> Will result in the following being generated to
> web-xml:
> <context-param>
>     <param-name>listenPort_http</param-name>
>     <param-value>80</param-value>
> </context-param>
> 
> If I've set httpPort=80 somewhere. I've no problem
> setting this from ant, but can someone let me know
> how to
> this from Maven (project.properties or maven.xml?).

It depends whether you use plugin goals or set up
ant targets in maven.xml

If you use xdoclet:webdoclet
then you can specify properties in project.properties
/ build.properties like:
maven.xdoclet.webdoclet.jsptaglib.0=false


If ouy set up maven tasks in maven.xml - do like with
ant. 

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com

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

Reply via email to