All pastes #1829584 Raw Edit

build.xml RACE

public xml v1 · immutable
#1829584 ·published 2010-03-09 07:57 UTC
rendered paste body
<project name="RACE Webapp Precompilation Tomcat 6.x" default="all" basedir=".">     <import file="${tomcat.home}/bin/catalina-tasks.xml"/>    <target name="jspc">         <jasper         validateXml="false"         uriroot="${webapp.path}"         webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml"         outputDir="${webapp.path}/WEB-INF/src"        addWebXmlMappings="true"        />    </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"            srcdir="${webapp.path}/WEB-INF/src"             failonerror="false"            optimize="on" debug="off"             source="1.6" target="1.6"            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}/lib"/>                <fileset dir="${tomcat.home}/lib">                    <include name="*.jar"/>                </fileset>                                <fileset dir="${tomcat.home}/bin">                     <include name="*.jar"/>                 </fileset>             </classpath>                        <include name="**" />            <exclude name="tags/**" />        </javac>    </target>    <target name="all" depends="jspc,compile">            </target>    <target name="cleanup">        <delete>            <fileset dir="${webapp.path}/WEB-INF/src"/>            <fileset dir="${webapp.path}/WEB-INF/classes/org/apache/jsp"/>        </delete>    </target></project><!-- EOF -->