tycho icon indicating copy to clipboard operation
tycho copied to clipboard

set-version doesn't update launcher name in product file

Open bllngr opened this issue 6 months ago • 2 comments

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, eg My 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>

bllngr avatar Jul 30 '24 09:07 bllngr