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

tgg at alioth.debian.org tgg at alioth.debian.org
Fri May 18 22:18:25 UTC 2007


Author: tgg
Date: 2007-05-18 22:18:25 +0000 (Fri, 18 May 2007)
New Revision: 3520

Modified:
   trunk/aspectj/debian/patches/02_use_gjdoc.diff
   trunk/aspectj/debian/rules
Log:
use gjdoc


Modified: trunk/aspectj/debian/patches/02_use_gjdoc.diff
===================================================================
--- trunk/aspectj/debian/patches/02_use_gjdoc.diff	2007-05-18 17:58:47 UTC (rev 3519)
+++ trunk/aspectj/debian/patches/02_use_gjdoc.diff	2007-05-18 22:18:25 UTC (rev 3520)
@@ -25,3 +25,13 @@
  //				throw new UnsupportedOperationException("ajdoc requires a tools library from JDK 1.4 or later.");
  			}
  			try {
+--- aspectj.orig/modules/ajdoc/.classpath	2005-10-06 15:36:07.000000000 +0000
++++ aspectj/modules/ajdoc/.classpath	2007-05-18 22:00:43.000000000 +0000
+@@ -7,6 +7,7 @@
+ 	<classpathentry kind="src" path="/util"/>
+ 	<classpathentry kind="src" path="testsrc"/>
+ 	<classpathentry sourcepath="/lib/junit/junit-src.jar" kind="lib" path="/lib/junit/junit.jar"/>
++	<classpathentry kind="lib" path="/lib/gnu-classpath-tools-gjdoc.jar"/>
+ 	<classpathentry kind="var" path="JAVA_HOME/lib/tools.jar"/>
+ 	<classpathentry kind="var" path="JRE14_LIB"/>
+ 	<classpathentry kind="output" path="bin"/>

Modified: trunk/aspectj/debian/rules
===================================================================
--- trunk/aspectj/debian/rules	2007-05-18 17:58:47 UTC (rev 3519)
+++ trunk/aspectj/debian/rules	2007-05-18 22:18:25 UTC (rev 3520)
@@ -35,6 +35,10 @@
 
 	# Setup our local.properties
 	cp debian/local.properties $(DEB_BUILDDIR)
+
+	# Also symlink gjdoc.jar
+	$(LN_S) /usr/share/java/gnu-classpath-tools-gjdoc.jar modules/lib
+
 clean::
 	rm -Rf $(AJ_ANT_HOME)
 	rm -Rf $(AJ_JUNIT_HOME)




More information about the pkg-java-commits mailing list