-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
39 lines (36 loc) · 1020 Bytes
/
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
<?xml version="1.0"?>
<project default="compile" basedir=".">
<target name="compile">
<javac srcdir="." destdir="." target="1.5" source="1.5"/>
</target>
<target name="compresslist">
<exec executable="lzma">
<arg value="-k"/>
<arg value="-z"/>
<arg value="files.csv"/>
</exec>
<move file="files.csv.lzma" tofile="files.lzma"/>
<exec executable="lzma">
<arg value="-k"/>
<arg value="-z"/>
<arg value="demo.csv"/>
</exec>
<move file="demo.csv.lzma" tofile="demo.lzma"/>
</target>
<target name="jar" depends="compile,compresslist">
<manifest file="MANIFEST.MF">
<attribute name="Main-Class" value="GUI"/>
</manifest>
<jar destfile="ednaunpack.jar" manifest="MANIFEST.MF" basedir="." includes="**/*.class files.lzma demo.lzma"/>
</target>
<target name="clean">
<delete>
<fileset dir=".">
<include name="**/*.class"/>
<include name="MANIFEST.MF"/>
<include name="files.lzma"/>
<include name="demo.lzma"/>
</fileset>
</delete>
</target>
</project>