<?xml version="1.0" encoding="GBK"?>
<project name="j2ee project" basedir="." default="compile">
<property name="src.dir" value="${basedir}/src" />
<property name="tomcat.dir" value="/home/lovelin/apache-tomcat-7.0.6"/>
<property name="report.dir" value="${tomcat.dir}/webapp/project"/>
<property name="target.dir" value="${basedir}/target"/> <!-- clean class files -->
<target name="clean">
<delete dir="${target.dir}"/>
</target> <!-- compile code files -->
<target name="compile" depends="clean">
<mkdir dir="${target.dir}"/>
<javac srcdir="${src.dir}" destdir="${target.dir}" includeantruntime="false"/>
</target> </project>