-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.xml
29 lines (25 loc) · 960 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
<?xml version="1.0" ?>
<project default="main">
<target name="main" depends="compile, compress" description="Main target">
<echo>
Building the .jar file.
</echo>
</target>
<target name="compile" description="Compilation target">
<javac srcdir="src"/>
</target>
<target name="compress" description="Compression target">
<property name="version.num" value="1.00"/>
<buildnumber file="build.num"/>
<delete file="freval.jar"/>
<delete file="MANIFEST.MF"/>
<manifest file="MANIFEST.MF">
<attribute name="Built-By" value="${user.name}"/>
<attribute name="Main-Class" value="bastings.freval.Freval"/>
<attribute name="Implementation-Version"
value="${version.num}-b${build.number}"/>
</manifest>
<jar jarfile="freval.jar" basedir="src"
includes="**/*.class" manifest="MANIFEST.MF" />
</target>
</project>