[jruby-joni] 05/223: Move build.xml

Hideki Yamane henrich at moszumanska.debian.org
Mon Nov 16 11:21:38 UTC 2015


This is an automated email from the git hooks/post-receive script.

henrich pushed a commit to branch debian/sid
in repository jruby-joni.

commit b30518ddc240db3bafcd585db81e4652f3f0fb01
Author: Nick Sieger <nick at nicksieger.com>
Date:   Mon Jan 7 01:51:16 2008 +0000

    Move build.xml
    
    
    git-svn-id: http://svn.codehaus.org/jruby/joni/trunk@5520 961051c9-f516-0410-bf72-c9f7e237a7b7
---
 build.xml | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/build.xml b/build.xml
new file mode 100644
index 0000000..04a54ef
--- /dev/null
+++ b/build.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" ?>
+<project name="Joni" default="build">
+
+    <property name="src.dir" value="src" />
+    <property name="bin.dir" value="target/classes" />
+    <property name="dist.dir" value="target" />
+    <property name="jar.name" value="joni.jar" />
+
+    <target name="clean">
+        <delete dir="${bin.dir}" />
+        <delete dir="${dist.dir}" />
+
+    </target>
+
+    <target name="compile">
+        <mkdir dir="${bin.dir}" />
+        <javac srcdir="${src.dir}" destdir="${bin.dir}"/>
+    </target>
+    
+    <target name="build" depends="compile">
+        <mkdir dir="${dist.dir}" />
+
+        <tstamp>
+            <format property="buildDate" pattern="yyyy-MM-dd" />
+            <format property="buildTime" pattern="HH:mm:ss" />
+        </tstamp>
+
+        <jar destfile="${dist.dir}/${jar.name}" manifest="MANIFEST.MF">
+            <fileset dir="${bin.dir}" />
+
+            <manifest>
+                <attribute name="Built-By" value="${user.name}" />
+                <attribute name="Built-Date" value="${buildDate}" />
+                <attribute name="Built-Time" value="${buildTime}" />
+            </manifest>
+        </jar>
+
+    </target>
+</project>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git



More information about the pkg-java-commits mailing list