Hi,
The deployment descriptor contains dynamic values and looks like
<Context path="/doceng" reloadable="true" docBase="${docBase}">
<Resource name="jdbc/docengdb" auth="Container"
type="javax.sql.DataSource"
driverClassName="${driverclassName}"
url="${dburl}"
username="${dbusername}"
password="${dbpassword}"
maxActive="${maxactive}"
maxIdle="${maxidle}"
maxWait="${maxwait}"/>
</Context>
All the parameters are defined in build.properties but deploy task does not
change the values, which results bad deployment.
The ant deploy task is
<target name="deploy.app.context" description="Deploys the application to
this host's servers">
<deploy
url="${remote.tomcat.manager.url}"
username="${remote.tomcat.manager.username}"
password="${remote.tomcat.manager.password}"
path="/test"
config="file:///${doceng.home}/tomcat/test.xml"/>
</target>
Any suggestion to achieve the same
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]