Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 326143 - Editor for p2.inf
Summary: Editor for p2.inf
Status: RESOLVED WONTFIX
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.7   Edit
Hardware: PC Windows 7
: P3 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: PDE-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-24 09:18 EDT by Lars Vogel CLA
Modified: 2014-02-28 07:50 EST (History)
11 users (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 2010-09-24 09:18:35 EDT
I think it would be helpful to have a wizard which could generate p2.inf files for the following usecase:

1.) http
2.) file

together with a location. A valid p2.inf file should be generated as a result.
Comment 1 Torkild Resheim CLA 2010-09-24 09:35:40 EDT
Not sure about a wizard. But it certainly would be helpful to have an editor. Especially when setting up dependencies.
Comment 2 Lars Vogel CLA 2010-09-26 13:39:06 EDT
I like the idea of an idea for p2.inf. I changed the title for this bug report.
Comment 3 Curtis Windatt CLA 2011-06-13 10:40:02 EDT
PDE does not plan on supporting an editor for a p2 file.  I assume that Pascal moved this to PDE because p2 has no interest in supporting such an editor either.  This will only be considered if someone steps up to create the editor and provide ongoing support.
Comment 4 Mickael Istria CLA 2012-03-15 05:50:37 EDT
This editor could be a nice Google Summer of Code proposal...
Comment 5 Ian Bull CLA 2012-03-15 12:27:03 EDT
I wonder if the answer is an editor for the p2.inf file, or better support in our existing editors for the type of things we use the p2.inf file for.  The p2.inf file is meant to be a 'low level' way to influence the publisher. In many cases (say negation requirements), it would be better to extend the feature.xml editor to provide a way to specify these things.  

Given a resource allocation choice, should we add p2.inf tooling, or should we improve our existing PDE/UI for these cases?  (Yes I realize 'both' is the answer we all want to say) :-)
Comment 6 Mickael Istria CLA 2012-03-15 12:43:20 EDT
People will probably always prefer feature.xml over p2.inf. So indeed the p2.inf is more a file that you add to a feature.xml to perform some hacks.
It would be nice to have a dedicated p2.inf editor tab on the feature.xml or category.xml.
Comment 7 Heiko Böttger CLA 2013-03-15 18:06:54 EDT
For me the point of having a special p2.inf editor is easier editing of the file. It´s much better to hava an ui where you see whats possible and not having in outdated and incomplete documentation inorder to find a property that can be set when creating an installation unit. Also its likely that when doing copy paste modify to copy a property within an installation unit to forget updating the index.
Comment 8 Lars Vogel CLA 2014-02-28 07:50:15 EST
Marking as WONTFIX. Please reopen in case you intent to work on this.