forked from opentelecoms-org/zrtp-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
42 lines (35 loc) · 1.31 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="opentelecoms.org-zrtp" basedir="." default="jar">
<property name="dest" value="classes"/>
<property name="lib" value="lib"/>
<property name="src" value="src"/>
<property name="opentelecoms.org-zrtp.jar" value="opentelecoms.org-zrtp.jar"/>
<path id="project.class.path">
<pathelement location="${dest}"/>
<pathelement location="${lib}/bcprov-jdk16-146.jar"/>
</path>
<target name="init">
<mkdir dir="${dest}"/>
</target>
<!-- This code is compiled for Java 1.4 to ensure compatibility
with a wide range of mobile development platforms, including
the Blackberry -->
<target name="compile" depends="init">
<javac classpathref="project.class.path"
debug="true"
deprecation="true"
destdir="${dest}"
nowarn="false"
target="1.4"
source="1.4">
<src path="${src}"/>
<exclude name="zorg/platform/android/*"/>
<exclude name="zorg/platform/blackberry/*"/>
</javac>
</target>
<target name="jar" depends="compile">
<jar compress="true" destfile="${opentelecoms.org-zrtp.jar}">
<fileset dir="${dest}"/>
</jar>
</target>
</project>