-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
53 lines (42 loc) · 1.32 KB
/
build.xml
File metadata and controls
53 lines (42 loc) · 1.32 KB
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<project name="pasdroid" default="main" basedir=".">
<description>
Password Maker for Android.
</description>
<!-- Set global properties for this build -->
<property file="build.properties.xml"/>
<target name="init">
<buildnumber/>
<tstamp/>
<mkdir dir="${build}"/>
</target>
<!-- Do the thing. -->
<target name="main" depends="compile,dist">
<echo>
Building the .jar file.
</echo>
</target>
<!-- Run the tests. -->
<target name="test" depends="test1">
<echo>
Running tests.
</echo>
</target>
<!-- Build the code. -->
<target name="compile" depends="init,test" description="compile source">
<javac srcdir="${src}" destdir="${build}"/>
</target>
<!-- Create the .jar file -->
<target name="dist" depends="compile" description="generate distro" >
<mkdir dir="${dist}/lib"/>
<jar jarfile="${dist}/lib/pasdroid-${DSTAMP}-${build.number}.jar"
basedir="${build}" includes="*.class"/>
</target>
<!-- Clean up the build and dist directories -->
<target name="clean" description="clean" >
<delete dir="${build}"/>
<delete dir="${dist}"/>
</target>
<!-- Run the tests. -->
<target name="test1">
</target>
</project>