-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.xml
34 lines (26 loc) · 1.04 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
<project name="vicino" default="build" basedir=".">
<property environment="env"/>
<property name="version" value="1.1"/>
<property name="src.dir" value="${basedir}/src" />
<property name="lib.dir" value="${basedir}/lib" />
<property name="build.dir" value="${basedir}/build" />
<property name="classes.dir" value="${build.dir}/classes" />
<path id="class.path">
<fileset dir="${lib.dir}">
<include name="**/*.jar" />
</fileset>
</path>
<target name="build">
<mkdir dir="${classes.dir}" />
<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true" includeAntRuntime="no">
<classpath refid="class.path" />
</javac>
</target>
<target name="jar" depends="build">
<jar destfile="${build.dir}/vicino-${version}.jar" basedir="${classes.dir}"/>
<jar destfile="${build.dir}/vicino-${version}-sources.jar" basedir="${src.dir}"/>
</target>
<target name="clean">
<delete dir="${build.dir}" />
</target>
</project>