69 lines
2.3 KiB
XML
69 lines
2.3 KiB
XML
<project name="Webapp Precompilation" default="all" basedir=".">
|
|
|
|
<target name="jspc">
|
|
|
|
<!--
|
|
<property name="webapp.src" location="C:/tables/eclipse/plugins/i5OS.ic.pdf_table_5.4.0.1"/>
|
|
<property name="webapp.bin" location="C:/tables/eclipse/plugins/i5OS.ic.pdf_table_5.4.0.1"/>
|
|
<property name="webapp.path" location="C:/tables/eclipse/plugins/i5OS.ic.pdf_table_5.4.0.1"/>
|
|
<property name="tomcat.home" location="c:/tomcat"/>
|
|
-->
|
|
<property name="tomcat.home" location="/afs/rchland.ibm.com/lande/shadow/dev2000/eserver/v1r2m0.ua/cur/cmvc/common.pgm/eclipse_help/tomcat_4"/>
|
|
<property name="java.home" location="/usr/local/java/J1.4.1_IBM_build_ca141-20030930"/>
|
|
<property name="webapp.path" location="."/>
|
|
|
|
<taskdef classname="org.apache.jasper.JspC" name="jasper2" >
|
|
<classpath id="jspc.classpath">
|
|
<pathelement location="${java.home}/../lib/tools.jar"/>
|
|
<fileset dir="${tomcat.home}/server/lib">
|
|
<include name="*.jar"/>
|
|
</fileset>
|
|
<fileset dir="${tomcat.home}/common/lib">
|
|
<include name="*.jar"/>
|
|
</fileset>
|
|
</classpath>
|
|
</taskdef>
|
|
|
|
<jasper2
|
|
validateXml="false"
|
|
uriroot="${webapp.path}"
|
|
webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"
|
|
outputDir="${webapp.path}/WEB-INF/src" />
|
|
|
|
</target>
|
|
|
|
<target name="compile">
|
|
|
|
<mkdir dir="${webapp.path}/WEB-INF/classes"/>
|
|
<mkdir dir="${webapp.path}/WEB-INF/lib"/>
|
|
|
|
<javac destdir="${webapp.path}/WEB-INF/classes"
|
|
optimize="off"
|
|
debug="on" failonerror="false"
|
|
srcdir="${webapp.path}/WEB-INF/src"
|
|
excludes="**/*.smap">
|
|
<classpath>
|
|
<pathelement location="${webapp.path}/WEB-INF/classes"/>
|
|
<fileset dir="${webapp.path}/WEB-INF/lib">
|
|
<include name="*.jar"/>
|
|
</fileset>
|
|
<pathelement location="${tomcat.home}/common/classes"/>
|
|
<fileset dir="${tomcat.home}/common/lib">
|
|
<include name="*.jar"/>
|
|
</fileset>
|
|
<pathelement location="${tomcat.home}/server/classes"/>
|
|
<fileset dir="${tomcat.home}/server/lib">
|
|
<include name="*.jar"/>
|
|
</fileset>
|
|
</classpath>
|
|
<include name="**" />
|
|
<exclude name="tags/**" />
|
|
</javac>
|
|
|
|
</target>
|
|
|
|
<target name="build" depends="jspc,compile">
|
|
</target>
|
|
|
|
</project>
|