summaryrefslogtreecommitdiffstats
path: root/etc/targets/global-jar.xml
diff options
context:
space:
mode:
authorShevek <[email protected]>2008-03-21 23:05:04 +0000
committerShevek <[email protected]>2008-03-21 23:05:04 +0000
commit5ff55648127c8a8e1b9829775045af986e37647c (patch)
treeb28209b1efe12824fbdcabd4ee9073e93ca30636 /etc/targets/global-jar.xml
parentfca34200881fcaf7b84b4210f7a5f40c8925c4d1 (diff)
move stuff into trunk
Diffstat (limited to 'etc/targets/global-jar.xml')
-rw-r--r--etc/targets/global-jar.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/etc/targets/global-jar.xml b/etc/targets/global-jar.xml
new file mode 100644
index 0000000..22b6cd4
--- /dev/null
+++ b/etc/targets/global-jar.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<project name="global-jar" basedir=".">
+
+ <target name="global-jar" depends="global-compile">
+ <delete dir="${global.dir.build.jar}" />
+ <mkdir dir="${global.dir.build.jar}" />
+ <mkdir dir="${global.dir.build.tar}/lib" />
+ <mkdir dir="${global.dir.src.resources}" />
+
+ <copy todir="${global.dir.build.jar}">
+ <fileset dir="${global.dir.build.java}">
+ <include name="**/*.dat" />
+ </fileset>
+ <fileset dir="${global.dir.build.classes}">
+ <include name="**" />
+ </fileset>
+ <fileset dir="${global.dir.src.resources}">
+ <include name="log4j.properties" />
+ </fileset>
+ </copy>
+
+ <jar
+ destfile="${global.file.jar}"
+ manifest="etc/MANIFEST"
+ index="true"
+ compress="${system.jar.compress}">
+ <fileset dir="${global.dir.build.jar}" />
+ <manifest>
+ <attribute name="Built-By" value="${user.name}" />
+ </manifest>
+ </jar>
+ </target>
+
+</project>