-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
36 lines (29 loc) · 1.22 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
<project name="xltools" default="compile" basedir=".">
<description>
xltools
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="lib" location="lib"/>
<property name="data" location="data"/>
<property name="build" location="bin"/>
<target name="init">
<!-- Create the time stamp -->
<!-- Create the build directory structure used by compile -->
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init"
description="compile the source " >
<!-- Compile the java code from ${src} into ${build} -->
<javac debug="on" nowarn="on" srcdir="${src}" classpath="bin;${lib}/lpsolve.jar;${lib}/junit4.jar:${lib}/trove.jar" destdir="${build}">
</javac>
</target>
<target name="compress" description="Compression target" depends="compile">
<jar jarfile="xltools.jar" basedir="bin" /> <!-- includes="lib/trove.jar,lib/junit4.jar,bin/**" manifest="manifest.mf" -->
</target>
<target name="clean"
description="clean up" >
<!-- Delete the ${build} and ${dist} directory trees -->
<delete dir="${build}"/>
</target>
</project>