I think the p2.inf file itself can be your main reference. It is all of 5 lines :)
$ cat build/org.eclipse.cdt.autotools-feature/p2.inf
update.id=org.eclipse.linuxtools.cdt.autotools.feature.group
update.range=(0,$version$)
provides.99.namespace=org.eclipse.equinox.p2.iu
provides.99.name=org.eclipse.linuxtools.cdt.autotools.feature.group
provides.99.version=$version$
From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] on behalf of Oberhuber, Martin [Martin.Oberhuber@xxxxxxxxxxxxx]
Sent: April 30, 2015 4:13 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] p2.inf tricks for restructuring / renaming a feature
Thanks so much Marc for the quick response !
We’ll digest what was done
J
And would appreciate notice if you guys have run into issues with the approach later on, and would thus recommend doing anything differently.
Thanks,
Martin
--
Martin Oberhuber, SMTS / Product Owner – Development Tools,
Wind River
direct +43.662.457915.85 fax +43.662.457915.6
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Marc Khouzam
Sent: Thursday, April 30, 2015 10:02 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] p2.inf tricks for restructuring / renaming a feature
Jeff did that magic, but as a reference:
p2.inf file is located at:
build/org.eclipse.cdt.autotools-feature/p2.inf
The contribution was done in commit:
863ac9d61ba4066699b49a5a46a077036a26c2b6
The bug:
http://eclip.se/368069
Hi all,
IIRC, a while back the Linuxtools automake feature has been renamed from “Linuxtools” to “CDT” namespace, and some p2.inf magic was applied in order to do that in a clean way.
I think we’re in a similar situation with the recent restructuring of org.eclipse.tcf.te.terminals.feature to org.eclipse.tm.terminal.feature.
Can anybody give me any pointers about what has been done in Linuxtools / CDT ?
Thanks,
Martin
--
Martin Oberhuber, SMTS / Product Owner
– Development Tools, Wind River
direct +43.662.457915.85 fax +43.662.457915.6