| Priority |
Normal |
| Type | Feature |
| State | In Progress |
| Assignee | Roman Shevchenko |
| Subsystem | Editor. Code Completion |
| Affected versions |
9.0
|
| Fix for |
X
|
|
|
As Chris mentions, we may be able to exploit some code that already exists in AJDT for parsing ITD structures - Andrew Eisenberg (responsible for AJDT) would be able to help with that. And finally, there may actually be a subset of the full ITD functionality which would be enough for Roo, and Ben Alex (Spring Roo project lead) would be able to help us determine what that precise subset is.
It should be noted that currently the plugin weaves (adds aspects to) the classes after they have been compiled by the normal (JDK/Eclipse/Jikes) compiler. For ITD to be properly supported, classes would need to be compiled by the AspectJ compiler.
At the initial development of the plugin (for IntelliJ 4.5) I couldn't find a way to replace the project compiler. Possibly it's easier to add plugin compilers with later versions of IntelliJ and I'm willing to look at that, however pointers are welcome since time is limited.
UPDATE: Thanks to Roman, I have been able to resolve the issue. There was an old file type association that made IntelliJ interpret *.aj as text files. Moving it manually to AspectJ files under "Settings -> File Types" did the trick.
java.lang.IllegalStateException: Entity manager has not been injected (is the Spring Aspects JAR configured as an AJC/AJDT aspects library?)
Searched around for this, but only found a solution for Eclipse: http://javatech.org/tag/roo/
Any idea on how to do this in Idea (no pun intended)? Should we move this to a support forum entry?