1<?xml version="1.0"?> 2 3<project name="guice-spring" basedir="." default="jar"> 4 5 <import file="/common.xml"/> 6 7 <path id="compile.classpath"> 8 <fileset dir="${lib.dir}" includes="*.jar"/> 9 <fileset dir="${lib.dir}/build" includes="*.jar"/> 10 <pathelement path="/build/classes"/> 11 </path> 12 13 <target name="jar" depends="compile, manifest" description="Build jar."> 14 <jar destfile="${build.dir}/${ant.project.name}-${version}.jar" 15 manifest="${build.dir}/META-INF/MANIFEST.MF"> 16 <fileset dir="${build.dir}/classes" /> 17 </jar> 18 </target> 19 20</project> 21