[pkg-java] r3539 - in trunk/aspectj/debian: . patches

tgg at alioth.debian.org tgg at alioth.debian.org
Thu May 24 10:45:27 UTC 2007


Author: tgg
Date: 2007-05-24 10:45:27 +0000 (Thu, 24 May 2007)
New Revision: 3539

Added:
   trunk/aspectj/debian/jar_from_src_zip.xml
Removed:
   trunk/aspectj/debian/patches/03_handcompile_modified_bcel.diff
Log:
use a plain ant build script rather than a patch; it will be used for ext as well


Added: trunk/aspectj/debian/jar_from_src_zip.xml
===================================================================
--- trunk/aspectj/debian/jar_from_src_zip.xml	                        (rev 0)
+++ trunk/aspectj/debian/jar_from_src_zip.xml	2007-05-24 10:45:27 UTC (rev 3539)
@@ -0,0 +1,35 @@
+<!-- Simple Ant buildfile to compile AspectJ modified version of   -->
+<!-- the Apache BCEL library.                                      -->
+<!--                                                               -->
+<!-- Written by Thomas Girard <thomas.g.girard at free.fr> for Debian -->
+<project name="aj-bcel" default="jar" basedir=".">
+  <property name="src.dir" location="extracted"/>
+  <property name="bin.dir" location="classes"/>
+  <property name="src.jar" location="bcel-src.zip"/>
+  <property name="bin.jar" location="bcel.jar"/>
+
+  <target name="jar" depends="compile">
+    <jar jarfile="${bin.jar}" basedir="${bin.dir}"/>
+  </target>
+
+  <target name="compile" depends="extract">
+    <mkdir dir="${bin.dir}"/>
+    <javac srcdir="${src.dir}" destdir="${bin.dir}" debug="on" classpath="/usr/share/java/regexp.jar"/>
+  </target>
+
+  <target name="extract" depends="checkExtracted" unless="extract.notRequired">
+    <delete dir="${src.dir}" quiet="true"/>
+    <mkdir dir="${src.dir}"/>    
+    <unzip src="${src.jar}" dest="${src.dir}"/>
+  </target>
+
+  <target name="checkExtracted">
+    <uptodate property="extract.notRequired" srcfile="${src.jar}" targetfile="${src.dir}"/>
+  </target>
+
+  <target name="clean">
+    <delete dir="${src.dir}" quiet="true"/>
+    <delete dir="${bin.dir}" quiet="true"/>
+    <delete file="${bin.jar}" quiet="true"/>
+  </target>
+</project>

Deleted: trunk/aspectj/debian/patches/03_handcompile_modified_bcel.diff
===================================================================
--- trunk/aspectj/debian/patches/03_handcompile_modified_bcel.diff	2007-05-23 23:37:30 UTC (rev 3538)
+++ trunk/aspectj/debian/patches/03_handcompile_modified_bcel.diff	2007-05-24 10:45:27 UTC (rev 3539)
@@ -1,38 +0,0 @@
---- /dev/null	2007-01-04 21:54:14.000000000 +0000
-+++ aspectj/modules/lib/bcel/build.xml	2007-05-23 22:41:59.000000000 +0000
-@@ -0,0 +1,35 @@
-+<!-- Simple Ant buildfile to compile AspectJ modified version of   -->
-+<!-- the Apache BCEL library.                                      -->
-+<!--                                                               -->
-+<!-- Written by Thomas Girard <thomas.g.girard at free.fr> for Debian -->
-+<project name="aj-bcel" default="jar" basedir=".">
-+  <property name="src.dir" location="extracted"/>
-+  <property name="bin.dir" location="classes"/>
-+  <property name="src.jar" location="bcel-src.zip"/>
-+  <property name="bin.jar" location="bcel.jar"/>
-+
-+  <target name="jar" depends="compile">
-+    <jar jarfile="${bin.jar}" basedir="${bin.dir}"/>
-+  </target>
-+
-+  <target name="compile" depends="extract">
-+    <mkdir dir="${bin.dir}"/>
-+    <javac srcdir="${src.dir}" destdir="${bin.dir}" debug="on" classpath="/usr/share/java/regexp.jar"/>
-+  </target>
-+
-+  <target name="extract" depends="checkExtracted" unless="extract.notRequired">
-+    <delete dir="${src.dir}" quiet="true"/>
-+    <mkdir dir="${src.dir}"/>    
-+    <unzip src="${src.jar}" dest="${src.dir}"/>
-+  </target>
-+
-+  <target name="checkExtracted">
-+    <uptodate property="extract.notRequired" srcfile="${src.jar}" targetfile="${src.dir}"/>
-+  </target>
-+
-+  <target name="clean">
-+    <delete dir="${src.dir}" quiet="true"/>
-+    <delete dir="${bin.dir}" quiet="true"/>
-+    <delete file="${bin.jar}" quiet="true"/>
-+  </target>
-+</project>




More information about the pkg-java-commits mailing list