AspectJ (AJDE) for NetBeans - plugin detail

This is the AspectJ Plugin based on AJDE for NetBeans. See http://www.jroller.com/ramlog/entry/using_the_aspectj_plug_in1, http://www.jroller.com/ramlog/entry/features

NetBeans Plugin - AspectJ (AJDE) for NetBeans
Plugin owner: ramos
Website: http://www.jroller.com/ramlog/entry/using_the_aspectj_plug_in1
Added: 2007-11-06
License: Eclipse Public License
Category:
Downloaded: 9,138 times
Rating:
 3.86, by 7 users

Plugin Log Show log

Versions available

Download plugin   Download size: 7.64 MB   Last Update: 2008-07-20

What's new in this version

Did something to fix reported NPE using NB 6.1

Verifications for NetBeans versions

Plugin is not subject to any verification



Introduction

This is the AspectJ Plugin based on AJDE for NetBeans. It is the port of the plugin for NetBeans 3.x. Download the zip file and install the 6 nbms contained in it. Because of dependencies please install in two steps: install all nbms except relationtable.nbm. Then install relationshiptable.nbm.

full.png

relTable2.png

[ You have to be logged in to be able to comment. ]

User Comments

  

AspectJ for NB 7.0.1

Well, I'm trying. Thanks, ansa
Posted by vuongj on May 08, 2012
  

AspectJ for NB 7.0.1

Hi! I fixed dependencies for NB 7.0.1 and it looks like working, can we upload new files and how?

You can download files here http://antowka-netbeans.blogspot.com/2011/08/aspectj-for-nb-701.html.
Posted by ansa on Aug 11, 2011
  

Install AspectJ in NetBeans 6.9.1

Hey, I did it. Look at this:

http://includeblogh.blogspot.com/2011/04/install-aspectj-in-netbeans-691.html
Posted by nachokhan on Apr 12, 2011
  

Installable in NB 6.8 and the Source Code

This plugin seem to work in Netbeans 6.8 at least with the addition of these plugins:
org-netbeans-modules-editor-deprecated-pre61completion.nbm
org-netbeans-modules-editor-deprecated-pre61settings.nbm
available at:
http://dlc.sun.com.edgesuite.net/netbeans/updates/6.5/uc/final/stable/modules/ide10/
There could be later versions but I haven't looked for it.

There's some possibly related source code available via CVS at
:pserver:anonymous@aspectj-for-nb6.cvs.sourceforge.net:/cvsroot/aspectj-for-nb6
though I'm not completely sure this is the source for the version here. The source seem to demand JDK6 (for Swing classes among others), so this code could be of a later version with other requirements and possibilities. As I'm stuck on JDK5 I couldn't compile it and see.
Posted by Mikael_B on Aug 25, 2010
  

Netbeans 6.9 Beta 1

Tried to load this into Netbeans 6.9 Beta 1 and it failed due to a version mismatch with the editor component. Is this being actively maintained? If not, can I volunteer to take a stab at it?
Posted by danapsimer on May 18, 2010
  

Doesn't work on 6.8

Hello, I used the plugin a few years ago when I experimented AspectJ for the first time. Now I finally have a good reason to use it, but unfortunaly it doesn't work with the current versions of NetBeans. Your plugin was great, and it is too bad that such good quality plugin can't be used anymore (Nobody is willing to come back to the previous version of NB, too much overall improvement have been done).
Posted by karmagfa on Feb 01, 2010
  

NetBeans 6.7.1

Hello, I have installed the plugin in Netbeans 6.5.1 and it works.
We are now using NetBeans 6.7.1. After installing the nbms and restarting the ide I got the error message:
"Warning - could not install some modules: Main Aspectj for NetBeans Module - The module named org.netbeans.modules.editor.deprecated.pre61completion/0 was needed and not found."
I had to disable the modules. Any ideas? Are there other NetBeans 6.7.1 AspectJ plugins available? Thanks.
Posted by blindner on Sep 23, 2009
  

Netbeans 6.5

Hello,

Looks very good.

I tried the example:

http://www.jroller.com/ramlog/entry/using_the_aspectj_plug_in1


with NetBeans 6.5.

There are no errors and everything looks as in the pictures only when I run it, it writes only

Hello

The 'again' is not added there.

Has anyone tried it with NetBeans 6.5?
Posted by yirco on Feb 24, 2009
  

Netbeans 6.5

Has anyone tried this on 6.5? Does it work? I will give it a try.
Posted by danapsimer on Jan 06, 2009
  

Sources

This plugin is great, i have some ideas which may be interesting, where can i get the sources to test them??
Posted by mchiareli on Jul 30, 2008
  

.

Thank you akahanek. David, I will take a look and try to enable support for your use case.
Posted by ramos on Jun 17, 2008
  

Very nice

Hi Ramon,
it looks very very promising. Keep up the good work!
Ales
Posted by akahanek on Jun 16, 2008
  

Testing with aspectj

Hi Ramon,

Great job on this! I like it when ide integration actually makes using a library easier (its frequently the opposite...). I've got a question about your implementation :

I'm using AspectJ only in testing. I'd like to only link to it for testing purposes and I use the Netbeans jUnit integration for that. I have a regular java library project (not NB module... tho I don't think this matters) and I've hooked the AspectJ libs to the test build. This uses a different classpath env var than the run build (one is ${run.classpath} and the other is ${run.test.classpath}). I think other vars must be important to the configuration (for example, the src directory, which apparently turns on functions in the aspectj toolbar). Are these hardcoded or do they reference project properties somewhere (I dont see them...). I'd like to use the test classpath and test/src dir for the aspectj run (and other commands) since doing my tests in my build would require it also establishing dependencies on jUnit, jMock, etc that don't belong in the primary build or distribution configs. (Doing that also breaks NB testing integration.) Do you have any ideas for configuring this?

Thanks, and again, great job Tim and... err... I mean Ramon.
- David
Posted by davidparks on Jun 12, 2008
  

Re: Classpath Error

Hi,
try adding the aspectjrt.jar manually as a jar to this project. More doesn't occur to me at this moment. Lets try that first.
Posted by ramos on Jan 22, 2008
  

Classpath Error

Hi Ramon,

First, thanks for your great work in this plugin, it really helps me a lot!

Now, to the problem: I have a project that was used in NB 5.5. This project was using the corresponding AspectJ plugin for 5.5 and it worked fine. But now, in 6.0 final, I can't make it compile the aspects. It keeps saying: "classpath error: unable to find org.aspectj.lang.JointPoint (check that aspectjrt.jar is in your classpath)". But it is... :) I'm using the library definition that the plugin inserts in the library manager. Also, a new project works just fine with the plugin.

The original project contained aspectjrt.jar and aspectjlib.jar in a subdirectory that was included manually in the classpath, but I removed them and, even though, the error remains. I've checked many times that the dist/lib directory is created correctly with the right aspectjrt.jar, so I don't know where to look to solve this. If you can shed some light on this, I will be very gratefull.
Posted by denisfalqueto on Jan 22, 2008
  

Classpath Error

Hi Ramon,

First, thanks for your great work in this plugin, it really helps me a lot!

Now, to the problem: I have a project that was used in NB 5.5. This project was using the corresponding AspectJ plugin for 5.5 and it worked fine. But now, in 6.0 final, I can't make it compile the aspects. It keeps saying: "classpath error: unable to find org.aspectj.lang.JointPoint (check that aspectjrt.jar is in your classpath)". But it is... :) I'm using the library definition that the plugin inserts in the library manager. Also, a new project works just fine with the plugin.

The original project contained aspectjrt.jar and aspectjlib.jar in a subdirectory that was included manually in the classpath, but I removed them and, even though, the error remains. I've checked many times that the dist/lib directory is created correctly with the right aspectjrt.jar, so I don't know where to look to solve this. If you can shed some light on this, I will be very gratefull.
Posted by denisfalqueto on Jan 22, 2008
  

NetBeans version

The plugin is build against NetBeans 6.0 Beta 2.
Posted by ramos on Nov 07, 2007
  

More information about this plugin ...

to be found here:
http://www.jroller.com/ramlog/entry/using_the_aspectj_plug_in1
Posted by ramos on Nov 06, 2007
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo