Announcement Announcement Module
Collapse
No announcement yet.
load-time weaving with AspectJ does not work Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • load-time weaving with AspectJ does not work

    Hi
    I am using the META-INF/aop.xml file:

    <aspectj>
    <weaver options="-showWeaveInfo,-XmessageHandlerClass:org.springframework.aop.aspec tj.AspectJWeaverMessageHandler">
    <include within="com.mucsillc..*" />
    </weaver>
    <aspects>
    <include
    within="errorhandling.FaultHandler" />
    </aspects>
    </aspectj>

    Where the adviced class is com.mucsillc.Server and the advice is errorhandling.FaultHandler
    Everything works, except for weaving. What exactly triggers AspectJ to weave?
    Thanks.
    Janos

  • #2
    weaving with AspectJ does work on Java 5

    Hi
    This works with Tomcat 5.0.28 with Java 5. Is there any way to do runtime weaving on Java 1.4?
    Thanks.

    Comment

    Working...
    X