2009/12/11 Wim Deblauwe <[email protected]>: > 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?
ajc -showWeaveInfo is the command line tool. Your own message handler can be plugged into ajc if you want to collect the information and report it in some other way. > > 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 ? Annotation style does support Declare error/warning (http://www.eclipse.org/aspectj/doc/released/adk15notebook/ataspectj-declare.html) - but you would still need to use ajc to do the compilation so that they can be applied. I have heard from someone lately that is working on AspectJ weaving integration into IntelliJ - but unfortunately I don't know the current or future feature set. Andy > > 2009/12/9 Andrew Eisenberg <[email protected]> >> >> 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 <[email protected]> >> 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 >> > [email protected] >> > https://dev.eclipse.org/mailman/listinfo/aspectj-users >> > >> > >> _______________________________________________ >> aspectj-users mailing list >> [email protected] >> https://dev.eclipse.org/mailman/listinfo/aspectj-users > > > _______________________________________________ > aspectj-users mailing list > [email protected] > https://dev.eclipse.org/mailman/listinfo/aspectj-users > > _______________________________________________ aspectj-users mailing list [email protected] https://dev.eclipse.org/mailman/listinfo/aspectj-users
