This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 412502 - Compile errors in org.eclipse.core.tools
Summary: Compile errors in org.eclipse.core.tools
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Runtime (show other bugs)
Version: 4.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 4.4 M1   Edit
Assignee: Thomas Watson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 479125
  Show dependency tree
 
Reported: 2013-07-08 08:35 EDT by David Williams CLA
Modified: 2015-10-06 05:28 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Williams CLA 2013-07-08 08:35:40 EDT
We do not build this bundle any longer (as part of production builds). 
(It is listed in org.eclipse.core.tools feature, along with 
org.eclipse.core.tools.resources and
org.eclipse.core.resources.spysupport

But now shows compile errors in my workbench, such as missing packages/classes:

import org.eclipse.core.runtime.internal.stats.BundleStats;
import org.eclipse.core.runtime.internal.stats.StatsManager;

to name a few. 

This could easily be "user error", but seemed to happen shortly after recent Equinox changes. 

I suggest making it "compile clean" if there's any usefulness to it ... otherwise, we should "retire" it from repo (at least master), to avoid (my :) confusion.
Comment 1 Thomas Watson CLA 2013-07-08 08:43:59 EDT
I can take a look at this.  It obviously is using internals of equinox that got removed in luna.  Not sure how much time we should spend in this if we no longer are building them.
Comment 2 John Arthorne CLA 2013-07-08 09:14:41 EDT
We never traditionally built this bundle, but I know some people (including myself) occasionally install and use it. I suggest whatever minimal fix to get rid of compile errors so the other parts of the tools bundle can still be used. If there is no equivalent of BundleStats just comment out that part of the tool.
Comment 3 Thomas Watson CLA 2013-07-08 15:08:30 EDT
I commented out everything to make core.tools compile.

If there is enough interest we could provide a system bundle fragment to get the class loading and bundle stat stuff for the core.tools available.  Should be possible, but also is not a simple undertaking.
Comment 5 David Williams CLA 2013-07-09 11:24:44 EDT
Thank you ... you know how I hate red X's. :)