Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314904 - should build before doing API compare
Summary: should build before doing API compare
Status: CLOSED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: API Tools (show other bugs)
Version: 3.6   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE API Tools Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 12:06 EDT by Darin Wright CLA
Modified: 2019-09-09 02:37 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2010-05-28 12:06:07 EDT
3.6 RC3

After doing a "Compare With > API Baseline..." operation I was seeing all sorts of misleading API changes between 3.6 and 3.5 bundles. It turned out that I had auto-build off. There were associated exceptions in the log that I had not noticed. We should ensure the workspace is built before doing the compare since the tooling relies on it.

The exceptions in the log were as follows, but the compare operation did not report any problems.

org.eclipse.core.internal.resources.ResourceException: Resource '/org.eclipse.debug.core/bin' does not exist.
at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:326)
at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:200)
at org.eclipse.core.internal.resources.Container.members(Container.java:265)
at org.eclipse.core.internal.resources.Container.members(Container.java:248)
at org.eclipse.pde.api.tools.internal.model.ProjectTypeContainer.doVisit(ProjectTypeContainer.java:124)
at org.eclipse.pde.api.tools.internal.model.ProjectTypeContainer.accept(ProjectTypeContainer.java:95)
at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiComparator.internalCompare(ApiComparator.java:1058)
at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiComparator.compare(ApiComparator.java:374)
at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiComparator.compare(ApiComparator.java:402)
at org.eclipse.pde.api.tools.internal.provisional.comparator.CompareApiScopeVisitor.visit(CompareApiScopeVisitor.java:107)
at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiScope.accept(ApiScope.java:71)
at org.eclipse.pde.api.tools.internal.provisional.comparator.ApiComparator.compare(ApiComparator.java:657)
at org.eclipse.pde.api.tools.ui.internal.wizards.CompareOperation.run(CompareOperation.java:82)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Comment 1 Eclipse Webmaster CLA 2019-09-06 16:10:21 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Julian Honnen CLA 2019-09-09 02:37:24 EDT
Please remove the stalebug flag, if this issue is still relevant and can be reproduced on the latest release.