-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
40 lines (27 loc) · 1.13 KB
/
build.xml
File metadata and controls
40 lines (27 loc) · 1.13 KB
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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<project default="bootstrapper-jar" name="Create Runnable Jar for Vanted Botstrap Loader">
<target name="bootstrapper-jar" depends="compile">
<jar destfile="jar/vanted-boot.jar" basedir="bin">
<manifest>
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Class-Path" value="."/>
<attribute name="Main-Class" value="edu.monash.vanted.boot.VantedBootstrap"/>
<!-- since Java 7u51 the jar manifest needs the permission attribute for webstart -->
<attribute name="Permissions" value="all-permissions"/>
</manifest>
</jar>
</target>
<target name="compile" depends="clean, init">
<javac target="1.8" source="1.8" encoding="utf-8" srcdir="src" destdir="bin" includeantruntime="false"/>
<copy todir="bin">
<fileset dir="resources"/>
</copy>
</target>
<target name="clean">
<delete dir="bin"/>
<delete dir="jar"/>
</target>
<target name="init">
<mkdir dir="bin"/>
</target>
</project>