-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
30 lines (24 loc) · 907 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
<?xml version="1.0"?>
<project name="NitroxyWowzaModule" default="all" basedir=".">
<property name="jar.filename" value="NitroxyWowzaModule.jar"/>
<property name="core.build.dir" value="build"/>
<property name="lib.dir" value="lib"/>
<target name="all" depends="dependencies, compile, jar" />
<target name="dependencies">
<get src="http://repo1.maven.org/maven2/com/fasterxml/jackson/core/jackson-databind/2.7.2/jackson-databind-2.7.2.jar" dest="${lib.dir}" skipexisting="true" />
</target>
<target name="compile">
<mkdir dir="${core.build.dir}"/>
<javac srcdir="src" destdir="${core.build.dir}" includeantruntime="false">
<compilerarg value="-parameters"/>
<classpath>
<fileset dir="${lib.dir}" includes="*.jar"/>
</classpath>
</javac>
</target>
<target name="jar">
<jar jarfile="${jar.filename}">
<fileset dir="${core.build.dir}"/>
</jar>
</target>
</project>