-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
executable file
·44 lines (33 loc) · 1.2 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
<project name="ClusteringEditDist" default="run">
<path id="jars">
<fileset dir="./lib" includes="**/*.jar"/>
</path>
<target name="clean">
<delete dir="bin"/>
<delete dir="exe"/>
</target>
<target name="compile">
<mkdir dir="bin"/>
<javac srcdir="src" destdir="bin" classpathref="jars" includeantruntime="false"/>
</target>
<target name="jar" depends="compile">
<mkdir dir="exe"/>
<jar destfile="exe/ClusteringEditDist.jar" basedir="bin">
<zipgroupfileset dir="lib" includes="*.jar"/>
<manifest>
<attribute name="Main-Class" value="Main"/>
</manifest>
</jar>
</target>
<target name="run">
<java jar="exe/ClusteringEditDist.jar" fork="true">
<sysproperty key="isBatchMode" value="${isBatchMode}"/>
<sysproperty key="isRelativeMembershipAsOutput" value="${isRelativeMembershipAsOutput}"/>
<sysproperty key="inputDirPath" path="${inputDirPath}"/>
<sysproperty key="solutionsFilePath" path="${solutionsFilePath}"/>
<sysproperty key="outputDirPath" path="${outputDirPath}"/>
<sysproperty key="firstClusteringString" value="${firstClusteringString}"/>
<sysproperty key="secondClusteringString" value="${secondClusteringString}"/>
</java>
</target>
</project>