bart
bart

Reputation: 121

Eclipse RCP "About Window"

While developing "about window" in eclipse RCP, we need to define:

 aboutText=My text which will be shown in about window 

in about.ini file.

I need to add version number, which is defined in the overview page of the .product file. Is there any way to parametrize this string?

I have tried to add {featureVersion} to aboutText, but it doesn't work - my about window is not displayed then.

Thanks!

Upvotes: 3

Views: 1598

Answers (1)

Tonny Madsen
Tonny Madsen

Reputation: 12718

Not so difficult... Use {0}, {1}, etc in the text itself and construct a file about.mappings with:

0=abc
1=def
...

Now the problem is reduced to making substitutions in the mappings file. Unfortunately there are no standardized way to do this in Eclipse. For Tycho, I typically use maven filters as described here.

Upvotes: 1

Related Questions