Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] can't find type org.aspectj.lang.annotation.Before

Title: Nachricht
You need to specify org.eclipse..*
Because you want to include any type ins subpackages of org.eclipse.
org.eclipse.* matches org.eclipse.Foo but not org.eclipse.foo.Bar.
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Valerio Schiavoni
Sent: Thursday, August 18, 2005 10:16 AM
To: aspectj-users@xxxxxxxxxxx
Subject: [aspectj-users] can't find type org.aspectj.lang.annotation.Before

hello

i get this log when launching the application using ltw

info using classpath: [/usr/java/jdk1.5.0/jre/lib/rt.jar, /usr/java/jdk1.5.0/jre/lib/i18n.jar, /usr/java/jdk1.5.0/jre/lib/sunrsasign.jar, /usr/java/jdk1.5.0/jre/lib/jsse.jar, /usr/java/jdk1.5.0/jre/lib/jce.jar, /usr/java/jdk1.5.0/jre/lib/charsets.jar, /usr/java/jdk1.5.0/jre/classes]
info using aspectpath: []
info zipfile classpath entry does not exist: /usr/java/jdk1.5.0/jre/lib/i18n.jar
info zipfile classpath entry does not exist: /usr/java/jdk1.5.0/jre/lib/sunrsasign.jar
info directory classpath entry does not exist: /usr/java/jdk1.5.0/jre/classes
info register classloader sun.misc.Launcher$AppClassLoader@26099296
info using (-Daj5.def) META-INF/aop.xml
info weaving 'org/eclipse/jdt/internal/junit/runner/RemoteTestRunner'
info weaver operating in reweavable mode.  Need to verify any required types exist.
error can't find type org.aspectj.lang.annotation.Before
error can't find type org.aspectj.lang.annotation.Before

warning at /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0 advice defined in org.aormf.aspects.ExecutionMonitorAspect has not been applied [Xlint:adviceDidNotMatch]
info weaving 'junit/framework/TestListener'
info weaver operating in reweavable mode.  Need to verify any required types exist.
warning at /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0 advice defined in org.aormf.aspects.ExecutionMonitorAspect has not been applied [Xlint:adviceDidNotMatch]
info weaving 'junit/framework/AssertionFailedError'
info weaver operating in reweavable mode.  Need to verify any required types exist.
warning at /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0 advice defined in org.aormf.aspects.ExecutionMonitorAspect has not been applied [Xlint:adviceDidNotMatch]
info weaving 'junit/extensions/TestDecorator'
info weaver operating in reweavable mode.  Need to verify any required types exist.
warning at /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0 advice defined in org.aormf.aspects.ExecutionMonitorAspect has not been applied [Xlint:adviceDidNotMatch]
info weaving 'junit/framework/Test'
info weaver operating in reweavable mode.  Need to verify any required types exist.
warning at /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0 advice defined in org.aormf.aspects.ExecutionMonitorAspect has not been applied [Xlint:adviceDidNotMatch]
info weaving 'junit/framework/Assert'
info weaver operating in reweavable mode.  Need to verify any required types exist.
warning at /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0 advice defined in org.aormf.aspects.ExecutionMonitorAspect has not been applied [Xlint:adviceDidNotMatch]
info weaving 'junit/framework/TestSuite'
info weaver operating in reweavable mode.  Need to verify any required types exist.
warning at /home/valerio/workspace/aormf/src/org/aormf/aspects/ExecutionMonitorAspect.aj:16::0 advice defined in org.aormf.aspects.ExecutionMonitorAspect has not been applied [Xlint:adviceDidNotMatch]
info weaving 'org/eclipse/jdt/internal/junit/runner/FailuresFirstPrioritizer'

this is a snippet from aop.xml:
<weaver options="-1.5 -Xreweavable -verbose -showWeaveInfo" >
    <exclude within="org.apache.*"/>
    <exclude within="org.eclipse.*"/>
        <exclude within="junit.*"/>
</weaver>

1/ where that 'can't find type' come from ?

2/ i specified to ignore classes in junit.* and org.eclipse* , but why do i get info about weaving those ones ?

thanks
Valerio

PS: using DEV build id: 20050818074218



Back to the top