-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.xml
37 lines (30 loc) · 1.05 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="opentelecoms.org-util" basedir="." default="jar">
<property name="dest" value="classes"/>
<property name="lib" value="lib"/>
<property name="src" value="src/main/java"/>
<property name="opentelecoms.org-util.jar" value="opentelecoms.org-util.jar"/>
<path id="project.class.path">
<pathelement location="${dest}"/>
<pathelement location="${lib}/dnsjava-2.1.1.jar"/>
</path>
<target name="init">
<mkdir dir="${dest}"/>
</target>
<target name="compile" depends="init">
<javac classpathref="project.class.path"
debug="true"
deprecation="true"
destdir="${dest}"
nowarn="false"
target="1.6"
source="1.6">
<src path="${src}"/>
</javac>
</target>
<target name="jar" depends="compile">
<jar compress="true" destfile="${opentelecoms.org-util.jar}">
<fileset dir="${dest}"/>
</jar>
</target>
</project>