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

Bug 338230

Summary: [releng] Product version doesn't match what is installed
Product: [Eclipse Project] e4 Reporter: DJ Houghton <dj.houghton>
Component: UIAssignee: Project Inbox <e4.ui-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: aniefer
Version: unspecified   
Target Milestone: 4.1 M7   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description DJ Houghton CLA 2011-02-25 10:36:04 EST
- I was running build i20110218-0831.
- I updated to i20110224-2000 and restarted
- Help -> About says that I am still running the 0218 build
- But the installation details says that I have the 0224 version of the SDK installed
Comment 1 DJ Houghton CLA 2011-02-25 10:41:45 EST
Note the build id that is inserted into the splash screen *is* correct.
Comment 2 Andrew Niefer CLA 2011-02-25 14:43:52 EST
I expect that the splash screen gets its version from the config.ini, and the about dialog gets it from org.eclipse.sdk/about.mappings

The build will need to force the org.eclipse.sdk bundle to change version every build in order to pick up the changed about.mappings file through p2.

We probaly also need to do this for org.eclipse.platform
Comment 3 Andrew Niefer CLA 2011-03-02 16:16:51 EST
should be fixed in next build
Comment 4 Andrew Niefer CLA 2011-03-02 16:16:57 EST
.
Comment 5 DJ Houghton CLA 2011-03-23 16:27:11 EDT
This is a problem again in eclipse.buildId=I20110323-1055
Comment 6 Andrew Niefer CLA 2011-03-23 16:40:49 EDT
Caused by the last line of the org.eclipse.sdk/build.properties being part of the bin.includes property and not ending with a newline.

Fixed by appending a newline before updating the build.properties with the build id to use as the version.

A secondary consequence is that org.eclipse.sdk/helpData.xml is missing from the bundle.