-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
46 lines (35 loc) · 1.42 KB
/
build.xml
File metadata and controls
46 lines (35 loc) · 1.42 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" standalone="no"?>
<project basedir="." default="build" name="softwarestudies">
<property environment="env"/>
<property name="debuglevel" value="source,lines,vars"/>
<property name="target" value="1.5"/>
<property name="source" value="1.5"/>
<property name="dir.dist" value="dist"/>
<property name="dir.bin" value="bin"/>
<property name="dir.src" value="src"/>
<path id="MediaAnalysis.classpath">
<pathelement location="bin"/>
</path>
<target name="init">
<mkdir dir="${dir.bin}"/>
<mkdir dir="${dir.dist}"/>
<copy includeemptydirs="false" todir="${dir.bin}">
<fileset dir="${dir.src}" excludes="**/*.launch, **/*.java"/>
</copy>
</target>
<target name="clean">
<delete dir="${dir.bin}"/>
</target>
<target depends="clean" name="cleanall"/>
<target depends="build-project" name="build"/>
<target depends="init" name="build-project">
<echo message="${ant.project.name}: ${ant.file}"/>
<javac debug="true" debuglevel="${debuglevel}" destdir="${dir.bin}" source="${source}" target="${target}">
<src path="${dir.src}"/>
<classpath refid="MediaAnalysis.classpath"/>
</javac>
</target>
<target name="jar" depends="build">
<jar jarfile="${dir.dist}/softwarestudies.jar" basedir="${dir.bin}"/>
</target>
</project>