-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
46 lines (41 loc) · 1.41 KB
/
Copy pathbuild.xml
File metadata and controls
46 lines (41 loc) · 1.41 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<project name="mdp-project" basedir="." default="dist">
<property name="name" value="mdp-project-burstdetector" />
<property name="src" value="src" />
<property name="version" value="" />
<property name="dist" value="dist" />
<path id="classpath">
<fileset dir="lib">
<include name="*.jar" />
</fileset>
</path>
<target name="prepare">
<tstamp />
<mkdir dir="bin" />
<mkdir dir="dist" />
</target>
<target name="dist" depends="clean,prepare">
<javac destdir="bin" srcdir="src" includes="org/mdp/**" source="1.7" target="1.7" debug="true" debuglevel="lines,source">
<classpath refid="classpath" />
</javac>
<!--
<copy file="src/com/ontologycentral/ldspider/tld/tld.dat" tofile="bin/com/ontologycentral/ldspider/tld/tld.dat"> </copy>
-->
<jar jarfile="${dist}/${name}.jar" basedir="bin">
<manifest>
<attribute name="Main-Class" value="org.mdp.kafka.cli.Main" />
</manifest>
<zipfileset src="lib/kafka-clients-2.0.0.jar" />
<zipfileset src="lib/slf4j-api-1.7.25.jar" />
<zipfileset src="lib/slf4j-simple-1.7.25.jar" />
</jar>
</target>
<target name="clean">
<delete dir="bin" />
<delete>
<fileset dir="dist">
<include name="*.jar" />
</fileset>
</delete>
</target>
</project>