summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-08-05 16:56:06 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-08-05 16:56:06 +0000
commitd17edce8f616e246c4e32ab50c72670823f0e260 (patch)
treee73ff7259305a62641139abb9e513375917a69ee /dev-java/aspectwerkz/files
parentAdded java5 for aspectwerkz (diff)
downloadgentoo-2-d17edce8f616e246c4e32ab50c72670823f0e260.tar.gz
gentoo-2-d17edce8f616e246c4e32ab50c72670823f0e260.tar.bz2
gentoo-2-d17edce8f616e246c4e32ab50c72670823f0e260.zip
Introduced java5 use flag, for building Java 5 specific features of aspectwerkz. This allows us to not require Java 5 expliticly, and addresses bug #142750.
(Portage version: 2.1.1_pre4-r2)
Diffstat (limited to 'dev-java/aspectwerkz/files')
-rw-r--r--dev-java/aspectwerkz/files/aspectwerkz-2.0_rc2-jdk15.patch82
-rw-r--r--dev-java/aspectwerkz/files/digest-aspectwerkz-2.0_rc2-r23
2 files changed, 85 insertions, 0 deletions
diff --git a/dev-java/aspectwerkz/files/aspectwerkz-2.0_rc2-jdk15.patch b/dev-java/aspectwerkz/files/aspectwerkz-2.0_rc2-jdk15.patch
new file mode 100644
index 000000000000..855fd132e365
--- /dev/null
+++ b/dev-java/aspectwerkz/files/aspectwerkz-2.0_rc2-jdk15.patch
@@ -0,0 +1,82 @@
+diff -ru aw_2_0_2/build.xml aw_2_0_2-patched/build.xml
+--- aw_2_0_2/build.xml 2004-12-10 10:44:44.000000000 -0500
++++ aw_2_0_2-patched/build.xml 2006-08-05 11:43:03.000000000 -0400
+@@ -145,7 +145,7 @@
+ <target name="compile:test" depends="init, compile">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${test.classes}"/>
+- <javac destdir="${test.classes}" debug="on">
++ <javac destdir="${test.classes}" debug="on" target="1.3" source="1.3">
+ <src path="${test.src.dir}"/>
+ <classpath>
+ <path path="${jdk14.classes}"/>
+@@ -164,9 +164,9 @@
+ <!-- ============================================================== -->
+ <!-- compiles the Java5 stuff -->
+ <!-- ============================================================== -->
+- <target name="compile:jdk15" depends="init" if="jdk15">
++ <target name="compile:jdk15" depends="init" if="jdk15" unless="nojdk15">
+ <echo message="** Found jdk15 specific compilation..."/>
+- <javac destdir="${jdk15.classes}" deprecation="true" debug="true" optimize="false" source="1.5">
++ <javac destdir="${jdk15.classes}" deprecation="true" debug="true" optimize="false" source="1.5" target="1.5">
+ <src>
+ <pathelement location="src/jdk15/main">
+ </pathelement>
+@@ -290,7 +290,7 @@
+ <antcall target="dist:jdk15"/>
+ </target>
+
+- <target name="dist:jdk15" if="jdk15">
++ <target name="dist:jdk15" if="jdk15" unless="nojdk15">
+ <!-- Java 5 annotation and JVMTI agent if J2SE 5 build -->
+ <jar destfile="${build.dir}/aspectwerkz-jdk5-${version}.jar" manifest="${lib.dir}/manifest-core.mf">
+ <fileset dir="${jdk15.classes}"/>
+@@ -344,10 +344,10 @@
+ <!-- =================================================== -->
+ <!-- JDK 5 tests that have been weaved offline -->
+ <!-- =================================================== -->
+- <target name="test:offline:jdk15:call" if="jdk15">
++ <target name="test:offline:jdk15:call" if="jdk15" unless="nojdk15">
+ <antcall target="test:offline:jdk15"/>
+ </target>
+- <target name="test:offline:jdk15" depends="init, dist, test:annotationc, test:weave" if="jdk15">
++ <target name="test:offline:jdk15" depends="init, dist, test:annotationc, test:weave" if="jdk15" unless="nojdk15">
+ <property name="offline.classpath" value="${java.home}/../lib/tools.jar${pathseparator}${lib.dir}/ant-1.5.2.jar${pathseparator}${test.classes}${pathseparator}${lib.dir}/aspectwerkz-jdk5-${version}.jar${pathseparator}${lib.dir}/aspectwerkz-core-${version}.jar${pathseparator}${lib.dir}/aspectwerkz-${version}.jar${pathseparator}${lib.dir}/piccolo-1.03.jar${pathseparator}${lib.dir}/qdox-1.4.jar${pathseparator}${lib.dir}/junit-3.8.1.jar${pathseparator}${lib.dir}/dom4j-1.4.jar"/>
+ <java
+ classname="test.AllJdk5Tests"
+@@ -406,7 +406,7 @@
+ <!-- =================================================== -->
+ <!-- all tests for JDK 5 -->
+ <!-- =================================================== -->
+- <target name="test:jdk15:call" if="jdk15">
++ <target name="test:jdk15:call" if="jdk15" unless="nojdk15">
+ <antcall target="test:jdk15"/>
+ </target>
+ <target name="test:jdk15" depends="clean, dist, test:annotationc" if="jdk15">
+@@ -634,7 +634,7 @@
+ </java>
+ </target>
+
+- <target name="samples:jdk5:callback" depends="init, clean, dist" if="jdk15" >
++ <target name="samples:jdk5:callback" depends="init, clean, dist" if="jdk15" unless="nojdk15" >
+ <java classname="examples.callback.Callback" fork="true">
+ <classpath>
+ <pathelement path="${jdk15.classes}"/>
+@@ -646,7 +646,7 @@
+ </java>
+ </target>
+
+- <target name="samples:jdk5:callback:hook" depends="init, clean, dist" if="jdk15">
++ <target name="samples:jdk5:callback:hook" depends="init, clean, dist" if="jdk15" unless="nojdk15">
+ <java classname="examples.callback.Callback" fork="true">
+ <classpath>
+ <pathelement path="${samples.classes}"/>
+@@ -657,7 +657,7 @@
+ </java>
+ </target>
+
+- <target name="samples:jdk5:proxy" depends="init, clean, dist" if="jdk15">
++ <target name="samples:jdk5:proxy" depends="init, clean, dist" if="jdk15" unless="nojdk15">
+ <java classname="examples.proxy.Proxy5" fork="true">
+ <classpath>
+ <pathelement path="${jdk15.classes}"/>
diff --git a/dev-java/aspectwerkz/files/digest-aspectwerkz-2.0_rc2-r2 b/dev-java/aspectwerkz/files/digest-aspectwerkz-2.0_rc2-r2
new file mode 100644
index 000000000000..fe6c79641bbe
--- /dev/null
+++ b/dev-java/aspectwerkz/files/digest-aspectwerkz-2.0_rc2-r2
@@ -0,0 +1,3 @@
+MD5 7ca18b72216703d52cf1dcfefb87822f aspectwerkz-2.0.RC2.zip 9758873
+RMD160 75fce715072b274432d8dee8b751675399f9e96b aspectwerkz-2.0.RC2.zip 9758873
+SHA256 ca3786ee34d7b339bee93944a1c136dcb2aaf783fd60ea88948c3bf19894e1a8 aspectwerkz-2.0.RC2.zip 9758873