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

Bug 332506

Summary: [releng] API Tooling reports incomplete build path on o.e.rse.subsystem.shells.local
Product: [Tools] Target Management Reporter: Martin Oberhuber <mober.at+eclipse>
Component: RSEAssignee: Martin Oberhuber <mober.at+eclipse>
Status: RESOLVED FIXED QA Contact: Martin Oberhuber <mober.at+eclipse>
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: 3.3 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 332507    
Bug Blocks:    
Attachments:
Description Flags
Patch v1 none

Description Martin Oberhuber CLA 2010-12-14 05:19:04 EST
Build ID: Eclipse 4.1m4 / TM 3.3m4

API Tooling reports an "incomplete build path" on the following projects:

/org.eclipse.rse.subsystems.shells.dstore
/org.eclipse.rse.subsystems.shells.local
/org.eclipse.rse.subsystems.shells.ssh
/org.eclipse.rse.subsystems.shells.telnet

This is the error reported:

Description	Resource	Path	Location	Type
API analysis aborted for 'org.eclipse.rse.subsystems.shells.dstore' since its build path is incomplete	org.eclipse.rse.subsystems.shells.dstore		line 0	Fatal Problem
The project was not built since its build path is incomplete. Cannot find the class file for org.eclipse.core.resources.IProject. Fix the build path then try building this project	org.eclipse.rse.subsystems.shells.dstore		Unknown	Java Problem
The type org.eclipse.core.resources.IProject cannot be resolved. It is indirectly referenced from required .class files	DStoreServiceCommandShell.java	/org.eclipse.rse.subsystems.shells.dstore/src/org/eclipse/rse/internal/subsystems/shells/dstore	line 1	Java Problem
Comment 1 Martin Oberhuber CLA 2010-12-14 05:20:51 EST
Created attachment 185117 [details]
Patch v1

Attached patch adds "org.eclipse.core.resources" onto the Java build path, without adding it to the MANIFEST.MF.

I'd like to avoid committing this patch though, since I see a risk adding dependencies on o.e.core.resources which would not be detected at compile time but later at runtime only. After all, the API Tooling error seems to be a regression.
Comment 2 Martin Oberhuber CLA 2011-01-03 13:15:55 EST
Workaround released from attached patch, though the underlying regression from 
bug 332507 should be fixed in JDT/PDE.