Community
Participate
Working Groups
The Tycho build system requires that the ID is set in the product configuration file. It would be good if PDE could generate a default one. For example the generated content of the "name" field would be fitting IMHO for the default IDE.
Not sure if this is required especially after creating product file, cursor is in ID field only. Or , if a product def file has to have an id, id field should be there in the previous dialog and finish should be disabled without a valid id. I am not sure if generating a default name = "name" is the best way here.
(In reply to Vikas Chandra from comment #1) > Or , if a product def file has to have an id, id field should be there in > the previous dialog and finish should be disabled without a valid id. Sounds also good, maybe create a default ID in the previous dialog?
I'm fine with a default ID set in the creation dialog or a default ID in the editor if that field starts with focus and the default ID is selected (i.e. typing will delete the default ID). The default ID should likely be based on the file name. Reminder that the dialog cannot open with errors. It should still be a simple operation to create a product config, open the dialog, select a project, enter a file name, press ok.
>default ID in the editor if that field starts with focus and the default ID is >selected (i.e. typing will delete the default ID). The default ID should likely >be based on the file name. I like this idea. 1) Same as comment #0 2) id field in focus and default id selected 3) typing deletes the default id 4) default id same as file name ( instead of "name" ) Lars, If you are you planning to contribute, we can put it in 4.5M2.
(In reply to Vikas Chandra from comment #4) > Lars, If you are you planning to contribute, we can put it in 4.5M2. Sorry sure if I or Simon will find the time. We try.
New Gerrit change created: https://git.eclipse.org/r/84927
Gerrit change https://git.eclipse.org/r/84927 was merged to [master]. Commit: http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=41848ee08f471dc377994819da55e3c568a517c2
Thanks Martin.
Martin, can you please verify this fix?
verified on: Version: Oxygen (4.7) Build id: I20161205-0800