Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 332506 - [releng] API Tooling reports incomplete build path on o.e.rse.subsystem.shells.local
Summary: [releng] API Tooling reports incomplete build path on o.e.rse.subsystem.shell...
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M5   Edit
Assignee: Martin Oberhuber CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on: 332507
Blocks:
  Show dependency tree
 
Reported: 2010-12-14 05:19 EST by Martin Oberhuber CLA
Modified: 2011-01-03 13:15 EST (History)
0 users

See Also:


Attachments
Patch v1 (2.14 KB, patch)
2010-12-14 05:20 EST, Martin Oberhuber CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.