1 <?xml version="1.0" encoding="UTF-8"?>
2 <project name="rhinoDOM" default="compile" basedir=".">
3 <property name="build.dir" value="${basedir}/build" />
4 <property name="lib.dir" value="/home/alex/acre/webapp/WEB-INF/lib" />
5 <property name="version" value="0.1" />
8 <fileset dir="${lib.dir}">
9 <include name="**/*.jar" />
13 <target name="compile" description="Compile rhinoDOM">
14 <mkdir dir="${build.dir}" />
15 <javac srcdir="${basedir}" destdir="${build.dir}">
16 <classpath refid="class.path" />
20 <target name="dist" depends="compile" description="generate rhinoDOM jar file">
21 <jar jarfile="${basedir}/rhinoDOM-${version}.jar" basedir="${build.dir}"/>
24 <target name="clean" description="Cleanup build directory">
25 <delete dir="${build.dir}" />
26 <delete file="${basedir}/rhinoDOM-${version}.jar" />