Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AspectJ Projects Broken After Updating AJDT
AspectJ Projects Broken After Updating AJDT [message #902558] Sat, 18 August 2012 08:14 Go to next message
Philip  Koester is currently offline Philip Koester
Messages: 20
Registered: July 2009
Junior Member
Using Eclipse 3.7.

From h-t-t-p://download.eclipse.org/tools/ajdt/37/dev/update, I'm using AJDT 2.2.1.e37x-20120716-0900.

From h-t-t-p://dist.springsource.org/release/AJDT/configurator, I'm using Maven Integration for AJDT (Optional) 0.13.0.201107281640.

Now when I create a new AspectJ project, I immediately get a red exclamation mark next to the project entry, along with the error message "The container 'AspectJ Runtime Library' references non existing library 'file:\C:\Program Files\Eclipse\eclipse-sdk-3.7\plugins\org.aspectj.runtime_1.7.0.20120703164200.jar!\aspectjrt.jar'".

Checking the file system, the Jar file is there, and it contains a top-level "aspectjrt.jar". So the error message is misguiding!

This looks like a regression. Last time I ran into this, I was told to switch to the "dev" update site, which solved the problem then.

Now I'm unable to have a working AspectJ project in Eclipse. I wonder how other people do it ...

Regards,
--Ph.

[Updated on: Sat, 18 August 2012 08:20]

Report message to a moderator

Re: AspectJ Projects Broken After Updating AJDT [message #902709 is a reply to message #902558] Sun, 19 August 2012 21:53 Go to previous messageGo to next message
Andrew Eisenberg is currently offline Andrew Eisenberg
Messages: 368
Registered: July 2009
Senior Member
Somehow, you have not installed AJDT properly. The jar org.aspectj.runtime_1.7.0.20120703164200.jar should not exist. Instead, you should have a folder named org.aspectj.runtime_1.7.0.20120703164200.

It's possible that you unzipped an archived update site into your Eclipse installation.

Make sure that you uninstall AJDT and reinstall it using Eclipse's install manager and the update site from here: http://download.eclipse.org/tools/ajdt/37/dev/update/
Re: AspectJ Projects Broken After Updating AJDT [message #902843 is a reply to message #902558] Mon, 20 August 2012 14:02 Go to previous messageGo to next message
Philip  Koester is currently offline Philip Koester
Messages: 20
Registered: July 2009
Junior Member
Hello Andrew,

no, I didn't manually unzip anything. I just went through the standard Eclipse procedure via Help -> Check for Updates, which broke my project.

Afterwards, I did uninstall AJDT and switch to the non-dev update site. Same problem. Then, I uninstalled AJDT and switched back to the dev site. Again, to no avail.

Anyway, I'm on Juno since today, where I'm not facing this issue.
Re: AspectJ Projects Broken After Updating AJDT [message #902849 is a reply to message #902709] Mon, 20 August 2012 14:05 Go to previous message
Philip  Koester is currently offline Philip Koester
Messages: 20
Registered: July 2009
Junior Member
Hi Andrew,

no, I didn't manually unzip anything. I went through the standard Eclipse update procedure via Help -> Check for Updates, which broke my AspectJ projects.

I did uninstall AJDT altogether, switched to the non-dev update site. Same problem.

Then again, I uninstalled AJDT, switched back to the dev site. No luck.

Anyway, since today I'm on Juno, where I am not facing this issue. So let's consider it solved. Smile

--Ph.
Previous Topic:Help
Next Topic:AspectJ: would it work in this case?
Goto Forum:
  


Current Time: Sat Aug 30 16:25:03 EDT 2014

Powered by FUDForum. Page generated in 0.02877 seconds