-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
46 lines (41 loc) · 1.49 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
<project name="TME_KMeans2D" default="compile" basedir=".">
<description>
The build file for the coffee break
</description>
<property name="src" location="src"/>
<property name="build" location="build"/>
<target name="init">
<tstamp/>
<mkdir dir="${build}"/>
</target>
<target name="compile" depends="init"
description="compile the source " >
<javac debug="true" srcdir="${src}" excludes="" destdir="${build}"/>
</target>
<target name="run" depends="compile"
description="run examples">
<echo>================ Run Object Main ================</echo>
<java classname="supportGUI.KMeansViewer"
classpath="${build}/:jars/supportGUI.jar" fork="true">
<arg value="-nbPoints"/>
<arg value="1000"/>
<!-- <arg value="-proxyPPTI"/> -->
</java>
</target>
<target name="dist" depends="init,clean"
description="Generer la distribution" >
<!-- tout mettre dans l'archive -->
<jar basedir="." jarfile="../TME_KMeans2D_${DSTAMP}.jar"/>
</target>
<target name="clean"
description="clean up" >
<echo>================ Removing temporary files... ================</echo>
<delete verbose="true"> <!-- Remove all *~ files -->
<fileset dir="${basedir}" defaultexcludes="no">
<include name="**/*~"/>
</fileset>
</delete>
<echo>================ Removing build directory ================</echo>
<delete dir="${build}"/>
</target>
</project>