[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] ServiceConfigurationError Error with AspectJ Load-Time Weaving
|
in the launchconfiguration of the application there are some VM arguments like
-Djava.endorsed.dirs=....
-Djava.library.path=...
might this irritate the AspectJ behavior ?
in a simple two project scenario I can Weave as much as I want (but there is also no ImageIO)
----- Ursprüngliche Message -----
Von: Andreas Joecker <sielesen@xxxxxxxx>
An: "aspectj-users@xxxxxxxxxxx" <aspectj-users@xxxxxxxxxxx>
Cc:
Gesendet: 15:00 Mittwoch, 14.September 2011
Betreff: Re: [aspectj-users] ServiceConfigurationError Error with AspectJ Load-Time Weaving
first of all thanks for your input.
I checked the META-INF/aop-ajc.xml file in the AspectJ project and added the weaver options to it and also the include for the aspect.
But when I start the launchconfig, Eclipse deletes the include tag.
And the debug only prints out like this
[WeavingURLClassLoader] debug weaving '.framework.preferences.PreferenceGroup'
If I change the line
<launchConfiguration type="org.eclipse.ajdt.launching.AspectJLTWApplication">
to<launchConfiguration type="org.eclipse.jdt.launching.localJavaApplication">
the launch target works. Changing back to AspectJLTWApplication let it fails again.
----- Ursprüngliche Message -----
Von: oroger <olivier.roger@xxxxxxxxx>
An: aspectj-users@xxxxxxxxxxx
Cc:
Gesendet: 14:35 Mittwoch, 14.September 2011
Betreff: Re: [aspectj-users] ServiceConfigurationError Error with AspectJ Load-Time Weaving
So you are using
http://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html
LTW
I am far from begin an AspectJ expert but did you try to :
1- enable debug and/or verbose (<weaver options="-verbose -debug">)
2- if it is not done already, limit the scope of the aspect to your class
package only (<include within="com.yourcompany.*"/>)
I might give us some clue to find where the error come from.
Hope this helps,
Olivier
--
View this message in context: http://aspectj.2085585.n4.nabble.com/ServiceConfigurationError-Error-with-AspectJ-Load-Time-Weaving-tp3812526p3812687.html
Sent from the AspectJ - users mailing list archive at Nabble.com.
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users