-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.xml
51 lines (43 loc) · 1.43 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
<project>
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes" classpathref="classpath"
debug="true" debuglevel="lines,vars,source">
<compilerarg value="-Xlint:unchecked"/>
</javac>
</target>
<target name="wuhwuh">
<mkdir dir="build/classes"/>
<javac srcdir="src" destdir="build/classes" classpathref="classpath"/>
</target>
<target name="jar">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/Walletd.jar" basedir="build/classes">
<manifest>
<attribute name="Main-Class" value="fi.bittiraha.walletd.Main"/>
</manifest>
</jar>
</target>
<target name="historyjar">
<mkdir dir="build/jar"/>
<jar destfile="build/jar/History.jar" basedir="build/classes">
<manifest>
<attribute name="Main-Class" value="fi.bittiraha.walletd.History"/>
</manifest>
</jar>
</target>
<target name="run">
<java fork="true" classname="fi.bittiraha.walletd.Main">
<classpath>
<path refid="classpath"/>
<path location="build/jar/Walletd.jar"/>
</classpath>
</java>
</target>
<path id="classpath">
<fileset dir="lib" includes="**/*.jar"/>
</path>
</project>