|
Re: Circular dependencies [message #1233495 is a reply to message #1233201] |
Sun, 19 January 2014 20:46 |
Andrew Eisenberg Messages: 382 Registered: July 2009 |
Senior Member |
|
|
The standard way of doing this is to add your target projects to your aspect projects' in path. This means that your aspect projects depend on your target project, but not the other way around. Your target projects do not need to be aspect projects.
There is a small complication here, though. This means that your target projects are first compiled using a regular java compiler, and then the byte code is passed to the aspect project and the aspects are woven in. You just need to be careful that when you produce your artifacts that you ship the woven byte code, not the original non-woven bytecode.
This is simple inside of Eclipse, but more tricky to set up build systems (like maven) with.
Let me know if you need more help getting started.
[Updated on: Sun, 19 January 2014 20:47] Report message to a moderator
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04906 seconds