Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how to convert my RCP feature-based app from plugin.xml to manifest.mf?
how to convert my RCP feature-based app from plugin.xml to manifest.mf? [message #442631] Wed, 18 January 2006 15:46 Go to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
R3.1.1

I've perused this newsgroup, the eclipse.platform newsgroup, the
http://wiki.eclipse.org/index.php/RCP_FAQ, the Eclipse 3.0 FAQ's # 241-249, and the updated tutorial
by Ed Burnette: http://www.eclipse.org/articles/Article-RCP-1/tutorial1.html
plus both the following, in the online 3.1 help:
http://127.0.0.1:49355/help/topic/org.eclipse.platform.doc.i sv/porting/eclipse_3_1_porting_guide.html
http://127.0.0.1:49355/help/topic/org.eclipse.platform.doc.i sv/porting/eclipse_3_0_porting_guide.html

And I have found no data on how to *convert* an RCP app from using plugin.xml to use manifest.mf. I
see that the docs *assume* you will develop using manifest.mf (although even that is not very
clearly explained).

I do use extension-points, so I know I will continue to need plugin.xml, but for class-loaders and
plugin-dependencies it seems we must migrate to the use of manifest.mf

So -- how is it done? What do I need to change? (The PDE Tools -> "Migrate to 3.0" of course is not
relevant, and only would affect plugin.xml if it were in 2.1 format.)

thanks,
Paul
Re: how to convert my RCP feature-based app from plugin.xml to manifest.mf? [message #442714 is a reply to message #442631] Wed, 18 January 2006 16:19 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
The help pages you posted were to your local machine :-)

http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/porting/eclipse_3_1_porting_guide.html
http://help.eclipse.org/help31/topic/org.eclipse.platform.do c.isv/porting/eclipse_3_0_porting_guide.html

If you open plugin.xml in the PDE plugin.xml editor, there's a clickable link on the top-right of either the 'overview' tab that says 'Convert to OSGI manifest' or some such. If you click on it, it does the conversion, and then disappears.

Alex.
Re: how to convert my RCP feature-based app from plugin.xml to manifest.mf? [message #442716 is a reply to message #442631] Wed, 18 January 2006 16:24 Go to previous messageGo to next message
Ricky is currently offline RickyFriend
Messages: 204
Registered: July 2009
Senior Member
> And I have found no data on how to *convert* an RCP app from using
> plugin.xml to use manifest.mf. I see that the docs *assume* you will
> develop using manifest.mf (although even that is not very clearly
> explained).

In your plugin.xml on the overview tab is a link:

create an OSGi bundle manifest

and there is a thread with a step by step instruction for a similar task.
Maybe it will contain additional information:

From: Paul Keyser <rolarenfan@earthlink.net>
Newsgroups: eclipse.platform.rcp
Subject: How to add code to a library plugin, and deploy that code
Date: Wed, 21 Dec 2005 13:52:24 -0500

Good luck,

we will meet again in the near future as you will have several export
problems. At this time start your quest at
http://dev.eclipse.org/newslists/news.eclipse.platform/msg48 366.html. If
this does not help describe your setup and post your manifest.mf and
build.properties files.

Ricky
Re: how to convert my RCP feature-based app from plugin.xml to manifest.mf? [message #442730 is a reply to message #442716] Wed, 18 January 2006 21:30 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
Hearty thanks to Alex and Ricky, who gave rapid and consistent answeers that made me smack my head
and say "doh" -- since the link you mention is pretty visible, and says pretty much what I need to
do. ;) (On the other hand, 2/3 colleagues I asked did not know the answer either.)

The conversion works like a champ, and all is well.

thanks,
Paul
Re: how to convert my RCP feature-based app from plugin.xml to manifest.mf? [message #442733 is a reply to message #442730] Wed, 18 January 2006 23:20 Go to previous messageGo to next message
Alex Blewitt is currently offline Alex BlewittFriend
Messages: 946
Registered: July 2009
Senior Member
It's not exactly obvious, is it? And it's not as obvious as the 'Convert to 3.0 manifest' that's on the pop-up menu. Frankly, I don't know why the 'Convert to OSGI manifest' isn't on that menu either. Took me ages to find it ... you just don't expect there to be a link in the editor for something that should be in a menu, do you?

Alex.
Re: how to convert my RCP feature-based app from plugin.xml to manifest.mf? [message #442740 is a reply to message #442733] Thu, 19 January 2006 03:51 Go to previous messageGo to next message
Paul E. Keyser is currently offline Paul E. KeyserFriend
Messages: 878
Registered: July 2009
Senior Member
True, I did poke at the menu several times looking for it; and I did find it a little odd that the
affordance disappears from the editor when no longer needed (well, it can't *stay* there, and I do
not think there's any sense to a *disabled* hyperlink) -- which only emphasizes that it should be in
the menu ...

Anyway, all's well that ends well.

Paul
Re: how to convert my RCP feature-based app from plugin.xml to manifest.mf? [message #462299 is a reply to message #442733] Fri, 26 January 2007 01:32 Go to previous message
John Sanda is currently offline John SandaFriend
Messages: 22
Registered: July 2009
Junior Member
I was in the same boat having to create bundle manifests for several
plug-ins in an RCP application. I was poking around this mailing list
looking for some additional docs, and fortunately, that link was brought
to my attention. It definitely is not obvious. I also looked on the
pop-up menu for something like that. Thanks Alex. Big time saver!

Alex Blewitt wrote:
> It's not exactly obvious, is it? And it's not as obvious as the 'Convert to 3.0 manifest' that's on the pop-up menu. Frankly, I don't know why the 'Convert to OSGI manifest' isn't on that menu either. Took me ages to find it ... you just don't expect there to be a link in the editor for something that should be in a menu, do you?
>
> Alex.
Previous Topic:How can i : doSave EditorPart content then update the view ?
Next Topic:decorating images
Goto Forum:
  


Current Time: Wed Sep 11 19:46:50 GMT 2024

Powered by FUDForum. Page generated in 0.04829 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top