You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-user@portals.apache.org by Diego Louzán <di...@metalicana.org> on 2004/11/24 12:17:52 UTC
Spurious «replace» ant task in build.xml?
In build/build.xml when preparing provider for deployment:
<target name="install-provider-pluto"
description="Install the Pluto provider">
<property file="build.properties"/>
<antcall target="setup.tomcat"/>
<antcall target="uninstall"/>
<echo/>
<echo message="Compiling Project..."/>
<antcall target="build"/>
<echo/>
<echo message="Installing Pluto Provider..."/>
<antcall target="prepare-provider-pluto"/>
<replace
file="${TOMCAT_HOME}/webapps/${webapp.name}/WEB-INF/classes/wsrp4j-logger.properties"
token="@HOME@"
value="${TOMCAT_HOME}"/>
<replace
file="${TOMCAT_HOME}/webapps/${webapp.name}/WEB-INF/server-config.wsdd"
token="@HOME@"
value="${TOMCAT_HOME}"/>
<replace
file="${TOMCAT_HOME}/webapps/${webapp.name}/WEB-INF/config/services/ConfigService.properties"
token="@HTTPPORT@"
value="${TOMCAT_PORT}"/>
<echo/>
<echo message="Deploying portlets..."/>
<antcall target="undeploy_portlets"/>
<antcall target="deploy_portlets"/>
</target>
There are three calls to «replace» task, but the one which modifies
server-config.wsdd seems to do nothing, because there isn't any «@HOME@» token
in the file. Am I missing something?