AspectJ support - please help to start to use it in IDEA build 856 ... HOW-TO is needed

Hello!

Can somebody give me help on how to start with aspects under the IDEA
(856 build)?

I have:
- IDEA build 856 - works great!
- AspectJ 1.1 installed - works great!
- Some my .aj classes that I created by hand sometime ago outside of the
IDEA and compile with Ant ... aspects based on Trace.java that comes
within examples of the AspectJ...
- Windows 2000 / JDK 1.3.1 / 1.4.0 / 1.4.2

What and where I should turn-on in the IDEA to be able edit and most
important to compile .aj files within of the IDEA? To drop some .jars
somewhere into IDEA/lib or something?

Right now I have the Aspects docklet enabled, New -> Aspect also works
and creates a new .aj file, but after that something still wrong.

HOW-TO will be very useful.

Thanks in advance.
wbr, iit.


2 comments
Comment actions Permalink

All you have to do is to add aspect_rt.jar (found in IDEA-HOME/lib) to your project classpath. Make should atomatically pick your aj
files from the project.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"




0
Comment actions Permalink

Thank you very much.

I had aspectJ1.1 *.jars inside of the IDEA/lib folder.
They got there at early attempts to work with aspects at builds like 828.

wbr, iit.

Eugene Zhuravlev wrote:

All you have to do is to add aspect_rt.jar (found in IDEA-HOME/lib) to your project classpath. Make should atomatically pick your aj
files from the project.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"




0

Please sign in to leave a comment.