AJ Builder for existing class files? (to weave non-Java sources) [message #778687] |
Fri, 13 January 2012 11:32  |
Eclipse User |
|
|
|
Hi,
I've been using AJDT for a long time for Java projects, and the way I understand its Eclipse project builder is that it handles the compilation of the Java sources as well as the weaving. More recently I've got into using Scala, and on the command line I can quite easily compile Scala in .class files and then run ajc on the compiled classes to weave annotation based @Aspect and @Pointcut classes in the Scala project. There doesn't seem to be any equivalent ability in AJDT however. The AJDT project builder on its own obviously won't compile Scala, and trying to have it in a project alongside the Scala builder doesn't work as the two builders fight over who is doing the compiling.
Does anybody know if it would be feasible to have an alternate builder able to run after another builder, weaving class files? Then any project that generated .class files, Java or not, would be able to benefit from AspectJ weaving.
As it works from the command line I'm quietly hopeful that it's theoretically possible to add to ADJT.
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03686 seconds