NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator's Guide
Client Deployer in NSJSP 7.0
NonStop Servlets for JavaServer Pages (NSJSP) 7.0 System Administrator’s Guide—674372-005
C-4
Configuring NSJSP-specific attributes for Client
Deployer
<validator path="${webapp.path}" />
<mkdir dir="${webapp.path}/WEB-INF/classes" />
<mkdir dir="${webapp.path}/WEB-INF/lib" />
<javac destdir="${webapp.path}/WEB-INF/classes" optimize="off"
debug="${compile.debug}" deprecation="${compile.deprecation}" failonerror="false"
srcdir="${webapp.path}/WEB-INF/classes" encoding="UTF-8" excludes="**/*.smap">
<classpath>
<fileset dir="${webapp.path}/WEB-INF/lib">
<include name="*.jar" />
</fileset>
<fileset dir="${basedir}/lib">
<include name="*.jar" />
</fileset>
</classpath>
<include name="**" />
<exclude name="tags/**" />
</javac>
<jar destfile="${webapp.path}.war" basedir="${webapp.path}" />
</target>
<target name="deploy" description="Deploy web application">
<deploy url="${url}" username="${username}" password="${password}" path="${path}"
war="${webapp.path}.war" update="true" appendContext="true" />
</target>
<target name="undeploy" description="Undeploy web application">
<undeploy url="${url}" username="${username}" password="${password}"
path="${path}" appendContext="true" />
</target>
<!-- Webapp lifecycle control -->
<target name="start" description="Start web application">
<start url="${url}" username="${username}" password="${password}" path="${path}"
appendContext="true" />
</target>
<target name="reload" description="Reload web application">
<reload url="${url}" username="${username}" password="${password}" path="${path}"
appendContext="true" />
</target>
<target name="stop" description="Stop web application">
<stop url="${url}" username="${username}" password="${password}" path="${path}"
appendContext="true" />
</target>
</project>
Example C-1. Sample Ant Script for the Client Deployer










