Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311784

Summary: AJDT won't install because of missing dependencies
Product: [Tools] AJDT Reporter: Ryan <rbrueske>
Component: CoreAssignee: AJDT-inbox <AJDT-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: andrew.eisenberg
Version: 2.0.3   
Target Milestone: 2.0.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ryan CLA 2010-05-05 15:27:58 EDT
Build Identifier: 20100218-1602

Today I downloaded 3 different versions of eclipse (SOA, JEE, Java) and attempted to add the AJDT dev tools, only to receive errors:

Cannot complete the install because one or more required items could not be found.
  Software being installed: AspectJ Development Tools 2.0.1.e34x-20090930-1200 (org.eclipse.ajdt.feature.group 2.0.1.e34x-20090930-1200)
  Missing requirement: AspectJ Development Tools 2.0.1.e34x-20090930-1200 (org.eclipse.ajdt.feature.group 2.0.1.e34x-20090930-1200) requires 'org.eclipse.debug.core [3.4.0,3.5.0)' but it could not be found

I do not see an 'org.eclipse.debug.core' in eclipse SOA or JEE, but it is in the "Java" version. When attempting to add the AspectJ Development Tools to the "Java" version, the error is slightly different, with a different missing dependency:

Cannot complete the install because one or more required items could not be found.
  Software being installed: AspectJ Development Tools 2.0.1.e34x-20090930-1200 (org.eclipse.ajdt.feature.group 2.0.1.e34x-20090930-1200)
  Missing requirement: AspectJ Development Tools Core 2.0.1.e34x-20090930-1200 (org.eclipse.ajdt.core 2.0.1.e34x-20090930-1200) requires 'bundle org.eclipse.core.runtime [3.4.0,3.5.0)' but it could not be found
  Cannot satisfy dependency:
    From: AspectJ Examples 2.0.1.e34x-20090930-1200 (org.eclipse.ajdt.examples 2.0.1.e34x-20090930-1200)
    To: bundle org.eclipse.ajdt.core 0.0.0
  Cannot satisfy dependency:
    From: AspectJ Development Tools 2.0.1.e34x-20090930-1200 (org.eclipse.ajdt.feature.group 2.0.1.e34x-20090930-1200)
    To: org.eclipse.ajdt.examples [2.0.1.e34x-20090930-1200


-----
If there are other dependencies I need to install first, or if AJDT isn't compatible with the current versions out there I didn't see any information to that affect.

Reproducible: Always

Steps to Reproduce:
1. Download a current 3.5 version of eclipse from eclipse.org 
2. Start up eclipse
3. Add the update site - http://download.eclipse.org/tools/ajdt/34/update
4. Check AspectJ Development Tools (Version 2.0.1.e34x-20090930-1200)
5. Click next, and get an error saying it can't complete the install
Comment 1 Andrew Eisenberg CLA 2010-05-05 17:07:53 EDT
You are trying to install the 3.4 version of AJDT into Eclipse 3.5.  This will not work.  Try using the 3.5 update site:
http://download.eclipse.org/tools/ajdt/35/update
Comment 2 Ryan CLA 2010-05-05 17:55:54 EDT
Thanks for the quick response Andrew.

The 3.5 site isn't listed here http://www.eclipse.org/ajdt/downloads/ in the proper place (the "Eclipse 3.5 Update Site URL:" field is blank). So I thought I was to use the one listed below. Also, for whatever reason, the 3.5 update site is disabled in the "Available Software Sites" in eclipse I downloaded. It would have been so much better to have the site enabled so I could see it.