[jboss-cvs] JBossAS SVN: r72551 - in projects/aop/trunk/aop/docs/examples: after-throwing and 38 other directories.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 22 04:46:47 EDT 2008
Author: stalep
Date: 2008-04-22 04:46:46 -0400 (Tue, 22 Apr 2008)
New Revision: 72551
Modified:
projects/aop/trunk/aop/docs/examples/after-throwing/build.xml
projects/aop/trunk/aop/docs/examples/all/build.xml
projects/aop/trunk/aop/docs/examples/annotated-aspects/build.xml
projects/aop/trunk/aop/docs/examples/annotated-cflow/build.xml
projects/aop/trunk/aop/docs/examples/annotated-composition/build.xml
projects/aop/trunk/aop/docs/examples/annotated-declare/build.xml
projects/aop/trunk/aop/docs/examples/annotated-dynamic-cflow/build.xml
projects/aop/trunk/aop/docs/examples/annotated-interceptors/build.xml
projects/aop/trunk/aop/docs/examples/annotated-introduction/build.xml
projects/aop/trunk/aop/docs/examples/annotated-parameters/build.xml
projects/aop/trunk/aop/docs/examples/annotated-precedence/build.xml
projects/aop/trunk/aop/docs/examples/annotated-typedef/build.xml
projects/aop/trunk/aop/docs/examples/annotation-introductions/build.xml
projects/aop/trunk/aop/docs/examples/annotation/build.xml
projects/aop/trunk/aop/docs/examples/aspect/build.xml
projects/aop/trunk/aop/docs/examples/beanstyleconf/build.xml
projects/aop/trunk/aop/docs/examples/beforeafter/build.xml
projects/aop/trunk/aop/docs/examples/caller/build.xml
projects/aop/trunk/aop/docs/examples/cflow/build.xml
projects/aop/trunk/aop/docs/examples/composition/build.xml
projects/aop/trunk/aop/docs/examples/constructor-execution/build.xml
projects/aop/trunk/aop/docs/examples/declare/build.xml
projects/aop/trunk/aop/docs/examples/dynamic-aop/build.xml
projects/aop/trunk/aop/docs/examples/dynamic-cflow/build.xml
projects/aop/trunk/aop/docs/examples/examples-build.xml
projects/aop/trunk/aop/docs/examples/examples.html
projects/aop/trunk/aop/docs/examples/field-execution/build.xml
projects/aop/trunk/aop/docs/examples/finally/build.xml
projects/aop/trunk/aop/docs/examples/implements/build.xml
projects/aop/trunk/aop/docs/examples/injboss/build.xml
projects/aop/trunk/aop/docs/examples/instanceof/build.xml
projects/aop/trunk/aop/docs/examples/introductions/build.xml
projects/aop/trunk/aop/docs/examples/ioc-with-has/build.xml
projects/aop/trunk/aop/docs/examples/metadata/build.xml
projects/aop/trunk/aop/docs/examples/method-execution/build.xml
projects/aop/trunk/aop/docs/examples/overloaded-advices/build.xml
projects/aop/trunk/aop/docs/examples/packaging/build.xml
projects/aop/trunk/aop/docs/examples/precedence/build.xml
projects/aop/trunk/aop/docs/examples/return-types/build.xml
projects/aop/trunk/aop/docs/examples/stacks/build.xml
projects/aop/trunk/aop/docs/examples/typedef/build.xml
projects/aop/trunk/aop/docs/examples/valid_targets_annotated.html
projects/aop/trunk/aop/docs/examples/valid_targets_not_annotated.html
Log:
[JBAOP-559] removed jdk1.4 references
Modified: projects/aop/trunk/aop/docs/examples/after-throwing/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/after-throwing/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/after-throwing/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/all/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/all/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/all/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-aspects/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-aspects/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-aspects/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-cflow/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-cflow/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-cflow/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-composition/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-composition/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-composition/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-declare/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-declare/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-declare/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-dynamic-cflow/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-dynamic-cflow/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-dynamic-cflow/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-interceptors/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-interceptors/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-interceptors/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-introduction/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-introduction/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-introduction/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-parameters/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-parameters/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-parameters/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-precedence/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-precedence/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-precedence/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotated-typedef/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-typedef/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotated-typedef/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50.annotated"/>
<target name="run.loadtime.50" depends="_run.loadtime.50.annotated"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro.annotated"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro.annotated"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotation/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotation/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotation/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/annotation-introductions/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotation-introductions/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/annotation-introductions/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/aspect/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/aspect/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/aspect/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/beanstyleconf/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/beanstyleconf/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/beanstyleconf/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/beforeafter/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/beforeafter/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/beforeafter/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/caller/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/caller/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/caller/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/cflow/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/cflow/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/cflow/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/composition/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/composition/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/composition/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/constructor-execution/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/constructor-execution/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/constructor-execution/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/declare/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/declare/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/declare/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/dynamic-aop/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/dynamic-aop/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/dynamic-aop/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/dynamic-cflow/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/dynamic-cflow/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/dynamic-cflow/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/examples-build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/examples-build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/examples-build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -10,36 +10,20 @@
<echo>Run one of the following targets:</echo>
<echo> ant run.aopc.50 Run with compile-time weaving with JDK 5</echo>
<echo> ant run.loadtime.50 Run with loadtime weaving with JDK 5</echo>
- <echo> ant run.aopc.14 Run with compile-time weaving with JDK 1.4</echo>
- <echo> ant run.loadtime.14 Run with loadtime weaving with JDK 1.4</echo>
</target>
<target name="_prepare"
description="Set up the common paths and properties needed later">
<property name="jboss.aop.root" value="../../../.."/>
- <property name="jboss.aop.lib14" value="${jboss.aop.root}/lib-14"/>
<property name="jboss.aop.lib50" value="${jboss.aop.root}/lib-50"/>
- <path id="jboss.aop.classpath14">
- <fileset dir="${jboss.aop.lib14}">
- <include name="*.jar"/>
- </fileset>
- </path>
-
<path id="jboss.aop.classpath50">
<fileset dir="${jboss.aop.lib50}">
<include name="*.jar"/>
</fileset>
</path>
- <path id="jboss.retro.classpath">
- <path refid="jboss.aop.classpath50"/>
- <fileset dir="${jboss.aop.lib50}/retro">
- <include name="*.jar"/>
- </fileset>
- </path>
-
<property name="aop50jar" value="${jboss.aop.lib50}/jboss-aop-jdk50.jar"/>
<path id="classpath50">
@@ -47,11 +31,6 @@
<pathelement path="."/>
</path>
- <path id="classpath14">
- <path refid="jboss.aop.classpath14"/>
- <pathelement path="."/>
- </path>
-
<delete>
<fileset dir="." includes="**/*.class"/>
</delete>
@@ -73,34 +52,6 @@
</javac>
</target>
-
- <target name="_compile14" depends="_prepare"
- description="Compile the sources with JDK 1.4">
-
- <javac srcdir="."
- destdir="."
- debug="on"
- deprecation="on"
- optimize="off"
- includes="**">
- <classpath refid="classpath14"/>
- </javac>
- </target>
-
-
- <target name="_retro" depends="_compile50"
- description="Translate JDK 5 class files so they are runnable with JDK 1.4">
-
- <taskdef name="retro" classname="org.jboss.ant.tasks.retro.Retro" classpathref="jboss.retro.classpath"/>
-
- <retro compilerclasspathref="jboss.retro.classpath" destdir=".">
- <classpath refid="jboss.retro.classpath"/>
- <classpath path="."/>
- <src path="."/>
- </retro>
- </target>
-
-
<target name="_aopc50" depends="_compile50"
description="Compile-time weave the classes (JDK 5) using a jboss-aop.xml file">
@@ -129,81 +80,6 @@
</target>
- <target name="_aopc14" depends="_compile14"
- description="Compile-time weave the classes (JDK 1.4) using a jboss-aop.xml file">
-
- <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath14"/>
-
- <aopc compilerclasspathref="classpath14" classpathref="classpath14">
- <sysproperty key="jboss.aop.path" value="jboss-aop.xml"/>
- <classpath path="."/>
- <src path="."/>
- <aoppath path="jboss-aop.xml"/>
- </aopc>
- </target>
-
-
- <target name="_aopc14.annotated" depends="_compile14"
- description="Compile-time weave the classes (JDK 1.4) using annotations to configure">
-
- <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath14"/>
-
- <aopc compilerclasspathref="classpath14" classpathref="classpath14">
- <sysproperty key="jboss.aop.class.path" value="."/>
- <classpath path="."/>
- <src path="."/>
- <aopclasspath path="."/>
- </aopc>
- </target>
-
-
- <target name="_aopc14.retro" depends="_retro"
- description="Compile-time weave the retroed classes (JDK 1.4) using a jboss-aop.xml file">
-
- <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath14"/>
-
- <aopc compilerclasspathref="classpath14" classpathref="classpath14">
- <sysproperty key="jboss.aop.path" value="jboss-aop.xml"/>
- <classpath path="."/>
- <src path="."/>
- <aoppath path="jboss-aop.xml"/>
- </aopc>
- </target>
-
-
- <target name="_aopc14.retro.annotated" depends="_retro"
- description="Compile-time weave the retroed classes (JDK 1.4) using annotations to configure">
-
- <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath14"/>
-
- <aopc compilerclasspathref="classpath14" classpathref="classpath14">
- <sysproperty key="jboss.aop.class.path" value="."/>
- <classpath path="."/>
- <src path="."/>
- <aopclasspath path=""/>
- </aopc>
- </target>
-
-
- <target name="_create-classloader-hook14" depends="_prepare"
- description="Create the woven classloader for JDK 1.4 loadtime weaving">
-
- <!-- Create the classloader hook -->
- <mkdir dir="jboss.aop.lib14/jdk14hook"/>
- <java fork="yes" classname="org.jboss.aop.hook.GenerateInstrumentedClassLoader" jvm="">
- <classpath>
- <path refid="jboss.aop.classpath14"/>
- </classpath>
- <arg value="jboss.aop.lib14/jdk14hook"/>
- </java>
- </target>
-
- <target name="_setup.java14" depends="_prepare">
-
- <available file="${jdk14.java}" property="correct.jdk14"/>
- <fail unless="correct.jdk14" message="You should modify jdk14.java in ../examples.properties to point to a JDK 1.4 executable. '${jdk14.java}' is not a valid location"/>
- </target>
-
<!-- These are the main targets to be used -->
<target name="_run.aopc.50" depends="_aopc50"
@@ -225,37 +101,6 @@
</java>
</target>
-
- <target name="_run.aopc.14" depends="_aopc14"
- description="Run the example using compile-time weaving on JDK 1.4, using a jboss-aop.xml file">
-
- <java fork="yes" failOnError="true" className="Driver">
- <sysproperty key="jboss.aop.path" value="jboss-aop.xml"/>
- <classpath refid="classpath14"/>
- </java>
- </target>
-
-
- <target name="_run.aopc.14.retro" depends="_aopc14.retro, _setup.java14"
- description="Run the example using compile-time weaving on JDK 1.4, having compiled the classes using JDK 5 and jboss retro, using a jboss-aop.xml file">
-
- <java fork="yes" failOnError="true" className="Driver" jvm="${jdk14.java}">
- <sysproperty key="jboss.aop.path" value="jboss-aop.xml"/>
- <classpath refid="classpath14"/>
- </java>
- </target>
-
-
- <target name="_run.aopc.14.retro.annotated" depends="_aopc14.retro.annotated, _setup.java14"
- description="Run the example using compile-time weaving on JDK 1.4, having compiled the classes using JDK 5 and jboss retro, using annotations to configure">
-
- <java fork="yes" failOnError="true" className="Driver" jvm="${jdk14.java}">
- <sysproperty key="jboss.aop.class.path" value="."/>
- <classpath refid="classpath14"/>
- </java>
- </target>
-
-
<target name="_run.loadtime.50" depends="_compile50"
description="Run the example using loadtime-time weaving on JDK 5, using a jboss-aop.xml file">
@@ -277,81 +122,4 @@
</java>
</target>
-
- <target name="_run.loadtime.14" depends="_compile14"
- description="Run the example using loadtime-time weaving on JDK 1.4, using a jboss-aop.xml file">
-
- <!-- Create the classloader hook -->
- <mkdir dir="jboss.aop.lib14/jdk14hook"/>
- <java fork="yes" classname="org.jboss.aop.hook.GenerateInstrumentedClassLoader">
- <classpath>
- <path refid="jboss.aop.classpath14"/>
- </classpath>
- <arg value="${jboss.aop.lib14}/jdk14hook"/>
- </java>
-
- <path id="bootclasspath">
- <pathelement location="${jboss.aop.lib14}/jdk14hook"/>
- <path refid="jboss.aop.classpath14"/>
- </path>
- <property name="bootclasspath" refid="bootclasspath"/>
-
- <java fork="yes" failOnError="true" className="Driver">
- <sysproperty key="jboss.aop.path" value="jboss-aop.xml"/>
- <jvmarg value="-Xbootclasspath/p:${bootclasspath}"/>
- <classpath path="."/>
- </java>
- </target>
-
-
- <target name="_run.loadtime.14.retro" depends="_retro, _setup.java14"
- description="Run the example using loadtime-time weaving on JDK 1.4, having compiled the classes using JDK 5 and jboss retro, using a jboss-aop.xml file">
-
- <!-- Create the classloader hook -->
- <mkdir dir="jboss.aop.lib14/jdk14hook"/>
- <java fork="yes" classname="org.jboss.aop.hook.GenerateInstrumentedClassLoader" jvm="${jdk14.java}">
- <classpath>
- <path refid="jboss.aop.classpath14"/>
- </classpath>
- <arg value="${jboss.aop.lib14}/jdk14hook"/>
- </java>
-
- <path id="bootclasspath">
- <pathelement location="${jboss.aop.lib14}/jdk14hook"/>
- <path refid="jboss.aop.classpath14"/>
- </path>
- <property name="bootclasspath" refid="bootclasspath"/>
-
- <java fork="yes" failOnError="true" className="Driver" jvm="${jdk14.java}">
- <sysproperty key="jboss.aop.path" value="jboss-aop.xml"/>
- <jvmarg value="-Xbootclasspath/p:${bootclasspath}"/>
- <classpath path="."/>
- </java>
- </target>
-
- <target name="_run.loadtime.14.retro.annotated" depends="_retro, _setup.java14"
- description="Run the example using loadtime-time weaving on JDK 1.4, having compiled the classes using JDK 5 and jboss retro, using annotations">
-
- <!-- Create the classloader hook -->
- <mkdir dir="jboss.aop.lib14/jdk14hook"/>
- <java fork="yes" classname="org.jboss.aop.hook.GenerateInstrumentedClassLoader" jvm="${jdk14.java}">
- <classpath>
- <path refid="jboss.aop.classpath14"/>
- </classpath>
- <arg value="${jboss.aop.lib14}/jdk14hook"/>
- </java>
-
- <path id="bootclasspath">
- <pathelement location="${jboss.aop.lib14}/jdk14hook"/>
- <path refid="jboss.aop.classpath14"/>
- </path>
- <property name="bootclasspath" refid="bootclasspath"/>
-
- <java fork="yes" failOnError="true" className="Driver" jvm="${jdk14.java}">
- <sysproperty key="jboss.aop.class.path" value="."/>
- <jvmarg value="-Xbootclasspath/p:${bootclasspath}"/>
- <classpath path="."/>
- </java>
- </target>
-
-</project>
\ No newline at end of file
+</project>
Modified: projects/aop/trunk/aop/docs/examples/examples.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/examples.html 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/examples.html 2008-04-22 08:46:46 UTC (rev 72551)
@@ -5,7 +5,7 @@
</p><p>
This directory contains sample programs to test drive JBossAOP. They should probably be run in order, but feel free to skip around.
-<b>All the examples assume that JDK 5 is being used</b>, details of how to run with JDK 1.4 are contained in the individual tutorials.
+<b>All the examples assume that JDK 5 is being used</b>
</p><p>
<h3> XML examples</h3>
@@ -65,7 +65,6 @@
<ul>
<li> <a href="annotation/annotation.html">JDK 1.5 Annotations</a></li>
<li> <a href="metadata/metadata.html">JBoss AOP metadata</a></li>
-<li> <a href="annotation14/annotation.html">JDK 1.5 Annotations with JDK 1.4</a></li>
</ul>
</p><p>
<b>Advanced Features</b>
Modified: projects/aop/trunk/aop/docs/examples/field-execution/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/field-execution/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/field-execution/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/finally/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/finally/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/finally/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/implements/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/implements/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/implements/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/injboss/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/injboss/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/injboss/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -67,7 +67,7 @@
</path>
<path id="classpath">
- <path refid="jboss.aop.classpath14"/>
+ <path refid="jboss.aop.classpath50"/>
<path refid="jboss.classpath"/>
<pathelement path="."/>
</path>
@@ -79,7 +79,7 @@
<mkdir dir="${lib.dir}"/>
<mkdir dir="${basic.web.out.dir}"/>
<mkdir dir="${ear.web.out.dir}"/>
- <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath14"/>
+ <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath50"/>
</target>
<target name="compile" depends="prepare">
Modified: projects/aop/trunk/aop/docs/examples/instanceof/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/instanceof/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/instanceof/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/introductions/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/introductions/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/introductions/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/ioc-with-has/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/ioc-with-has/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/ioc-with-has/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/metadata/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/metadata/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/metadata/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -4,15 +4,7 @@
<import file="../examples-build.xml"/>
- <target name="annotationc" depends="_prepare">
- <!-- The annotation compiler only exists in the jdk 1.4 dist -->
- <taskdef name="annotationc" classname="org.jboss.aop.ant.AnnotationC" classpathref="jboss.aop.classpath14"/>
- <annotationc compilerclasspathref="classpath14" classpathref="classpath14" output="metadata-aop.xml" xml="true">
- <src path="."/>
- </annotationc>
- </target>
-
- <target name="aopc50" depends="_compile50, annotationc">
+ <target name="aopc50" depends="_compile50">
<taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath50"/>
<aopc compilerclasspathref="classpath50" classpathref="classpath50" verbose="true">
@@ -26,20 +18,6 @@
</target>
- <target name="aopc14" depends="_compile14, annotationc">
- <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath14"/>
-
- <aopc compilerclasspathref="classpath50" classpathref="classpath14" verbose="true">
- <classpath path="."/>
- <src path="."/>
- <aoppath>
- <pathelement path="jboss-aop.xml"/>
- <pathelement path="metadata-aop.xml"/>
- </aoppath>
- </aopc>
-
- </target>
-
<target name="run.aopc.50" depends="aopc50">
<java fork="yes" failOnError="true" className="Driver">
<sysproperty key="jboss.aop.path" value="metadata-aop.xml${path.separator}jboss-aop.xml"/>
@@ -47,7 +25,7 @@
</java>
</target>
- <target name="run.loadtime.50" depends="_compile50, annotationc">
+ <target name="run.loadtime.50" depends="_compile50">
<java fork="yes" failOnError="true" className="Driver">
<sysproperty key="jboss.aop.path" value="metadata-aop.xml${path.separator}jboss-aop.xml"/>
<classpath refid="classpath50"/>
@@ -55,33 +33,4 @@
</java>
</target>
- <target name="run.aopc.14" depends="aopc14">
- <java fork="yes" failOnError="true" className="Driver">
- <sysproperty key="jboss.aop.path" value="metadata-aop.xml${path.separator}jboss-aop.xml"/>
- <classpath refid="classpath14"/>
- </java>
- </target>
-
- <target name="run.loadtime.14" depends="_compile14, annotationc">
- <!-- Create the classloader hook -->
- <mkdir dir="jboss.aop.lib14/jdk14hook"/>
- <java fork="yes" classname="org.jboss.aop.hook.GenerateInstrumentedClassLoader">
- <classpath>
- <path refid="jboss.aop.classpath14"/>
- </classpath>
- <arg value="${jboss.aop.lib14}/jdk14hook"/>
- </java>
-
- <path id="bootclasspath">
- <pathelement location="${jboss.aop.lib14}/jdk14hook"/>
- <path refid="jboss.aop.classpath14"/>
- </path>
- <property name="bootclasspath" refid="bootclasspath"/>
-
- <java fork="yes" failOnError="true" className="Driver">
- <sysproperty key="jboss.aop.path" value="metadata-aop.xml${path.separator}jboss-aop.xml"/>
- <jvmarg value="-Xbootclasspath/p:${bootclasspath}"/>
- <classpath path="."/>
- </java>
- </target>
</project>
Modified: projects/aop/trunk/aop/docs/examples/method-execution/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/method-execution/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/method-execution/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/overloaded-advices/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/overloaded-advices/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/overloaded-advices/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/packaging/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/packaging/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/packaging/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -12,25 +12,9 @@
<sysproperty key="jboss.aop.path" value="jboss-aop.xml"/>
<sysproperty key="jboss.aop.verbose" value="true"/>
<classpath path="."/>
- <src path="."/>
- <aoppath path="resources/META-INF/jboss-aop.xml"/>
</aopc>
</target>
- <target name="_aopc14.private" depends="_compile14"
- description="Compile-time weave the classes (JDK 1.4) using a jboss-aop.xml file">
-
- <taskdef name="aopc" classname="org.jboss.aop.ant.AopC" classpathref="jboss.aop.classpath14"/>
-
- <aopc compilerclasspathref="classpath14" classpathref="classpath14" verbose="true">
- <sysproperty key="jboss.aop.path" value="jboss-aop.xml"/>
- <sysproperty key="jboss.aop.verbose" value="true"/>
- <classpath path="."/>
- <src path="."/>
- <aoppath path="resources/META-INF/jboss-aop.xml"/>
- </aopc>
- </target>
-
<target name="run.aopc.50" depends="_aopc50.private"
description="Run the example using compile-time weaving on JDK 5, using a jboss-aop.xml file">
@@ -68,55 +52,5 @@
</java>
</target>
- <target name="run.aopc.14" depends="_aopc14.private"
- description="Run the example using compile-time weaving on JDK 1.4, using a jboss-aop.xml file">
-
- <jar jarfile="example.jar">
- <fileset dir=".">
- <include name="*.class"/>
- </fileset>
- <fileset dir="resources">
- <include name="META-INF/jboss-aop.xml"/>
- </fileset>
- </jar>
-
- <java fork="yes" failOnError="true" className="Driver">
- <classpath refid="jboss.aop.classpath14"/>
- <classpath path="example.jar"/>
- </java>
- </target>
-
- <target name="run.loadtime.14" depends="_compile14"
- description="Run the example using loadtime-time weaving on JDK 1.4, using a jboss-aop.xml file">
-
- <jar jarfile="example.jar">
- <fileset dir=".">
- <include name="*.class"/>
- </fileset>
- <fileset dir="resources">
- <include name="META-INF/jboss-aop.xml"/>
- </fileset>
- </jar>
-
- <!-- Create the classloader hook -->
- <mkdir dir="jboss.aop.lib14/jdk14hook"/>
- <java fork="yes" classname="org.jboss.aop.hook.GenerateInstrumentedClassLoader">
- <classpath>
- <path refid="jboss.aop.classpath14"/>
- </classpath>
- <arg value="${jboss.aop.lib14}/jdk14hook"/>
- </java>
-
- <path id="bootclasspath">
- <pathelement location="${jboss.aop.lib14}/jdk14hook"/>
- <path refid="jboss.aop.classpath14"/>
- </path>
- <property name="bootclasspath" refid="bootclasspath"/>
-
- <java fork="yes" failOnError="true" className="Driver">
- <jvmarg value="-Xbootclasspath/p:${bootclasspath}"/>
- <classpath path="example.jar"/>
- </java>
- </target>
</project>
Modified: projects/aop/trunk/aop/docs/examples/precedence/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/precedence/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/precedence/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/return-types/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/return-types/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/return-types/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,8 +6,4 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14.retro"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14.retro"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/stacks/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/stacks/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/stacks/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/typedef/build.xml
===================================================================
--- projects/aop/trunk/aop/docs/examples/typedef/build.xml 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/typedef/build.xml 2008-04-22 08:46:46 UTC (rev 72551)
@@ -6,9 +6,5 @@
<target name="run.aopc.50" depends="_run.aopc.50"/>
<target name="run.loadtime.50" depends="_run.loadtime.50"/>
-
- <target name="run.aopc.14" depends="_run.aopc.14"/>
-
- <target name="run.loadtime.14" depends="_run.loadtime.14"/>
</project>
Modified: projects/aop/trunk/aop/docs/examples/valid_targets_annotated.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/valid_targets_annotated.html 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/valid_targets_annotated.html 2008-04-22 08:46:46 UTC (rev 72551)
@@ -29,35 +29,4 @@
the java runtime to enable loadtime weaving</li>
</ul>
-<h2>Run with JDK 1.4</h2>
-<p>We might want to make use of annotations in our code, but still deploy to a JDK 1.4 environment.
-JBoss AOP ships with JBoss Retro which allows you to modify JDK 5 bytecode to run on JDK 1.4. To use
-annotations we still need to compile with JDK 5, the following two targets illustrate the steps to run
-annotated code on JDK 1.4:</p>
-<pre>
-$ ant run.aopc.14
-$ ant run.loadtime.14
-</pre>
-
-<h3>ant.run.aopc.14</h3>
-<p>The <i>ant.run.aopc.14</i> target uses compile-time weaving, and performs the following steps:</p>
-<ul>
- <li>Compiles the classes using JDK 5 (otherwise the annotations will not compile)</li>
- <li>Runs the JBoss Retro processor to transform the JDK 5 bytecode into JDK 1.4 bytecode</li>
- <li>Runs the AOPC compiler</li>
- <li>Switches to JDK 1.4, and runs the woven example using JDK 1.4 with jbossretro-rt.jar on the classpath.
- You need to specify the location of the JDK 1.4 executable in the <i>jdk14.java</i> property in the
- <a href="../examples/examples.properties">examples.properties</a> file.</li>
</ul>
-
-<h3>ant.loadtime.14</h3>
-<p>The <i>ant.loadtime.14</i> target uses loadtime-time weaving (the classes are:</p>
-transformed when first loaded) and performs the following steps:
-<ul>
- <li>Compiles the classes using JDK 5 (otherwise the annotations will not compile)</li>
- <li>Runs the JBoss Retro processor to transform the JDK 5 bytecode into JDK 1.4 bytecode</li>
- <li>Switches to JDK 1.4, and runs the woven example using JDK 1.4 with jbossretro-rt.jar on the classpath,
- and with the <i>-Xbootclasspath/p:</i> switch passed in to the java runtime to enable loadtime weaving.
- You need to specify the location of the JDK 1.4 executable in the <i>jdk14.java</i> property in the
- <a href="../examples/examples.properties">examples.properties</a> file.</li>
-</ul>
Modified: projects/aop/trunk/aop/docs/examples/valid_targets_not_annotated.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/valid_targets_not_annotated.html 2008-04-22 08:12:24 UTC (rev 72550)
+++ projects/aop/trunk/aop/docs/examples/valid_targets_not_annotated.html 2008-04-22 08:46:46 UTC (rev 72551)
@@ -30,29 +30,3 @@
the java runtime to enable loadtime weaving</li>
</ul>
-<h2>Run with JDK 1.4</h2>
-<p>The following two targets illustrate the steps to run
-annotated code on JDK 1.4.
-<pre>
-$ ant run.aopc.14
-$ ant run.loadtime.14
-</pre>
-<p>These are compiled against the JBoss AOP libraries for JDK 1.4, and so will work regardless of if your chosen JDK
-is JDK 1.4 or JDK 5.
-
-<h3>ant.run.aopc.14</h3>
-<p>The <i>ant.run.aopc.14</i> target uses compile-time weaving, and performs the following steps
-<ul>
- <li>Compiles the classes using your chosen JDK</li>
- <li>Runs the AOPC compiler</li>
- <li>Runs the woven example using your chosen JDK</li>
-</ul>
-
-<h3>ant.loadtime.14</h3>
-<p>The <i>ant.loadtime.14</i> target uses loadtime-time weaving (the classes are
-transformed when first loaded) and performs the following steps:
-<ul>
- <li>Compiles the classes using your chosen JDK</li>
- <li>Runs the example using JDK 5, with the <i>-Xbootclasspath/p:</i> switch passed in to
- the java runtime to enable loadtime weaving</li>
-</ul>
More information about the jboss-cvs-commits
mailing list