Xml文件  |  21行  |  586 B

<?xml version="1.0"?>

<project name="guice-jmx" basedir="." default="jar">

  <import file="../../common.xml"/>
  
  <path id="compile.classpath">
    <fileset dir="${lib.dir}" includes="*.jar"/>
    <fileset dir="${lib.dir}/build" includes="*.jar"/>
    <pathelement path="../../build/classes"/>
  </path>

  <target name="jar" depends="compile, manifest" description="Build jar.">
    <jar destfile="${build.dir}/${ant.project.name}-${version}.jar"
        manifest="${build.dir}/META-INF/MANIFEST.MF">
      <fileset dir="${build.dir}/classes" />
    </jar>
  </target>

</project>