Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] IntelliJ IDEA and AspectJ

I haven't used the IntelliJ plugin myself, so I am not sure of its
limitations, but the way that you describe the plugin, it does not
seem particularly useful.

Another possibility is to use the AJBrowser:
http://www.eclipse.org/aspectj/doc/released/devguide/ajbrowser.html
This is included with your aspectj installation.  AJBrowser uses
public apis to drive the compilation process.  It is much simpler than
AJDT, so if anyone were to create an IntelliJ plugin, looking at the
source code for AJBrowser is a good template to work from.



On Fri, Dec 11, 2009 at 3:19 AM, Wim Deblauwe <wim.deblauwe@xxxxxxxxx> wrote:
> What I mostly need is a way to be sure that my aspects apply where they
> should. In AJDT, you get the gutter markers that helps a lot. Is there a
> command line tool (or maven plugin) that would produce a report of where my
> aspect applies?
>
> Right now, I have some aspects in my code (Using the normal aspectj syntax,
> because we want to be able to use declare warning and error). Those have
> been written by people using Eclipse. Here I am with my IntelliJ, having
> refactered some of the java code and seeing that the advice pointcuts do not
> apply anymore. I don't seem to have any means of debugging the pointcuts.
> Are other people also in this situation or is everybody using AJDT ?
>
> regards,
>
> Wim
>
> 2009/12/9 Andrew Eisenberg <andrew@xxxxxxxxxxxx>
>>
>> Apparently, there already is an AspectJ plugin for IntelliJ (and it
>> works on 9.0):
>> http://intellij.expertsystems.se/aspectj.html
>> However, it does not seem very complete since only annotation style is
>> supported.
>>
>> If there is support for creating an IntelliJ plugin, I will be able to
>> provide some advice (no pun intended), but will not contribute to it
>> due to a conflict of interest (I already work on STS).
>>
>> One of the benefits of building AspectJ tool support on Eclipse (as
>> opposed to other IDEs) is that ajc is a modified jdt compiler.
>> Although datastructures are not shared between ajc and the eclipse
>> runtime, they are analogous and so translating between the two is
>> simplified.  It would not be the same on IntelliJ.
>>
>> On Wed, Dec 9, 2009 at 12:21 PM, Wim Deblauwe <wim.deblauwe@xxxxxxxxx>
>> wrote:
>> > Hi,
>> >
>> > IntelliJ 9.0 has been released with support for all kinds of languages
>> > (some
>> > of which are very new), but not AspectJ, although this great language
>> > exists
>> > for 10 years already. Do you think we should start a petition to try to
>> > get
>> > AspectJ support in the next IntelliJ version or all you guys all very
>> > happy
>> > with Eclipse and could not care less?
>> >
>> > I think that if at least 1 major competitor would also have AspectJ
>> > support,
>> > it would greatly enhance the adaption of AOP in general in AspectJ in
>> > particular.
>> >
>> > I did send an email to jetbrains about it and it should be possible to
>> > do in
>> > a plugin, given enough resources. Are there people here interested in
>> > starting such a project? Should we start a petition to make jetbrains do
>> > it?
>> > ;) Should SpringSource sponser it to help AspectJ adoption and their
>> > Spring
>> > Roo project that heavely uses it? Without proper AspectJ support in
>> > other
>> > IDE's, your are stuck to Eclipse and IntelliJ is just too great to
>> > switch to
>> > Eclipse.
>> >
>> > I would like to hear your thoughts on this.
>> >
>> > regards,
>> >
>> > Wim
>> >
>> > _______________________________________________
>> > aspectj-users mailing list
>> > aspectj-users@xxxxxxxxxxx
>> > https://dev.eclipse.org/mailman/listinfo/aspectj-users
>> >
>> >
>> _______________________________________________
>> aspectj-users mailing list
>> aspectj-users@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
>


Back to the top