[pkg-java] r4128 - in trunk/libyanfs-java: . debian

varun-guest at alioth.debian.org varun-guest at alioth.debian.org
Fri Sep 7 15:38:46 UTC 2007


Author: varun-guest
Date: 2007-09-07 15:38:46 +0000 (Fri, 07 Sep 2007)
New Revision: 4128

Added:
   trunk/libyanfs-java/build.properties
   trunk/libyanfs-java/build.xml
Modified:
   trunk/libyanfs-java/debian/rules
Log:
* Add build scripts. 


Added: trunk/libyanfs-java/build.properties
===================================================================
--- trunk/libyanfs-java/build.properties	                        (rev 0)
+++ trunk/libyanfs-java/build.properties	2007-09-07 15:38:46 UTC (rev 4128)
@@ -0,0 +1,4 @@
+class.dir=class
+source.dir=src
+doc.dir=api
+jar.name=yanfs.jar

Added: trunk/libyanfs-java/build.xml
===================================================================
--- trunk/libyanfs-java/build.xml	                        (rev 0)
+++ trunk/libyanfs-java/build.xml	2007-09-07 15:38:46 UTC (rev 4128)
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<project default="jar" name="yanfs" basedir=".">
+  <property file="./build.properties" />
+  <target name="clean">
+    <delete dir="${class.dir}" quiet="true" />
+    <delete file="${jar.name}" quiet="true" />
+    <delete dir="${doc.dir}" quiet="true" />
+  </target>
+
+  <target name="compile">
+    <mkdir dir="${class.dir}" />
+    <javac srcdir="${source.dir}" destdir="${class.dir}"
+    deprecation="true" debug="true" optimize="false" />
+  </target>
+
+  <target name="jar" description="o Create the jar" depends="compile">
+    <jar jarfile="${jar.name}" basedir="${class.dir}"/>
+  </target>
+
+  <target name="javadoc" description="Creates Javadoc documentation">
+    <mkdir dir="${doc.dir}" />
+    <javadoc packagenames="com.sun.*"
+    sourcepath="${source.dir}" destdir="${doc.dir}" />
+  </target>
+
+  <target name="install" depends="jar">
+    <mkdir dir="${destdir}/usr/share/java/" />
+    <copy todir="${destdir}/usr/share/java/">
+      <fileset file="${jar.name}" />
+    </copy>
+  </target>
+</project>

Modified: trunk/libyanfs-java/debian/rules
===================================================================
--- trunk/libyanfs-java/debian/rules	2007-09-07 10:17:37 UTC (rev 4127)
+++ trunk/libyanfs-java/debian/rules	2007-09-07 15:38:46 UTC (rev 4128)
@@ -7,8 +7,8 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
-JAVA_HOME              := /usr/lib/jvm/java-gcj
-DEB_ANT_BUILD_TARGET   := jar javadoc
+JAVA_HOME		:= /usr/lib/jvm/java-gcj
+DEB_ANT_BUILD_TARGET	:= jar javadoc
 
 clean::
 	(cd ./src/com/sun/gssapi/mechs/dummy/; $(RM) Dummy.java DummyCtxt.java)	




More information about the pkg-java-commits mailing list