Remove unnecessary mentions of aspectjrt/aspectjweaver

aspectjrt is a subset of aspectjweaver. Eliminate mentions of aspectjrt
where aspectjweaver is already necessary (e.g. LTW), and do not mention
aspectjweaver where only aspectrt is required (e.g. @Aspect proxying)

Also bump required version of aspect* libs from 1.5 to 1.6.8, reflecting
OSGi and pom metadata.

Issue: SPR-8896
This commit is contained in:
Chris Beams 2011-12-08 13:46:47 +00:00
parent 690d33e14f
commit b94040f329
1 changed files with 6 additions and 12 deletions

View File

@ -343,12 +343,11 @@
<programlisting language="xml">&lt;bean class="org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator" /&gt;</programlisting> <programlisting language="xml">&lt;bean class="org.springframework.aop.aspectj.annotation.AnnotationAwareAspectJAutoProxyCreator" /&gt;</programlisting>
<para>You will also need two AspectJ libraries on the classpath of your <para>You will also need AspectJ's
application: <filename class="libraryfile">aspectjweaver.jar</filename> <filename class="libraryfile">aspectjrt.jar</filename> library on the
and <filename class="libraryfile">aspectjrt.jar</filename>, version 1.6.8 classpath of your application, version 1.6.8 or later. This library is
or later required. These libraries are available in the <filename available in the <filename class="directory">'lib'</filename> directory
class="directory">'lib'</filename> directory of an AspectJ distribution of an AspectJ distribution or via the Maven Central repository.</para>
or via the Maven Central repository.</para>
</section> </section>
<section id="aop-at-aspectj"> <section id="aop-at-aspectj">
@ -3431,14 +3430,9 @@ public final class Main {
2.5 or later, plus all mandatory dependencies)</para> 2.5 or later, plus all mandatory dependencies)</para>
</listitem> </listitem>
<listitem>
<para><filename class="libraryfile">aspectjrt.jar</filename>
(version 1.5 or later)</para>
</listitem>
<listitem> <listitem>
<para><filename class="libraryfile">aspectjweaver.jar</filename> <para><filename class="libraryfile">aspectjweaver.jar</filename>
(version 1.5 or later)</para> (version 1.6.8 or later)</para>
</listitem> </listitem>
</orderedlist> </orderedlist>