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