aboutsummaryrefslogtreecommitdiff
path: root/extensions/throwingproviders/build.xml
blob: b6367d6872450855080f40834d66ee17172e1e9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version="1.0"?>

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

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

  <target name="jar" depends="jar.withdeps, manifest" description="Build jar.">
    <jar destfile="${build.dir}/${ant.project.name}-${version}.jar"
        manifest="${build.dir}/META-INF/MANIFEST.MF">
      <zipfileset src="${build.dir}/${ant.project.name}-with-deps.jar"
          excludes="com/google/inject/internal/**"/>
    </jar>
  </target>

</project>