• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

AspectJ on Netbeans

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For anybody interested in trying out AspectJ on Netbeans, it is really easy to setup and run
Go to http://aspectj4netbean.sourceforge.net and donwloaded the latest ZIP file ApsectJForNetbeans-1.1.rc2.zip
Extract the file to a folder.
There is a documents with installation instruction, but it is a bit outdated.
The installation is actually easier than described.
Copy modules/ajdeForNetbeans.jar to $NETBEANS_HOME/modules
Copy lib/ext/* to $NETBEANS_HOME/lib/ext/*
Restart Netbeans IDE and you are done !
Now you can click on the AJDE button to start AspectJ.
From now on use ONLY the AspectJ build, not the Java compile !
That's it.
Do not get upset by the syntax checker in the source editor as does not know yet that AspectJ exists
Just ignore it or even better switch the syntax checker off.
Just try a logging aspect or run the SpaceWar example mentioned in the documentation.
Good luck
 
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have installed netbeans which comes with jdk 1.4.2. Does it support aspectj?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not out of the box but you can get the AspectJ plugin for NetBeans 3.5 from aspectj4netbean.sourceforge.net.
 
Pradeep bhatt
Ranch Hand
Posts: 8945
Firefox Browser Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lasse Koskela:
Not out of the box but you can get the AspectJ plugin for NetBeans 3.5 from aspectj4netbean.sourceforge.net.


Thanks Lasse.
 
Author
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just wanted to let you know. Version 1.1.1 of AspectJ along with the matching NetBeans plugin should be availalble shortly.
[ September 19, 2003: Message edited by: Ramnivas Laddad ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic