Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Newbie Questions
Newbie Questions [message #561780] Fri, 04 October 2002 09:58
Dave Watkins is currently offline Dave WatkinsFriend
Messages: 4
Registered: July 2009
Junior Member
Hi,
I've just started trying out the AspectJ plugin for eclipse and I'm having
a few problems which may be installation/setup issues or (more likely)
it's me not 'getting it'. I installed the plugin and followed the
post-install instructions in the ajdt directory. I then decided to try
and follow chapter 1 of the developer's manual from the main AspectJ
website. I created an AspectJ project and then created the Point class
and then created an aspect class and put in a simple pointcut for the
'setters' and an 'after' to print a message that something had been set.
I then clicked on build and got the following message:

"Compile could not complete. See the console for more details..."

I'm not sure what console this is referring to. I've checked the console
view and the .log file but couldn't see anything. Anyway it had changed
my source, but I thought the aim of this approach was that it didn't
change my source code, rather it created a temporary .java file and
compiled that, mixing in the aspect code. To attempt to rectify this I
then looked through the project properties and setup a new working
directory (d:\temp) and reset the Point.java file back to it's original
state. I built again and it gave the same message. Looking in the temp
directory it had created the .java file but not the .class file. In fact
I couldn't find a .class file anywhere, so I guess the message is
referring to that. The .java in the temp dir had the interleaved code in
it.

I'm now going to try and run the examples by hand using the command line
tools to see if I can see where I'm going wrong but just thought I'd give
you feedback on a 'complete newbies' experience of the plugin. As I said
it's probably me not understanding how I'm supposed to set up a project.
Any help/advice would be gratefully accepted!

Thanks,
Dave Watkins
London Bridge Software






org.aspectj.ajde (1.0.6)
org.eclipse.ajdt.ui (0.5.2)
Previous Topic:Obfuscating generated AspectJ code
Next Topic:Newbie Questions
Goto Forum:
  


Current Time: Fri Apr 26 07:44:31 GMT 2024

Powered by FUDForum. Page generated in 0.02590 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top