Community
Participate
Working Groups
Use of the @Configurable annotation and weaving with spring-aspect.jar causes: org.aspectj.weaver.BCException at org.aspectj.weaver.AjAttribute.read(AjAttribute.java:127) at org.aspectj.weaver.bcel.BcelAttributes.readAjAttributes(BcelAttributes.java:66) at org.aspectj.weaver.bcel.BcelObjectType.ensureAspectJAttributesUnpacked(BcelObjectType.java:312) at org.aspectj.weaver.bcel.BcelObjectType.<init>(BcelObjectType.java:142) at org.aspectj.weaver.bcel.BcelWorld.buildBcelDelegate(BcelWorld.java:360) at org.aspectj.weaver. ... n thrown: malformed org.aspectj.weaver.PointcutDeclaration attribute java.io.EOFException when batch building BuildConfig[/home/hiv/defect1] #Files=1 Using ECLIPSE Version: 3.3.1.1 Build id: M20071023-1652 AJDT Version: 1.5.2.200802061816 (with AspectJ version: 1.6.0.20080206212408) with Ubuntu Gutsy on i386 The Spring-Aspects are from Spring-Version: 2.0.1 The same worked without problems with AJDT 1.5.0.200706070619
Created attachment 90668 [details] Testcase triggering the error ...you need additionaly the @Configurable from spring(2.0.1)
I *think* this is fixed in the latest AJ dev builds (which haven't been packaged inside AJDT yet) - are you able to try it out with the latest AJ? I plan to do a new AJDT later today with the 1.6.0m2 driver in.
are you still seeing this problem?
As far as I can tell this problem is gone now. Switched the affected project last weak to work with the AJDT currently on the update site. Worked well, including incremental compliation. Thanks very much!
thanks for letting me know.