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

Bug 506772

Summary: Remove unnecessary imports which can break the tycho build
Product: [Eclipse Project] Equinox Reporter: Lars Vogel <Lars.Vogel>
Component: FrameworkAssignee: Lars Vogel <Lars.Vogel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: daniel_megert, Lars.Vogel, tjwatson
Version: 4.5.0 Mars   
Target Milestone: Oxygen M4   
Hardware: PC   
OS: Linux   
See Also: https://git.eclipse.org/r/84209
Whiteboard:
Bug Depends on:    
Bug Blocks: 506794    

Description Lars Vogel CLA 2016-10-31 04:45:21 EDT
Activating the project consideration in Tycho breaks the platform build, see Bug 506435.

Root cause seems that JDT does not detect these errors and therefore they are not noticed, see Bug Bug 506770.

I suggest we correct Equinox. Gerrit review on its way.
Comment 1 Eclipse Genie CLA 2016-10-31 04:51:03 EDT
New Gerrit change created: https://git.eclipse.org/r/84209
Comment 2 Dani Megert CLA 2016-10-31 06:20:38 EDT
(In reply to Lars Vogel from comment #0)
> Root cause seems that JDT does not detect these errors and therefore they
> are not noticed, see Bug Bug 506770.

JDT is correct. The errors are not reported because reporting has been disabled on some source folders (see bug 463706, bug 463710 and bug 464172).
Comment 3 Thomas Watson CLA 2016-10-31 10:58:37 EDT
The source for apache felix is kept in sync with the felix project.  I think we should fix it at apache also.  Otherwise it gets difficult to match up line numbers when I need to open bugs against apache to fix real code issues.

I opened jira https://issues.apache.org/jira/browse/FELIX-5390
Comment 4 Thomas Watson CLA 2016-11-02 16:42:59 EDT

*** This bug has been marked as a duplicate of bug 506939 ***