Nevermind, I got it to work using the following:
<context-param>
<param-name>listenPort_http</param-name>
<param-value><XDtConfig:configParameterValue
paramName="httpPort"/></param-value>
</context-param>
<context-param>
<param-name>listenPort_https</param-name>
<param-value><XDtConfig:configParameterValue
paramName="httpsPort"/></param-value>
</context-param>
And in build.xml:
<deploymentdescriptor validatexml="true"
servletspec="2.3" sessiontimeout="30"
destdir="${build.dir}/web/WEB-INF" distributable="false"
displayname="Channel Change Tool">
<configParam name="httpPort" value="${http.port}"/>
<configParam name="httpsPort" value="${https.port}"/>
<configParam name="security" value="${security.mode}"/>
</deploymentdescriptor>
Thanks,
Matt
> -----Original Message-----
> From: Raible, Matt
> Sent: Thursday, February 06, 2003 4:38 PM
> To: '[EMAIL PROTECTED]'
> Subject: Replacing parameters in web-settings.xml
>
>
> In my web-settings.xml I have the following:
>
> <context-param>
> <param-name>listenPort_http</param-name>
> <param-value>${http.port}</param-value>
> </context-param>
> <context-param>
> <param-name>listenPort_https</param-name>
> <param-value>${https.port}</param-value>
> </context-param>
>
> I know that Ant and XDoclet will replace properties in a
> .java class with Ant properties, but this doesn't seem to
> work for merge files. Should I just use an Ant filter to
> replace these values?
>
> Thanks,
>
> Matt
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user