Bug 566731 - New product configuration file should include a version number
Summary: New product configuration file should include a version number
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.14   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: helpwanted, usability
Depends on:
Blocks:
 
Reported: 2020-09-07 09:22 EDT by Lars Vogel CLA
Modified: 2024-02-08 12:32 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2020-09-07 09:22:57 EDT
If we create a new product configuration file, it does not include a version number which fails a Tycho build.

I suggest we add also a version number to the newly generated product, as we do with new plug-ins.
Comment 1 Lars Vogel CLA 2020-09-07 09:23:35 EDT
Tycho error message for products without version number:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-publisher-plugin:2.0.0:publish-products (default-publish-products) on project ide: Publisher failed. Verify your target-platform-configuration and executionEnvironment are suitable for proper resolution: The product file ide.product does not contain the mandatory attribute 'version'. Please ensure you entered a version in the product file. -> [Help 1]
Comment 2 Lars Vogel CLA 2020-09-07 09:40:48 EDT
Looks like this needs to be done in org.eclipse.pde.internal.ui.wizards.product.BaseProductCreationOperation
Comment 3 Eclipse Genie CLA 2024-02-08 06:12:45 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.
Comment 4 Lars Vogel CLA 2024-02-08 12:32:50 EST
Fixed in latest release