forked from icastell/ActiveAndroid
-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.xml
32 lines (25 loc) · 901 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0"?>
<project name="ActiveAndroid" default="dist" basedir=".">
<property name="dist.dir" value="dist" />
<property name="src.dir" value="src" />
<property name="build.dir" value="bin" />
<property name="lib.dir" value="libs"/>
<target name="dist" depends="clean, package" />
<target name="clean">
<delete dir="${build.dir}" />
<delete dir="${dist.dir}" />
</target>
<target name="init">
<mkdir dir="${build.dir}"/>
<mkdir dir="${dist.dir}" />
</target>
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar"/>
</path>
<target name="compile">
<javac srcdir="${src.dir}" destdir="${build.dir}" source="1.5" target="1.5" classpathref="classpath" debug="off" />
</target>
<target name="package" depends="init, compile">
<jar destfile="${dist.dir}/ActiveAndroid.jar" basedir="${build.dir}"/>
</target>
</project>