Summary Table

Categories Total Count
PII 0
URL 0
DNS 0
EKL 0
IP 0
PORT 0
VsID 0
CF 0
AI 0
VPD 0
PL 0
Other 0

File Content

<?xml version="1.0" encoding="UTF-8"?>
<project name="tomcat.targets">
<import file="properties.xml" />

<property name="ml-ant-http.jar" value="ml-ant-http-1.1.3.jar"/>

<fileset id="runtime.libs" dir="./build-lib/">
<include name="${ml-ant-http.jar}"/>
</fileset>

<path id="runtime.classpath">
<fileset refid="runtime.libs"/>
</path>

<taskdef name="http" classname="org.missinglink.ant.task.http.HttpClientTask">
<classpath refid="runtime.classpath"/>
</taskdef>

<target name="deployWar" depends="build">
<echo message="Deploying to Tomcat" />

<deployToTomcat url="${mgr.url}" username="${mgr.username}" password="${mgr.password}"
path="/${deployment.war.name}" update="true" war="${deployment.war.file.path}"/>

<echo message="Checking if app is Deployed to Tomcat" />
<http url="${app.url}" statusProperty="http.status" expected="${statuscode}"/>
<echo>"App deploy is Successful, HttpStatus : ${http.status}"</echo>
</target>


</project>