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

<project name="guice-persist" 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="${ext.lib.dir}" includes="*.jar"/>
    <fileset dir="${ext.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>