-
Notifications
You must be signed in to change notification settings - Fork 16
/
build.xml
executable file
·40 lines (32 loc) · 1.47 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
<?xml version="1.0"?>
<project name="GeoBlockingWS" default="jar">
<property environment="env"/>
<property name="app.home" value="com.monotek.wms.module.GeoIP"/>
<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="geoip.jar"/>
<!-- chdir to scripts/ and run ./get_maxmind_geoip_api to download and extract needed files. -->
<target name="geoip">
<javac srcdir="scripts/GeoIPJava-1.2.3/source" debug="true" destdir="${build.dir}" includeantruntime="false"/>
</target>
<target name="compile" depends="geoip">
<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.16.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" />
</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>