forked from titpetric/wowza-geoip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
executable file
·47 lines (40 loc) · 1.99 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
<?xml version="1.0"?>
<project name="GeoBlockingWS" default="jar">
<property environment="env"/>
<property name="app.home" value="com.monotek.wms.module.GeoIP2"/>
<property name="linux.wowza.lib.dir" value="/usr/local/WowzaMediaServer/lib"/>
<property name="src.dir" location="src"/>
<property name="build.dir" location="build"/>
<property name="jar.filename" value="geoip2.jar"/>
<target name="compile">
<javac srcdir="${src.dir}" debug="true" destdir="${build.dir}" includeantruntime="false">
<classpath>
<pathelement path="${linux.wowza.lib.dir}/wms-server.jar" />
<pathelement path="${linux.wowza.lib.dir}/log4j-1.2.17.jar" />
<pathelement path="${linux.wowza.lib.dir}/wms-httpstreamer-cupertinostreaming.jar" />
<pathelement path="${linux.wowza.lib.dir}/wms-httpstreamer-sanjosestreaming.jar" />
<pathelement path="${linux.wowza.lib.dir}/wms-httpstreamer-smoothstreaming.jar" />
<pathelement path="${linux.wowza.lib.dir}/wms-stream-rtp.jar" />
<!-- geoip2-java dependencies -->
<pathelement path="lib/commons-codec-1.10.jar" />
<pathelement path="lib/commons-logging-1.2.jar" />
<pathelement path="lib/geoip2-2.12.0.jar" />
<pathelement path="lib/geoip2-2.12.0-javadoc.jar" />
<pathelement path="lib/geoip2-2.12.0-sources.jar" />
<pathelement path="lib/httpclient-4.5.5.jar" />
<pathelement path="lib/httpcore-4.4.9.jar" />
<pathelement path="lib/jackson-annotations-2.9.5.jar" />
<pathelement path="lib/jackson-core-2.9.5.jar" />
<pathelement path="lib/jackson-databind-2.9.5.jar" />
<pathelement path="lib/maxmind-db-1.2.2.jar" />
</classpath>
<compilerarg value="-Xlint:unchecked"/>
</javac>
</target>
<target name="jar" depends="compile">
<jar jarfile="${linux.wowza.lib.dir}/${jar.filename}">
<fileset dir="${build.dir}">
</fileset>
</jar>
</target>
</project>