Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] [iajc] How to weave aspects into class directory structures rathe r than a jar

Dear AspectJ Team,

thank you for the great tool.

Last week I had an email session with Vincent Massol author of the maven
aspectj plugin.

His current not released plugin version supports the new iajc ant tasks.
Unfortunatly we don't know
who to get the aspects weaved into directorys containing class files. It
seems that this is currenlt 
only possible with jars. 

This would break the Unit-Test integration of maven, as you cannot test the
aspects you weaved in your
classes. So the standard usage aspectj in maven would be:

1) java:compile (compile the complete clases of a project
2) postgoal of java:compile (weave in the aspect using aspectj maven plugin)
3) test:test (run all unit tests __including__ the woven aspects)

Can you give us some hints so that we can soothly integrated aspectj into
maven?

Thx for your efforts

Toby



Back to the top