Hi Ciaran,
you can simply specify a property named httpPort in the standard
project.properties file of your project. It'll be picked up while
xdoclet runs over your sources.
Just a question: Is there an advantage of using
<XDtConfig:configParameterValue paramName="httpPort"/> instead of a
plain ${httpPort}? It worked just fine for me to use the latter
approach.
Cheers,
Dominik
On Fri, 2003-08-22 at 15:24, Ciaran Treanor wrote:
> Hi,
> 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.
>
> 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?).
>
> Thanks a million,
> ct
>
>
>
> ---------------------------------------------------------------------
> 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]