-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.xml
49 lines (41 loc) · 1.52 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project name="Idemix cryptographic library" default="all">
<property file="build.properties" />
<target name="clean">
<delete dir="${bin.dir}" />
</target>
<target name="distclean" depends="clean">
<delete file="${jar.development.dir}/${jar.development.archive}" />
<delete file="${jar.library.dir}/${jar.library.archive}" />
<delete file="${jar.source.dir}/${jar.source.archive}" />
</target>
<target name="compile">
<mkdir dir="${bin.dir}" />
<javac destdir="${bin.dir}" includeantruntime="false">
<src path="${src.util.dir}" />
<src path="${src.smartcards.dir}" />
<src path="${src.smartcards.j2se.dir}" />
</javac>
</target>
<target name="archive">
<jar destfile="${jar.source.dir}/${jar.source.archive}">
<fileset dir="${src.util.dir}" />
<fileset dir="${src.smartcards.dir}" />
<fileset dir="${src.smartcards.j2se.dir}" />
</jar>
</target>
<target name="development" depends="compile">
<jar destfile="${jar.development.dir}/${jar.development.archive}">
<fileset dir="${bin.dir}" />
<fileset dir="${src.util.dir}" />
<fileset dir="${src.smartcards.dir}" />
<fileset dir="${src.smartcards.j2se.dir}" />
</jar>
</target>
<target name="library" depends="compile">
<jar destfile="${jar.library.dir}/${jar.library.archive}">
<fileset dir="${bin.dir}" />
</jar>
</target>
<target name="all" depends="archive,development,library" />
</project>