tycho
tycho copied to clipboard
set-version doesn't update launcher name in product file
Steps to reproduce
- In a project, make sure the launcher name in the product file includes the project version, e.g.
My Product 1.2.3
- Run
mvn clean package
and make sure the created launcher includes the version number, egMy Product 1.2.3.exe
on Windows - Run
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=2.0.0
- Run
mvn clean package
and check the name of the created launcher
Expected result
The launcher name contains the new version. i.e. My Product 2.0.0.exe
on Windows
Actual result
The version in the launcher name is not updated and stays on the old version, i.e. My Product 1.2.3.exe
on Windows
Excerpts
<product name=My Product" uid="my-product" id="my.product" application="org.eclipse.e4.ui.workbench.swt.E4Application"
version="1.2.3" includeLaunchers="true">
<!-- ... -->
<launcher name="My Product 1.2.3">
</launcher>
<!-- ... -->
</product>