-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-jar.xml
More file actions
30 lines (29 loc) · 850 Bytes
/
build-jar.xml
File metadata and controls
30 lines (29 loc) · 850 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
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?eclipse.ant.import?>
<project>
<!--
Can't make it depend on build because that's in a different build file.
So just run
ant build jar
-->
<property name="version.num" value="0.1" />
<target name="jar">
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd HH:mm:ss" />
</tstamp>
<manifest file="MANIFEST.MF">
<attribute name="Implementation-Version" value="${version.num}.r${version}" />
<attribute name="Built-Date" value="${TODAY}" />
</manifest>
<copy todir="bin/org/osmdroid">
<fileset dir="assets" />
</copy>
<jar destfile="tiledroid-${version.num}.jar" manifest="MANIFEST.MF">
<fileset dir="bin">
<include name="**/*.class" />
<include name="**/*.png" />
<exclude name="**/*Test.class" />
</fileset>
</jar>
</target>
</project>