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

Bug 264842

Summary: Adding new API method results in errors in many projects
Product: [Eclipse Project] PDE Reporter: Dani Megert <daniel_megert>
Component: API ToolsAssignee: Olivier Thomann <Olivier_Thomann>
Status: VERIFIED FIXED QA Contact:
Severity: critical    
Priority: P3 CC: markus.kell.r, Olivier_Thomann
Version: 3.5Flags: Olivier_Thomann: review? (darin.eclipse)
Target Milestone: 3.5 M6   
Hardware: All   
OS: All   
Whiteboard:

Description Dani Megert CLA 2009-02-13 09:09:53 EST
N20090212-2000.

Whenever I add a method to an API class in org.eclipse.ui.workbench (version 3.5) with @since 3.5 I get many errors on other projects like this:
The minor version should be incremented in version 1.0.100.qualifier, since new APIs have been added since version 1.0.0.I20080603-2000	

Clean + rebuild fixes the problem until next time.

This is a critical bug as I get errors and as rebuilding each time is very expensive.
Comment 1 Dani Megert CLA 2009-02-13 09:11:36 EST
No errors in .log. All my projects are either source or imported as binary. Baseline is R3.4.
Comment 2 Olivier Thomann CLA 2009-02-13 09:14:17 EST
Could you please specify what are the other projects that gets the errors ?
Comment 3 Dani Megert CLA 2009-02-13 09:19:01 EST
Restart did not help.

Concrete example: add a public method to:
org.eclipse.ui.dialogs.SearchPattern

==> the following source projects get errors:
org.eclipse.jdt.apt.ui
org.eclipse.jdt.junit
org.eclipse.ltk.ui.refactoring
org.eclipse.pde.api.tools.ui
org.eclipse.pde.runtime
org.eclipse.team.cvs.ui
org.eclipse.ui.ide.application
org.eclipse.ui.views
org.eclipse.ui.views.log
org.eclipse.ui.win32
Comment 4 Dani Megert CLA 2009-02-13 09:39:44 EST
This works fine in 3.5 M5 and I20090211-0900.
Comment 5 Olivier Thomann CLA 2009-02-13 10:29:08 EST
Reproduced. I am working on it.
Comment 6 Olivier Thomann CLA 2009-02-13 21:11:29 EST
*** Bug 264848 has been marked as a duplicate of this bug. ***
Comment 7 Olivier Thomann CLA 2009-02-13 21:20:54 EST
Problem comes from the fix for bug 259997.
Released for 3.5M6.

More changes will be made in this area regarding bug 233643.

Darin, please verify.
Comment 8 Dani Megert CLA 2009-02-16 03:46:20 EST
Verified in N20090215-2000.