Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Automated version number management for about dialog in my product

Did this, thank you!

2014/1/17 Jeff MAURY <jeffmaury@xxxxxxxxxxxxx>

the text that is displayed in part of the product definition in plugin.xml. Use %var to support I18N and Eclipse will load it from (at the root). And use a src/main/resources/ with filtering to reference a property and configure Maven to that it will generate the result at the root of the project:


On Fri, Jan 17, 2014 at 9:23 PM, Laurent PETIT <laurent.petit@xxxxxxxxx> wrote:

What I would really not like, is a stale version number in the About Dialog of my product.

But my users want to see a version number there. They expect it to be there ! They opened an issue in my bugtracker for me to add it !

But still, I don't want to have to manually manage it. It's too error prone if some day I forget to update it.

What are your tactics to automate it ?

I've found this, for example, but I find it really ugly, and would only use this kind of hack as a last last last resort:

Another idea I have is find some maven plugin able to manipulate files via tokens?

But maybe I'm outdated and there's an more elegant way to handle this with Tycho?

Thanks in advance,


tycho-user mailing list


"Legacy code" often differs from its suggested alternative by actually working and scaling.
 - Bjarne Stroustrup

tycho-user mailing list

Back to the top