Did this, thank you!
2014/1/17 Jeff MAURY <jeffmaury@xxxxxxxxxxxxx>
Hello,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 plugin.properties (at the root). And use a src/main/resources/plugin.properties with filtering to reference a property and configure Maven to that it will generate the result at the root of the project:<build><resources><resource><directory>src/main/resources</directory><filtering>true</filtering><targetPath>../..</targetPath></resource></resources></build>On Fri, Jan 17, 2014 at 9:23 PM, Laurent PETIT <laurent.petit@xxxxxxxxx> wrote:
_______________________________________________Hello,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:http://www.bredex.de/index.php/blog_article_en/items/automated-version-number-management-for-about-dialog-in-eclipse-products.html
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,--Laurent
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user
--
Jeff MAURY
"Legacy code" often differs from its suggested alternative by actually working and scaling.
- Bjarne Stroustrup
http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user