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

Bug 371419

Summary: Set eclipse.buildId at build time
Product: z_Archived Reporter: Markus Kuppe <bugs.eclipse.org>
Component: TychoAssignee: Project Inbox <tycho-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: enhancement    
Priority: P3 CC: igor
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Markus Kuppe CLA 2012-02-13 14:58:17 EST
Tycho does not set property eclipse.buildId which causes it to default to "unknown".

(This is probably a clone of https://issues.sonatype.org/browse/TYCHO-266)
Comment 1 Igor Fedorenko CLA 2012-02-13 15:41:24 EST
This does not provide us enough information to be able to troubleshoot the problem. What is "eclipse.buildId"? Where and how it is supposed to be set? Can you provide a small standalone project and detailed explanation of expected behaviour?
Comment 2 Markus Kuppe CLA 2012-02-13 16:01:11 EST
eclipse.buildId is e.g. used by the splash screen and in the workbench .log file to indicate the current build.

http://www.eclipse.org/forums/index.php/mv/tree/110265/#page_top (last post by Andrew) shows how it is used by platform.

Technically it is a product file property, but I would suggest that Tycho sets it to the current date automagically if not set in the .product file.
Comment 3 Igor Fedorenko CLA 2012-02-13 16:20:09 EST
No, tycho will not add any magic properties, you need to add this explicitly in your .product file. With Tycho 0.14 use something like <property> element below to get effective build id


  <property name="eclipse.buildId" value="${unqualifiedVersion}.${buildQualifier}"/>

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