portals-wsrp4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diego Louzán <diegolou...@metalicana.org>
Subject Spurious «replace» ant task in build.xml?
Date Wed, 24 Nov 2004 11:17:52 GMT
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?

Mime
View raw message