-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.xml
28 lines (28 loc) · 1.11 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project basedir="." default="compile" name="KeysAnalyzer">
<property name="target" value="11"/>
<property name="source" value="11"/>
<property name="build.compiler" value="javac10+"/>
<path id="KeysAnalyzer.classpath">
<pathelement location="lib/mapdb.jar"/>
<pathelement location="lib/openxliff.jar"/>
<pathelement location="lib/mac64/swt.jar"/>
</path>
<target name="init">
<mkdir dir="bin"/>
<copy includeemptydirs="false" todir="bin">
<fileset dir="src">
<exclude name="**/*.java"/>
</fileset>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
</target>
<target name="compile" depends="clean,init">
<description>Build jar file</description>
<delete file="lib/keysanalyzer.jar"/>
<javac srcdir="src" destdir="bin" classpathref="KeysAnalyzer.classpath" modulepathref="KeysAnalyzer.classpath" includeAntRuntime="false"/>
<jar destfile="lib/keysanalyzer.jar" basedir="bin"/>
</target>
</project>