On 10/06/06, Marc Weber <[EMAIL PROTECTED]> wrote:
Hi.
I've used eclipse and the aspecJ plugin successfully to create some
simple aspects. Did work except that the ide source code verifier didn't
recognize all aspects but it compiled fine.

If you would like to use aspectJ with maven and eclipse you most
probably want to add the aspectJ builder and project nature to your
eclipse plugin configuration. In this way ajdt would be able to use
the paths used by maven

In the end I think packaging is more important than eclipse and now I
want to know how to do things with mvn only.

I've found the maven-aspectJ-plugin which can weave apsectJ-libraries
into .jar files. Fine. How do I create those aspectJ-libraries?

mvn install ;)
Well thats all to do (of course if you have successfully configured
the aspectJ plugin). An aspect library is basicly nothing else than
jar files containing compiled @AspectJ files or *.aj files.

Is the aspectJ compiler a module from mvn or do I have to install it
seperately as the java-sdk?

To use with maven there is no need to add a seperate aspectJ
installation, all aspectJ dependencies will be downloaded from
ibibilo.

Is the default maven-compiler-plugin capable of compiling apsects?

No.. you must use the aspectj-maven-plugin

Another related question: Do you already use aspects in production
systems?

Alot of us are. A better place to get success stories would be on the
aspectj user list


/Kaare Nilsen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to