Is there any special setting for AspectJ in IntelliJ 833?

I have IntelliJ 833 and AspectJ 1.1 in a separate directory. I can create .aj files fine, but the compiler won't compile them, and give me an "error generating instrumenters". Is there a setting I should be aware of?

Thanks,

Frank

6 comments
Comment actions Permalink

Frank Astier wrote:
> I have IntelliJ 833 and AspectJ 1.1 in a separate directory.
> I can create .aj files fine, ...

You're doing fine, but ..

> .. give me an "error generating instrumenters".

This is a known bug :
http://www.intellij.net/tracker/idea/viewSCR?publicId=13602

Alain

0
Comment actions Permalink

On Wed, 25 Jun 2003 21:19:29 -0100, Alain Ravet wrote:

Frank Astier wrote:
> I have IntelliJ 833 and AspectJ 1.1 in a separate directory. I can
> create .aj files fine, ...

You're doing fine, but ..

> .. give me an "error generating instrumenters".


Just got home from a JUG meeting about AspectJ and now I'm pumped to try
more things - mmmmmm. Looking forward to the next EAP that hopefully
solves some of these "instrumentations" problems.




--
...turn to the light - don't be frightened by the shadows it creates,
...turn to the light - turning away could be a terrible mistake
...dream theater - the great debate


0
Comment actions Permalink

Mark Derricutt wrote:
> Just got home from a JUG meeting about AspectJ and now I'm pumped
to try
> more things - mmmmmm. Looking forward to the next EAP that hopefully
> solves some of these "instrumentations" problems.

I know the feeling. I keep squeezing the 'announcement' newsgroup in
Mozilla, but nothing comes out. Gosh. I hate it.

I don't know if it's the season, but AOP articles keep bubbling out all
over the Web, and many of them are insightfull. So many ideas to try
out, so little time, so little integration.. till next build.


Alain

0
Comment actions Permalink

On Thu, 26 Jun 2003 08:21:08 -0100, Alain Ravet wrote:

I don't know if it's the season, but AOP articles keep bubbling out all
over the Web, and many of them are insightfull. So many ideas to try out,
so little time, so little integration.. till next build.


Yeh - one of the interesting examples the guy speaking was showing was the
use of AspectJ's compile time errors/warnings, which when I first saw them
ages thou I thought was really neat.

The example was a set of errors/warnings for common nastyness in EJBs,
throwing errors on anything that touched awt/swing/sockets from within
descentants of the EntityBean class.



--
...turn to the light - don't be frightened by the shadows it creates,
...turn to the light - turning away could be a terrible mistake
...dream theater - the great debate


0
Comment actions Permalink

You know you can compile/weave using the AspectJ 1.1 compiler (they provide
an ant task), don't you? That's what I've done so far (we don't use IDEA's
build, but ant) and it worked pretty well.

I'll probably replace the weaver with IntelliJ's when they release one. I
like the AspectJ one mainly because I can compile the code in a first step
and then weave in a second one. For the policy enforcements I have a
separate target that I can run without weaving anything in the compiled
code, just to get the error reports.

On the bright side, IDEA's aspectJ warning/error highlighting works nicely
(and it has since build 818 I think), once you declare a warning/error in an
aspect file you'll see the yellow/red strips on the identified classes right
away. Way cool. :)

Andrei

"Mark Derricutt" <pinhead@satinism.org> wrote in message
news:pan.2003.06.26.09.56.44.949585@satinism.org...

On Thu, 26 Jun 2003 08:21:08 -0100, Alain Ravet wrote:

>

I don't know if it's the season, but AOP articles keep bubbling out all
over the Web, and many of them are insightfull. So many ideas to try

out,

so little time, so little integration.. till next build.

>

Yeh - one of the interesting examples the guy speaking was showing was the
use of AspectJ's compile time errors/warnings, which when I first saw them
ages thou I thought was really neat.

>

The example was a set of errors/warnings for common nastyness in EJBs,
throwing errors on anything that touched awt/swing/sockets from within
descentants of the EntityBean class.

>
>
>

--
...turn to the light - don't be frightened by the shadows it creates,
...turn to the light - turning away could be a terrible mistake
...dream theater - the great debate

>


0
Comment actions Permalink

On Thu, 26 Jun 2003 10:00:53 -0400, Andrei Oprea wrote:

On the bright side, IDEA's aspectJ warning/error highlighting works nicely
(and it has since build 818 I think), once you declare a warning/error in
an aspect file you'll see the yellow/red strips on the identified classes
right away. Way cool. :)


Class - thats excellent :) I havn't actually tried that in IDEA yet :)
--
...turn to the light - don't be frightened by the shadows it creates,
...turn to the light - turning away could be a terrible mistake
...dream theater - the great debate


0

Please sign in to leave a comment.