-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.xml
70 lines (62 loc) · 2.31 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<project name="ua_graphmining">
<property name="source.dir" location="src/com/uantwerp/algorithms"/>
<property name="resources.dir" location="resources" />
<property name="build.dir" location="build"/>
<property name="build.classes.dir" location="${build.dir}/classes"/>
<property name="build.resources.dir" location="${build.dir}/resources"/>
<property name="build.jar.dir" location="${build.dir}/jar"/>
<!-- <property name="build.subgraphMining" location="${build.jar.dir}/subgraphMining.jar"/> -->
<!-- <property name="test.dir" location="src/com/uantwerp/tests" /> -->
<!-- <property name="test.report.dir" value="${build.dir}/junitreport"/> -->
<path id="classpath">
<fileset dir="lib" includes="*.jar"/>
</path>
<!-- <path id="application" location="${build.jar.dir}/subgraphMining.jar"/> -->
<target name="compile">
<mkdir dir="${build.classes.dir}"/>
<javac includeantruntime="false" srcdir="${source.dir}"
destdir="${build.classes.dir}" debug="true" includes="**/*.java">
<classpath refid="classpath"/>
</javac>
<mkdir dir="${build.resources.dir}"/>
<copy todir="${build.resources.dir}">
<fileset dir="${resources.dir}"/>
</copy>
</target>
<target name="jar" depends="compile">
<mkdir dir="${build.jar.dir}"/>
<jar destfile="${build.jar.dir}/miles-subgraph-miner.jar" basedir="${build.classes.dir}">
<manifest>
<attribute name="Main-Class" value="com.uantwerp.algorithms.SubgraphMining"/>
</manifest>
<zipgroupfileset dir="lib" includes="*.jar" excludes=""/>
<fileset dir="${resources.dir}"/>
</jar>
</target>
<target name="clean">
<delete dir="${build.dir}"/>
<delete dir="data"/>
</target>
<!-- <target name="junit" depends="jar">
<formatter type="brief" usefile="false"/>
<mkdir dir="${test.report.dir}"/>
<junit printsummary="yes">
<classpath>
<path refid="classpath"/>
<path refid="application"/>
</classpath>
<formatter type="xml"/>
<batchtest fork="yes" todir="${test.report.dir}">
<fileset dir="${test.dir}" includes="*Test.java"/>
</batchtest>
</junit>
</target>
<target name="junitreport">
<junitreport todir="${test.report.dir}">
<fileset dir="${test.report.dir}" includes="TEST-*.xml"/>
<report todir="${test.report.dir}"/>
</junitreport>
</target> -->
<target name="all" depends="clean,jar">
</target>
</project>