[jboss-cvs] JBossAS SVN: r62858 - in projects/aop/trunk/aop/docs/examples: after-throwing and 33 other directories.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Tue May 8 06:36:42 EDT 2007


Author: kabir.khan at jboss.com
Date: 2007-05-08 06:36:41 -0400 (Tue, 08 May 2007)
New Revision: 62858

Modified:
   projects/aop/trunk/aop/docs/examples/after-throwing/after-throwing.html
   projects/aop/trunk/aop/docs/examples/all/all.html
   projects/aop/trunk/aop/docs/examples/annotated-aspects/annotated-aspects.html
   projects/aop/trunk/aop/docs/examples/annotated-cflow/annotated-cflow.html
   projects/aop/trunk/aop/docs/examples/annotated-composition/annotated-composition.html
   projects/aop/trunk/aop/docs/examples/annotated-dynamic-cflow/annotated-dynamic-cflow.html
   projects/aop/trunk/aop/docs/examples/annotated-interceptors/annotated-interceptors.html
   projects/aop/trunk/aop/docs/examples/annotated-introduction/annotated-introduction.html
   projects/aop/trunk/aop/docs/examples/annotated-parameters/annotated-parameters.html
   projects/aop/trunk/aop/docs/examples/annotated-precedence/annotated-precedence.html
   projects/aop/trunk/aop/docs/examples/annotated-typedef/annotated-typedef.html
   projects/aop/trunk/aop/docs/examples/annotation-introductions/annotation.html
   projects/aop/trunk/aop/docs/examples/annotation/annotation.html
   projects/aop/trunk/aop/docs/examples/aspect/aspect.html
   projects/aop/trunk/aop/docs/examples/beanstyleconf/config.html
   projects/aop/trunk/aop/docs/examples/beforeafter/beforeafter.html
   projects/aop/trunk/aop/docs/examples/caller/caller.html
   projects/aop/trunk/aop/docs/examples/cflow/cflow.html
   projects/aop/trunk/aop/docs/examples/composition/composition.html
   projects/aop/trunk/aop/docs/examples/constructor-execution/constructor.html
   projects/aop/trunk/aop/docs/examples/dynamic-aop/dynamic.html
   projects/aop/trunk/aop/docs/examples/dynamic_cflow/cflow.html
   projects/aop/trunk/aop/docs/examples/examples.html
   projects/aop/trunk/aop/docs/examples/field-execution/field.html
   projects/aop/trunk/aop/docs/examples/finally/finally.html
   projects/aop/trunk/aop/docs/examples/implements/implements.html
   projects/aop/trunk/aop/docs/examples/instanceof/instanceof.html
   projects/aop/trunk/aop/docs/examples/introductions/introductions.html
   projects/aop/trunk/aop/docs/examples/method-execution/methodexecution.html
   projects/aop/trunk/aop/docs/examples/overloaded-advices/overloaded-advices.html
   projects/aop/trunk/aop/docs/examples/packaging/packaging.html
   projects/aop/trunk/aop/docs/examples/precedence/precedence.html
   projects/aop/trunk/aop/docs/examples/return-types/return-types.html
   projects/aop/trunk/aop/docs/examples/stacks/stacks.html
   projects/aop/trunk/aop/docs/examples/typedef/typedef.html
Log:
[JBAOP-399] Update examples to explain new packaging

Modified: projects/aop/trunk/aop/docs/examples/after-throwing/after-throwing.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/after-throwing/after-throwing.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/after-throwing/after-throwing.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -80,15 +80,15 @@
 <h4>Run the example</h4>
 
 </p><p>
-<b>THIS EXAMPLE REQUIRES JDK 1.5!!</b> To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode,
-then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
-
+_run.aopc.50:
      [java] Calling POJO-&gt;throwExceptionMethod()
      [java] ====================================
      [java] RUNNING POJO-&gt;throwsExceptionMethod("argument")
@@ -102,7 +102,7 @@
      [java] ==================================
      [java] RUNNING POJO-&gt;throwNothingMethod()
      [java] No Exception this time
-</pre> 
+</pre>
 </p>
 </body>
 </html>

Modified: projects/aop/trunk/aop/docs/examples/all/all.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/all/all.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/all/all.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -18,13 +18,15 @@
 </p><p>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] &lt;&lt;&lt; Entering SimpleInterceptor type: org.jboss.aop.joinpoint.ConstructorInvocation
      [java] empty constructor

Modified: projects/aop/trunk/aop/docs/examples/annotated-aspects/annotated-aspects.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-aspects/annotated-aspects.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-aspects/annotated-aspects.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -64,13 +64,16 @@
 </p><p>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
+
     [java] --- pojo constructor ---
     [java] &lt;&lt;&lt; MyAdvice.constructorAdvice accessing: public POJO()
     [java] constructor

Modified: projects/aop/trunk/aop/docs/examples/annotated-cflow/annotated-cflow.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-cflow/annotated-cflow.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-cflow/annotated-cflow.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -54,13 +54,16 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
+
      [java] --- pojo.method4(); ---
      [java] method4
      [java] --- pojo.method3(); ---

Modified: projects/aop/trunk/aop/docs/examples/annotated-composition/annotated-composition.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-composition/annotated-composition.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-composition/annotated-composition.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -61,15 +61,15 @@
 </p><p>
 <h4>Running the example</h4>
 
-Running the example you'll see composition in action
-</p><p>
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- pojo constructor ---
      [java] &lt;&lt;&lt; MyAspect.anotherPOJOAdvice - calling constructor
      [java] constructor

Modified: projects/aop/trunk/aop/docs/examples/annotated-dynamic-cflow/annotated-dynamic-cflow.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-dynamic-cflow/annotated-dynamic-cflow.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-dynamic-cflow/annotated-dynamic-cflow.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -44,13 +44,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
     [java] --- pojo.method4(); ---
     [java] method1
     [java] --- turn on cflow ---

Modified: projects/aop/trunk/aop/docs/examples/annotated-interceptors/annotated-interceptors.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-interceptors/annotated-interceptors.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-interceptors/annotated-interceptors.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -57,13 +57,15 @@
 </pre>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] &lt;&lt;&lt; Entering SimpleInterceptor for: public POJO()
      [java] constructor
      [java] &gt;&gt;&gt; Leaving SimpleInterceptor

Modified: projects/aop/trunk/aop/docs/examples/annotated-introduction/annotated-introduction.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-introduction/annotated-introduction.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-introduction/annotated-introduction.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -21,7 +21,7 @@
    {
       @Introduction (target=POJO.class, interfaces={java.io.Serializable.class})
       public static Object noInterfacesPOJOIntro;
-   
+
       ...
    }
 
@@ -33,7 +33,7 @@
 </p><p>
 <h4>Mixins</h4>
 
-You declare the mixins in much the same way as you declare introductions. Again, it must be done within a class that has been annotated with <tt>@Aspect</tt> or <tt>@InterceptorDef</tt>. 
+You declare the mixins in much the same way as you declare introductions. Again, it must be done within a class that has been annotated with <tt>@Aspect</tt> or <tt>@InterceptorDef</tt>.
 <pre>
    import org.jboss.aop.Mixin;
 
@@ -60,7 +60,7 @@
    public class MyAspect
    {
       ...
-      
+
       @Introduction (typeExpression="class(POJO3) OR class(POJO4)", interfaces={java.io.Serializable.class})
       public static Object withTypeExpression;
    }
@@ -69,15 +69,15 @@
 </p><p>
 <h4>Running the example</h4>
 
-</p><p>
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-$ ant
+  $ run.aopc.50
 </pre>
-</p><p>
-The output should be:
-</p><p>
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- POJO ---
      [java] deserialized pojo.stuff: hello world
      [java] --- POJO2 ---

Modified: projects/aop/trunk/aop/docs/examples/annotated-parameters/annotated-parameters.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-parameters/annotated-parameters.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-parameters/annotated-parameters.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -24,7 +24,7 @@
 </p><p>
 This signature is  available for all kinds of advices in JBoss AOP (when running in
 the generated advisor instrumentation mode). Besides this one, JBoss AOP supports the
-default around signature, introduced in the <a href="../aspect/aspect.html"">Aspect example</a>.
+default around signature, introduced in the <a href="../aspect/aspect.html">Aspect example</a>.
 The default signature can only be used to write around advices, and is supported on
 all instrumentation modes.
 </p><p>
@@ -182,17 +182,17 @@
 public class POJO
 {
    ...
-   
+
    public boolean someMethod(int argument)
    {
       ...
    }
-   
+
    public void method(long arg0, int arg1, long arg2, String arg3)
    {
       ...
    }
-   
+
    ...
 }
 </pre>
@@ -264,15 +264,15 @@
 </p><p>
 <h3>Run the example</h3>
 
-</p><p>
-<b>THIS EXAMPLE REQUIRES JDK 1.5!!</b> To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
-
+_run.aopc.50:
      [java] Calling POJO constructor
      [java] ========================
      [java] &gt;&gt;&gt; beforeConstructorArg: Object "Driver"
@@ -329,7 +329,7 @@
      [java] RUNNING POJO-&gt;calledMethod()
      [java] &gt;&gt;&gt; afterTarget: POJO POJO at 19209ea
      [java] &gt;&gt;&gt; afterCaller: Object POJO at 19209ea
-</pre> 
+</pre>
 </p><p>
 </p>
 </body>

Modified: projects/aop/trunk/aop/docs/examples/annotated-precedence/annotated-precedence.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-precedence/annotated-precedence.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-precedence/annotated-precedence.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -20,13 +20,13 @@
    @Precedence
    public class Precedence1
    {
-   
+
       @PrecedenceInterceptor
       public static SimpleInterceptor precedenceInterceptor1;
-  
+
       @PrecedenceInterceptor
       public static SimpleInterceptor2 precedenceInterceptor2;
-   }   
+   }
 </pre>
 </p><p>
 The @PrecedenceInterceptor is used to annotate fields where the type is an interceptor, and the orderings within the class define the relative sort order for the precedence. In other words this class defines that
@@ -71,26 +71,28 @@
 </p><p>
 <pre>
   SimpleInterceptor
-		comes before      
+		comes before
   SimpleInterceptor2
-		comes before      
+		comes before
   TestAspect.advice
-		comes before      
+		comes before
   SimpleInterceptor3
-		comes before      
+		comes before
   TestAspect.otherAdvice
 </pre>
 </p><p>
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] &lt;&lt;&lt; Entering SimpleInterceptor type: POJO0OptimizedConstructorInvocation
      [java] &lt;&lt;&lt; Entering SimpleInterceptor2 type: POJO0OptimizedConstructorInvocation

Modified: projects/aop/trunk/aop/docs/examples/annotated-typedef/annotated-typedef.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotated-typedef/annotated-typedef.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotated-typedef/annotated-typedef.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -38,13 +38,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] &lt;&lt;&lt; Entering SimpleInterceptor
      [java] &lt;&lt;&lt; Entering SimpleInterceptor2

Modified: projects/aop/trunk/aop/docs/examples/annotation/annotation.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotation/annotation.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotation/annotation.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -58,13 +58,15 @@
 </p><p>
 <h4>Running</h4>
 
-<b>THIS EXAMPLE REQUIRES JDK 1.5!!</b> To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-This should be the output:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] populateMixinMethods*****
      [java] billing...org.jboss.aop.joinpoint.ConstructorInvocation at 1ee4648

Modified: projects/aop/trunk/aop/docs/examples/annotation-introductions/annotation.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/annotation-introductions/annotation.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/annotation-introductions/annotation.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -6,7 +6,7 @@
 </p><p>
 <h4>Overview</h4>
 
-This is an extension of the annotation14 example.  In this example, instead of declaring an annotation within the Java source file, we <i>introduce</i> an annotation through an XML descriptor.  This XML descriptor has the same effect as declaring an annotation the JDK 1.5 way, or the JDK 1.4 way.  
+This is an extension of the annotation14 example.  In this example, instead of declaring an annotation within the Java source file, we <i>introduce</i> an annotation through an XML descriptor.  This XML descriptor has the same effect as declaring an annotation the JDK 1.5 way, or the JDK 1.4 way.
 </p><p>
 <h4>Example code</h4>
 
@@ -26,12 +26,15 @@
 </p><p>
 <h4>Running</h4>
 
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-This should be the output:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] @single ("hello world")
      [java] @complex (ch='a', "hello world", flt=5.5, dbl=6.6, ...blah blah blah YOU GET THE IDEA...

Modified: projects/aop/trunk/aop/docs/examples/aspect/aspect.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/aspect/aspect.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/aspect/aspect.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -6,11 +6,11 @@
 </p><p>
 <h4>Overview</h4>
 
-The Interceptor classes shown in previous examples are a little limiting in that you can only have one advice per class. JBossAOP allows you to group advices into one Java class.  This is what JBossAOP calls an Aspect.  An Aspect is a collection of advices expressed as methods.  
+The Interceptor classes shown in previous examples are a little limiting in that you can only have one advice per class. JBossAOP allows you to group advices into one Java class.  This is what JBossAOP calls an Aspect.  An Aspect is a collection of advices expressed as methods.
 </p><p>
 <h4>Writing an aspect</h4>
 
-An aspect class is a plain Java class. It does not have to inherit from anything, but it must have an empty constructor. 
+An aspect class is a plain Java class. It does not have to inherit from anything, but it must have an empty constructor.
 JBoss AOP supports several types of advices. In this example, we will introduce the around advice and its default signature.
 Each around advice can follow this format:
 </p><p>
@@ -18,7 +18,7 @@
   public Object &lt;any-method-name&gt;(&lt;any Invocation type&gt;) Throwable
 </pre>
 </p><p>
-You can also <a href="../overloaded-advices/overloaded-advices.html">overload methods</a>.  
+You can also <a href="../overloaded-advices/overloaded-advices.html">overload methods</a>.
 </p><p>
 <h4>Scope and XML definitions</h4>
 
@@ -57,17 +57,19 @@
    &lt;/bind&gt;
 </pre>
 </p><p>
-The final two bindings intercept field and method access of POJO and POJO2.  
+The final two bindings intercept field and method access of POJO and POJO2.
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] ---- POJO ---
      [java] AspectPerVM.constructorAdvice accessing: public POJO()
      [java] AspectPerClass.constructorAdvice accessing: public POJO()
@@ -102,7 +104,7 @@
      [java] POJO2 perClass stats: 1 1 1 1
      [java] pojo perInstance stats: 1 1 1
      [java] pojo2 perInstance stats: 1 1 1
-</pre> 
+</pre>
 </p><p>
 </p><p>
 </p><p>

Modified: projects/aop/trunk/aop/docs/examples/beanstyleconf/config.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/beanstyleconf/config.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/beanstyleconf/config.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -13,23 +13,23 @@
 	      &lt;attribute name="Attr1"&gt;aa&lt;/attribute&gt;
 	      &lt;attribute name="Attr2"&gt;1&lt;/attribute&gt;
 	   &lt;/interceptor&gt;
-	   
+
 	   &lt;aspect class="ConfigAspectPerVm" scope="PER_VM"&gt;
 	      &lt;attribute name="Attr"&gt;aspect,per,vm&lt;/attribute&gt;
 	   &lt;/aspect&gt;
-	   
+
 	   &lt;aspect class="ConfigAspectPerClass" scope="PER_CLASS"&gt;
 	      &lt;attribute name="Attr"&gt;aspect,per,class&lt;/attribute&gt;
 	   &lt;/aspect&gt;
-	    
+
 	   &lt;aspect class="ConfigAspectPerInstance" scope="PER_INSTANCE"&gt;
 	      &lt;attribute name="Attr"&gt;aspect,per,instance&lt;/attribute&gt;
 	   &lt;/aspect&gt;
-	    
+
 	   &lt;aspect class="ConfigAspectPerJoinpoint" scope="PER_JOINPOINT"&gt;
 	      &lt;attribute name="Attr"&gt;aspect,per,joinpoint&lt;/attribute&gt;
 	   &lt;/aspect&gt;
-	    
+
 	   ...
    &lt;aop&gt;
 </pre>
@@ -42,25 +42,25 @@
 	   String attr1;
 	   int attr2;
 	   ...
-	
+
 	   public void setAttr1(String s)
 	   {
 	      attr1 = s;
 	      System.out.println("setAttr1: " + s);
 	   }
-	      
+
 	   public void setAttr2(int i)
 	   {
 	      attr2 = i;
 	      System.out.println("setAttr2: " + i);
 	   }
 	   ...
-   }   
- 
+   }
+
    public class ConfigAspectPerVm
    {
       String[] attr1;
-      
+
       ...
       public void setAttr(String[] attr1)
       {
@@ -80,11 +80,11 @@
 <pre>
 &lt;aop&gt;
    &lt;interceptor class="ConfigInterceptor" scope="PER_CLASS"&gt;
-   
+
       ...
       &lt;advisor-attribute name="MyAdvisor"/&gt;
       &lt;instance-advisor-attribute name="MyInstanceAdvisor"/&gt;
-      &lt;joinpoint-attribute name="MyJoinpoint"/&gt;  
+      &lt;joinpoint-attribute name="MyJoinpoint"/&gt;
    &lt;/interceptor&gt;
 
 &lt;aop&gt;
@@ -109,12 +109,12 @@
       {
          this.advisor = advisor;
       }
-   
+
       public void setMyInstanceAdvisor(InstanceAdvisor instanceAdvisor)
       {
          this.instanceAdvisor = instanceAdvisor;
       }
-   
+
       public void setMyJoinpoint(Joinpoint jp)
       {
          this.jp = jp;
@@ -146,13 +146,15 @@
 </p><p>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] setAttr1: aa
      [java] setAttr2: 1

Modified: projects/aop/trunk/aop/docs/examples/beforeafter/beforeafter.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/beforeafter/beforeafter.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/beforeafter/beforeafter.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -21,7 +21,7 @@
 these advices can have several different signatures. However, in our
 first example, we will use signatures that are closest to what has been shown on
 previous examples.
-   
+
 So, we introduce before and after advices as being of the form:
 </p><p>
 <pre>
@@ -38,7 +38,7 @@
 Furthermore, one can notice the presence of the parameter annotation <tt>@org.jboss.aop.advice.annotation.JoinPoint</tt>. This is necessary because
 before/after advices can receive values with several semantic roles as parameters.
 As we will see <a href="../annotated-parameters/annotated-parameters.html">next</a>,
-this annotation is used to distinguish this parameter type from the other ones, so we 
+this annotation is used to distinguish this parameter type from the other ones, so we
 can achieve flexibility on the type, order and presence of advice parameters.
 </p><p>
 <h3>Binding Before/After Advices</h3>
@@ -54,12 +54,12 @@
 &lt;/bind&gt;
 </pre>
 </p><p>
-As you can see, you just need to declare a usual bind tag, and add to it 
+As you can see, you just need to declare a usual bind tag, and add to it
 <tt>&lt;before&gt;</tt> and <tt>&lt;after&gt;</tt> tags for before and after advices
 respectively. We can also mix interceptor declarations and around, before, and
 after advices declarations in a single binding.
 </p><p>
-   
+
 <h3>Around, Before and After Advices</h3>
 
 </p><p>
@@ -125,8 +125,8 @@
 public class MutexAspect
 {
    private Object lock = new Object();
-   private boolean locked = false;   
-   
+   private boolean locked = false;
+
    public Object aroundAdvice(Invocation invocation) throws Throwable
    {
       Object result;
@@ -143,7 +143,7 @@
             catch(InterruptedException e)
             {
                Thread.currentThread().interrupt();
-               return; 
+               return;
             }
          }
          locked = true;
@@ -184,8 +184,8 @@
 public class MutexAspect
 {
    private Object lock = new Object();
-   private boolean locked = false;   
-   
+   private boolean locked = false;
+
    public void beforeAdvice(@JoinPoint Joinpoint joinPoint)
    {
       synchronized(lock)
@@ -199,14 +199,14 @@
             catch(InterruptedException e)
             {
                Thread.currentThread().interrupt();
-               return; 
+               return;
             }
          }
          locked = true;
          System.out.println("&gt;&gt;&gt; Retrieved concurrency lock");
       }
    }
-   
+
    public void afterAdvice(@JoinPoint Joinpoint joinPoint)
    {
       synchronized(lock)
@@ -217,7 +217,7 @@
       }
    }
 }
-</pre>         
+</pre>
 </p><p>
 Notice that, in this version, parts 2 and 4 are gone (proceeding to joinpoint
 execution and returning its result). This is due to the fact that before and after
@@ -307,25 +307,28 @@
 </ul>
 </p><p>
 The final balance of the account would be $40.00, and the deposit of $50.00 would
-have been completely ignored, since its final balance has been overwritten by 
+have been completely ignored, since its final balance has been overwritten by
 the withdrawal operation.
 </p><p>
 <h3>Running</h3>
 
 </p><p>
-<b>THIS EXAMPLE REQUIRES JDK 1.5!!</b> To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
+
      [java] SETUP
      [java] =====
      [java] Creating account 'A' with initial balance of $30.0
      [java] Creating account 'B' with initial balance of $50.0
      [java] Creating account 'C' with initial balance of $0.0
-   
+
      [java] TRANSACTIONS
      [java] ============
      [java] Using context classloader sun.misc.Launcher$AppClassLoader at 133056f to load aspect mypackage.MutexAspect

Modified: projects/aop/trunk/aop/docs/examples/caller/caller.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/caller/caller.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/caller/caller.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -29,13 +29,15 @@
 </p><p>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- main is calling new ArrayList(); ---
      [java] &lt;&lt;&lt; Entering CallerInterceptor1
      [java] &gt;&gt;&gt; Leaving CallerInterceptor1

Modified: projects/aop/trunk/aop/docs/examples/cflow/cflow.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/cflow/cflow.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/cflow/cflow.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -58,13 +58,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- pojo.method4(); ---
      [java] method4
      [java] --- pojo.method3(); ---

Modified: projects/aop/trunk/aop/docs/examples/composition/composition.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/composition/composition.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/composition/composition.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -33,13 +33,15 @@
 
 Running the example you'll see composition in action
 </p><p>
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] &lt;&lt;&lt; Entering SimpleInterceptor for: org.jboss.aop.joinpoint.ConstructorInvocation
      [java] empty constructor

Modified: projects/aop/trunk/aop/docs/examples/constructor-execution/constructor.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/constructor-execution/constructor.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/constructor-execution/constructor.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -30,13 +30,15 @@
 </p><p>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] empty constructor
      [java] --- new POJO(String); ---

Modified: projects/aop/trunk/aop/docs/examples/dynamic-aop/dynamic.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/dynamic-aop/dynamic.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/dynamic-aop/dynamic.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -49,13 +49,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] in empty constructor
      [java] --- adding instance interceptors ---

Modified: projects/aop/trunk/aop/docs/examples/dynamic_cflow/cflow.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/dynamic_cflow/cflow.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/dynamic_cflow/cflow.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -44,13 +44,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- pojo.method4(); ---
      [java] method1
      [java] --- turn on cflow ---

Modified: projects/aop/trunk/aop/docs/examples/examples.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/examples.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/examples.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -5,6 +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.
 </p><p>
 <h3> XML examples</h3>
 

Modified: projects/aop/trunk/aop/docs/examples/field-execution/field.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/field-execution/field.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/field-execution/field.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -45,14 +45,15 @@
 </p><p>
 <h4>Running</h4>
 
-Let's try these babies out....
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- pojo.getVar1(); ---
      [java] &lt;&lt;&lt; Entering GetInterceptor for: var1
      [java] &gt;&gt;&gt; Leaving GetInterceptor

Modified: projects/aop/trunk/aop/docs/examples/finally/finally.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/finally/finally.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/finally/finally.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -266,12 +266,14 @@
 </p><p>
 <h3>Running</h3>
 
-</p><p>
-<b>THIS EXAMPLE REQUIRES JDK 1.5!!</b> To compile and run:
+</p>
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other weaving modes, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
   $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
 _run.aopc.50:
 

Modified: projects/aop/trunk/aop/docs/examples/implements/implements.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/implements/implements.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/implements/implements.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -35,13 +35,15 @@
 </p><p>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- POJO ---
      [java] --- POJO.methodFromImplements ---
      [java] &lt;&lt;&lt; TestInterceptor intercepting

Modified: projects/aop/trunk/aop/docs/examples/instanceof/instanceof.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/instanceof/instanceof.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/instanceof/instanceof.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -16,13 +16,15 @@
 </p><p>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- pojo.someMethod(); ---
      [java] &lt;&lt;&lt; Entering SimpleInterceptor type: org.jboss.aop.joinpoint.MethodInvocation
      [java] someMethod

Modified: projects/aop/trunk/aop/docs/examples/introductions/introductions.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/introductions/introductions.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/introductions/introductions.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -90,14 +90,15 @@
 </p><p>
 This is expected because POJO is not serializable.  Now run it with introductions.
 </p><p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-$ ant
+  $ run.aopc.50
 </pre>
-</p><p>
-The output should be:
-</p><p>
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
+
      [java] --- POJO ---
      [java] deserialized pojo.stuff: hello world
      [java] --- POJO2 ---

Modified: projects/aop/trunk/aop/docs/examples/method-execution/methodexecution.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/method-execution/methodexecution.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/method-execution/methodexecution.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -83,13 +83,15 @@
 </p><p>
 <h4>Running</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- pojo.noop(); ---
      [java] &lt;&lt;&lt; Entering SimpleInterceptor
      [java] noop()

Modified: projects/aop/trunk/aop/docs/examples/overloaded-advices/overloaded-advices.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/overloaded-advices/overloaded-advices.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/overloaded-advices/overloaded-advices.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -38,7 +38,7 @@
    {
       System.out.println("&gt;&gt;&gt; aroundAdvice on field write: " +
             ((FieldWriteInvocation) invocation).getField().getName());
-      
+
    }
 	return invocation.invokeNext();
 }
@@ -72,14 +72,14 @@
          invocation.getMethod().getName());
    return invocation.invokeNext();
 }
-   
+
 public Object aroundAdvice(FieldReadInvocation invocation) throws Throwable
-{ 
+{
    System.out.println("&gt;&gt;&gt; aroundAdvice on field read: " +
          invocation.getField().getName());
    return invocation.invokeNext();
 }
-   
+
 public Object aroundAdvice(FieldWriteInvocation invocation) throws Throwable
 {
    System.out.println("&gt;&gt;&gt; aroundAdvice on field write: " +
@@ -107,7 +107,7 @@
    System.out.println("&gt;&gt;&gt; otherTypeOfAdvice on method execution: " +
          joinPoint.getAdvisedMethod().getName());
 }
-   
+
 public void otherTypeOfAdvice(@JoinPoint IFieldInfo joinPoint)
 {
    System.out.println("&gt;&gt;&gt; otherTypeOfAdvice on field" +
@@ -177,14 +177,15 @@
 <h4>Run the example</h4>
 
 </p><p>
-<b>THIS EXAMPLE REQUIRES JDK 1.5!!</b> To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode,
-then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
 
      [java] Calling POJO constructor
      [java] ========================
@@ -231,7 +232,7 @@
      [java] RUNNING POJO-&gt;methodWithStringArg("stringArg")
      [java] &gt;&gt;&gt; overloadedAdvice: JoinPoint IJoinPoint, Arg String
      [java] &gt;&gt;&gt; overloadedAdvice: (JoinPoint ICallerMethodInfo, Caller Driver)
-</pre> 
+</pre>
 </p><p>
 </p>
 </body>

Modified: projects/aop/trunk/aop/docs/examples/packaging/packaging.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/packaging/packaging.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/packaging/packaging.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -25,13 +25,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- pojo.noop(); ---
      [java] &lt;&lt;&lt; Entering SimpleInterceptor
      [java] noop()

Modified: projects/aop/trunk/aop/docs/examples/precedence/precedence.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/precedence/precedence.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/precedence/precedence.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -6,14 +6,14 @@
 </p><p>
 <h4>Background</h4>
 
-In the other examples shown, the ordering of interceptors is according to how they are specified for each binding. This is fine for a lot of cases, but becomes a bit 
+In the other examples shown, the ordering of interceptors is according to how they are specified for each binding. This is fine for a lot of cases, but becomes a bit
 more problematic if you have several bindings resolving to each pointcut. Also, aspects defined using annotations (see reference documentation) have no notion
 of ordering, how they are ordered is completely random. To examine the case of XML, we have the following two bindings in our jboss-aop.xml file:
 </p><p>
 <pre>
-   
+
    &lt;bind pointcut="execution(POJO-&gt;new())"&gt;
-       &lt;interceptor-ref name="FirstInterceptor"/&gt;    
+       &lt;interceptor-ref name="FirstInterceptor"/&gt;
        &lt;interceptor-ref name="SimpleInterceptor3"/&gt;
        &lt;interceptor-ref name="SimpleInterceptor2"/&gt;
        &lt;interceptor-ref name="SimpleInterceptor"/&gt;
@@ -22,30 +22,30 @@
    &lt;bind pointcut="execution(PO*-&gt;new())"&gt;
        &lt;advice aspect="TestAspect" name="otherAdvice"/&gt;
        &lt;advice aspect="TestAspect" name="advice"/&gt;
-       &lt;interceptor-ref name="LastInterceptor"/&gt;          
-   &lt;/bind&gt;   
+       &lt;interceptor-ref name="LastInterceptor"/&gt;
+   &lt;/bind&gt;
 </pre>
 </p><p>
 The default ordering of these would create the following interceptor chain:
 <pre>
    FirstInterceptor
-		comes before      
+		comes before
    SimpleInterceptor3
-		comes before      
+		comes before
    SimpleInterceptor2
-		comes before      
+		comes before
    SimpleInterceptor
-		comes before      
+		comes before
    TestAspect.otherAdvice
-		comes before      
+		comes before
    TestAspect.advice
-		comes before      
+		comes before
    LastInterceptor
 </pre>
 </p><p>
 <h4>Precedence</h4>
 
-Now, imagine if the two pointcuts defined were more complex, so that some methods would resolve to the first, some to the second, some to both, and that we would 
+Now, imagine if the two pointcuts defined were more complex, so that some methods would resolve to the first, some to the second, some to both, and that we would
 like to be able to merge the interceptor chains according to a predefined order. This is where precedence comes in. It is defined in the jboss-aop.xml file as:
 </p><p>
 <pre>
@@ -62,19 +62,19 @@
    &lt;/precedence&gt;
 </pre>
 </p><p>
-These two precedence entries each define a relative sorting order of interceptors. You can have as many precedence entries in your jboss-aop.xml file as you 
+These two precedence entries each define a relative sorting order of interceptors. You can have as many precedence entries in your jboss-aop.xml file as you
 like, and as many entries as you would like in each. (Just make sure that the precedence orderings do not conflict.) The precedence entries are merged into an
 overall precedence entry, so that:
 </p><p>
 <pre>
   SimpleInterceptor
-		comes before      
+		comes before
   SimpleInterceptor2
-		comes before      
+		comes before
   TestAspect.advice
-		comes before      
+		comes before
   SimpleInterceptor3
-		comes before      
+		comes before
   TestAspect.otherAdvice
 </pre>
 </p><p>
@@ -85,13 +85,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] &lt;&lt;&lt; Entering FirstInterceptor type: POJO0OptimizedConstructorInvocation
      [java] &lt;&lt;&lt; Entering SimpleInterceptor type: POJO0OptimizedConstructorInvocation

Modified: projects/aop/trunk/aop/docs/examples/return-types/return-types.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/return-types/return-types.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/return-types/return-types.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -146,15 +146,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-</p><p>
-<b>THIS EXAMPLE REQUIRES JDK 1.5!!</b> To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_annotated.html"/>annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode,
-then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] Calling POJO-&gt;getIntValue()
      [java] ===========================
      [java] &gt;&gt;&gt; aroundDefaultSignature...
@@ -185,7 +185,7 @@
      [java] &gt;&gt;&gt; afterVoid
      [java] RECEIVED nothing
 
-</pre> 
+</pre>
 </p><p>
 </p>
 </body>

Modified: projects/aop/trunk/aop/docs/examples/stacks/stacks.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/stacks/stacks.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/stacks/stacks.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -22,13 +22,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] SimpleInterceptor1
      [java] SimpleInterceptor2
      [java] SimpleInterceptor3

Modified: projects/aop/trunk/aop/docs/examples/typedef/typedef.html
===================================================================
--- projects/aop/trunk/aop/docs/examples/typedef/typedef.html	2007-05-08 09:01:22 UTC (rev 62857)
+++ projects/aop/trunk/aop/docs/examples/typedef/typedef.html	2007-05-08 10:36:41 UTC (rev 62858)
@@ -5,12 +5,12 @@
 
 </p><p>
 If you have several classes that all are going to be intercepted in a similar way, you can declare a
-typedef to avoid declaring different pointcuts for each class. The typedef must resolve to a class 
+typedef to avoid declaring different pointcuts for each class. The typedef must resolve to a class
 expression.
 </p><p>
 </p><p>
 <pre>
-  &lt;typedef name="TD" expr="(class(POJO) AND has(* *-&gt;method(..))) OR class($instanceof{ExecutionTypedefInterface}) OR class(@executionTypedef)" /&gt; 
+  &lt;typedef name="TD" expr="(class(POJO) AND has(* *-&gt;method(..))) OR class($instanceof{ExecutionTypedefInterface}) OR class(@executionTypedef)" /&gt;
 </pre>
 </p><p>
 </p><p>
@@ -18,16 +18,16 @@
 The typedef can then be used in place of the class name in pointcuts
 <pre>
   &lt;bind pointcut="execution($typedef{TD}-&gt;new())"&gt;
-    &lt;interceptor class="SimpleInterceptor" /&gt; 
+    &lt;interceptor class="SimpleInterceptor" /&gt;
   &lt;/bind&gt;
   &lt;bind pointcut="execution(* $typedef{TD}-&gt;method())"&gt;
-    &lt;interceptor class="SimpleInterceptor" /&gt; 
+    &lt;interceptor class="SimpleInterceptor" /&gt;
   &lt;/bind&gt;
   &lt;bind pointcut="field(* $typedef{TD}-&gt;field1)"&gt;
-    &lt;interceptor class="SimpleInterceptor" /&gt; 
+    &lt;interceptor class="SimpleInterceptor" /&gt;
   &lt;/bind&gt;
   &lt;bind pointcut="all($typedef{TD})"&gt;
-    &lt;interceptor class="SimpleInterceptor2" /&gt; 
+    &lt;interceptor class="SimpleInterceptor2" /&gt;
   &lt;/bind&gt;
 </pre>
 </p><p>
@@ -35,13 +35,15 @@
 </p><p>
 <h4>Run the example</h4>
 
-To compile and run:
+<p>
+<b>THIS EXAMPLE REQUIRES JDK 1.5!! For other options, please look at the
+<a href="../valid_targets_not_annotated.html"/>non-annotated examples guide</a></b> To compile and run:</p>
 <pre>
-  $ ant
+  $ run.aopc.50
 </pre>
-It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should read as follows:
+<p>It will javac the files and then run the AOPC precompiler to manipulate the bytecode, then finally run the example.  The output should be similar to this:</p>
 <pre>
-run:
+_run.aopc.50:
      [java] --- new POJO(); ---
      [java] &lt;&lt;&lt; Entering SimpleInterceptor
      [java] &lt;&lt;&lt; Entering SimpleInterceptor2




More information about the jboss-cvs-commits mailing list