The outxml line causes the compiler to create the aop.xml file automatically during the compile. This file is required for load-time weaving so that the weaver knows where to find aspects at load time. See more information here: http://www.eclipse.org/aspectj/doc/released/devguide/ltw-configuration.html
This file is not required for compile time weaving. As for changing the way that the AJDT configurator works, that wouldn't be a recommended way of doing things. When using m2eclipse, classpath management of your project is delegated to m2eclipse. This ensures, for example, that if you remove the aspectj maven plugin from your pom, then your eclipse classpath is automatically updated to reflect that. This wouldn't be possible unless m2eclipse had full control over the classpath and delegated properly to configurators (like the ajdt configurator) where appropriate. On Tue, Apr 3, 2012 at 9:38 AM, multanis <[email protected]> wrote: > Hi, > > I found this post because it was not working for le neither and it seems it > doesn't work without: > <outxml>true</outxml> > > So I just wanted to know if this is mandatory, why and actually what it does > ;-) > > Before using the configurator, I was simply adding this in my .classpath: > <classpathentry kind="con" > path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"> > <attributes> > <attribute name="org.eclipse.jst.component.dependency" > value="/WEB-INF/lib"/> > *<attribute name="org.eclipse.ajdt.aspectpath" > value="org.eclipse.ajdt.aspectpath"/>* > </attributes> > </classpathentry> > > > It was working fine but of course was ovewritten each time a maven update > project config was needed. Maybe the configurator should only write this > line ? > > Thanks ! > > -- > View this message in context: > http://aspectj.2085585.n4.nabble.com/AJDT-configurator-for-m2e-tp3862183p4529422.html > Sent from the AspectJ - users mailing list archive at Nabble.com. > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
