Community
Participate
Working Groups
Build Identifier: I20100608-0911, AJDT 2.1.0 When creating a new AspectJ project or converting an existing Java project to an AspectJ project, a reference to aspectjrt.jar is attempted to added to the build path through a 'AspectJ Runtime Library'. This reference is broken. The problems view shows the following message: Description Resource Path Location Type The container 'AspectJ Runtime Library' references non existing library 'file:\C:\Java\eclipse-3.6\dropins\ajdt\plugins\org.aspectj.runtime_1.6.9.20100629172100.jar!\aspectjrt.jar' AspectJIncrementalCompileErrors Build path Build Path Problem Reproducible: Always Steps to Reproduce: 1. New > AspectJ Project... Fill in random name. 2. Created project has broken build path.
works fine for me. I wonder if this relates to you installing from the zip, hmm.
just tried again, brand new eclipse, installed 2.1.0 from the zip, new project and the library reference is OK. I am surprised it says 'dropins' in that reference you have though. How did you install from the zip? As it is a zipped update site, I expanded it locally and pointed the update manager at it. Do I take you may have unzipped it into the dropins folder?
yep, if I unzip the update site into dropins, I also get this problem. I don't think that is a recommended way to install AJDT.
(In reply to comment #3) > yep, if I unzip the update site into dropins, I also get this problem. I don't > think that is a recommended way to install AJDT. Yes, I did use dropins instead of local updatesite route (like instructed on the web page). I'll make sure to avoid dropins for AJDT if you do not intend to support it. Retested using the now working update site (great response!), problem is gone. If you do not intend to support dropins, feel free to close this as CLOSED INVALID. I would suggest though to state this explicitly on the download page, as most plugins just work when going the dropins route.
Thanks for getting back to us on this. From the downloads page: "To install from a zip file, download the zip and point your p2 installer to that file. Then proceed as if it were a normal update site." I'll reword to explicitly say that we do not support using the dropins directory. http://eclipse.org/ajdt/downloads/