Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Where is the eclipse.buildId property set?
Where is the eclipse.buildId property set? [message #336870] Wed, 08 July 2009 13:13 Go to next message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
This property is used in the splash screen and in the About Dialog. I
couldn't find the place where it is set. Any clues?

- Prakash
---
http://blog.eclipse-tips.com
Re: Where is the eclipse.buildId property set? [message #336874 is a reply to message #336870] Wed, 08 July 2009 13:53 Go to previous messageGo to next message
Dilton McGowan II is currently offline Dilton McGowan II
Messages: 98
Registered: July 2009
Member
On Wed, 08 Jul 2009 22:43:56 +0530, Prakash G.R. wrote:

> This property is used in the splash screen and in the About Dialog. I
> couldn't find the place where it is set. Any clues?
>
> - Prakash
> ---
> http://blog.eclipse-tips.com

I found it in configuration/config.ini in a stock Eclipse platform
download.
Re: Where is the eclipse.buildId property set? [message #336875 is a reply to message #336874] Wed, 08 July 2009 14:09 Go to previous messageGo to next message
Prakash G.R. is currently offline Prakash G.R.
Messages: 621
Registered: July 2009
Senior Member
Dilton McGowan II wrote:
> I found it in configuration/config.ini in a stock Eclipse platform
> download.

Yes, Its taken from here and loaded into System properties. I'm looking
for the code which does this. Could it be p2?


- Prakash
---
http://blog.eclipse-tips.com
Re: Where is the eclipse.buildId property set? [message #336897 is a reply to message #336875] Fri, 10 July 2009 11:44 Go to previous message
Andrew Niefer is currently offline Andrew Niefer
Messages: 990
Registered: July 2009
Senior Member
p2 doesn't know what that property is, but it is getting set by p2
because the SDK defines it in the metadata.

The SDK is build using a .product file which contains
<configurations>
...
<property name="eclipse.buildId" value="@qualifier@"/>
</configurations>
Where the @qualifier@ gets replaced at build time. This results in the
property being generated into the p2 metadata and p2 writing it in the
config.ini at install time.

-Andrew


Prakash G.R. wrote:
> Dilton McGowan II wrote:
>> I found it in configuration/config.ini in a stock Eclipse platform
>> download.
>
> Yes, Its taken from here and loaded into System properties. I'm
> looking for the code which does this. Could it be p2?
>
>
> - Prakash
> ---
> http://blog.eclipse-tips.com
Previous Topic:How to extend an update site reliably and easily ?
Next Topic:File not found after trying to get Eclipse language pack
Goto Forum:
  


Current Time: Wed Jul 30 01:18:44 EDT 2014

Powered by FUDForum. Page generated in 0.04758 seconds