-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.xml
More file actions
40 lines (35 loc) · 947 Bytes
/
build.xml
File metadata and controls
40 lines (35 loc) · 947 Bytes
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
<project name="jarlauncher" default="dist">
<target name="clean">
<delete dir="build"/>
</target>
<target name="compile">
<mkdir dir="build/classes"/>
<javac srcdir="src"
destdir="build/classes"
includeantruntime="true"
encoding="UTF-8" debug="true"
source="1.5"
target="1.5">
</javac>
<copy todir="build/classes">
<fileset dir="src">
<exclude name="**/*.java"/>
</fileset>
</copy>
<!-- Define tasks -->
<!--
<taskdef name="jarexec" classname="net.rcode.buildtools.JarExecTask">
<classpath>
<pathelement location="${build.tools.classes}"/>
</classpath>
</taskdef>
-->
</target>
<target name="dist" depends="compile">
<mkdir dir="build/dist"/>
<jar jarfile="build/dist/jarlauncher-ant.jar" basedir="build/classes"/>
</target>
<target name="update-winlauncher">
<copy todir="src/net/rcode/buildtools" file="windows_native/winlauncher.exe"/>
</target>
</project>