-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
49 lines (39 loc) · 1.46 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
48
<project name="esper-ext" default="dist" basedir=".">
<description>
Utility and extension code for the Esper Complex Event Processing engine.
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<!-- Name of project and version, used to create filenames -->
<property name="name" value="esper-ext"/>
<property name="version" value="0.1.0"/>
<property name="fullname" value="${name}-${version}"/>
<property name="dist" value="dist"/>
<property name="lib" value="lib"/>
<property name="src" value="src/main/java"/>
<property name="manifest" value="manifest.mf"/>
<target name="init">
<tstamp/>
</target>
<path id="classpath">
<fileset dir="${lib}">
<include name="**/*.jar"/>
</fileset>
</path>
<target name="clean" description="clean up">
<delete dir="${dist}" quiet="true" />
<delete dir="${build}" quiet="true" />
</target>
<target name="compile" depends="init"
description="compile the source " >
<mkdir dir="${build}"/>
<javac srcdir="${src}" destdir="${build}" classpathref="classpath"/>
</target>
<target name="dist" depends="compile"
description="generate the distribution" >
<mkdir dir="${dist}/lib"/>
<jar jarfile="${dist}/lib/${fullname}.jar" basedir="${build}" manifest="${manifest}"/>
</target>
</project>