Home | History | Annotate | Download | only in struts2
      1 <?xml version="1.0"?>
      2 
      3 <project name="guice-struts2-plugin" 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="${ext.lib.dir}" includes="*.jar"/>
     10     <pathelement path="../../build/classes"/>
     11     <fileset dir="../servlet/build" includes="*.jar"/>
     12   </path>
     13 
     14   <target name="jar" depends="compile, manifest" description="Build jar.">
     15     <jar destfile="${build.dir}/${ant.project.name}-${version}.jar"
     16         manifest="${build.dir}/META-INF/MANIFEST.MF">
     17       <fileset dir="${build.dir}/classes" />
     18     </jar>
     19   </target>
     20 
     21 </project>
     22