Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Generation of folders during eclipse .product file export(Generation of folders during eclipse .product file export)
Generation of folders during eclipse .product file export [message #988878] Mon, 03 December 2012 14:19 Go to next message
Santhosh Hari is currently offline Santhosh HariFriend
Messages: 21
Registered: March 2010
Junior Member
Hello everyone !!

Recently when I was generating a RCP from a .product file using the export option available in eclipse, I got this doubt. Few plugins get exported as jars but few get exported as folders. Any one is aware why this behavior? What is making the plugin to get exported as jars and folders ?

thanks,
Santhosh
Re: Generation of folders during eclipse .product file export [message #988994 is a reply to message #988878] Tue, 04 December 2012 08:18 Go to previous messageGo to next message
Richard Meyer is currently offline Richard MeyerFriend
Messages: 40
Registered: June 2012
Member
Make your product based on features(.product-file -> overview tab -> "The product configuration is based on: features".
Create a feature and add your plug-ins to the feature.xml.
In the feature.xml file in the tab Plug-ins select the feature you like to export as folder and select the check box "Unpck the plug-in after the installation"
Re: Generation of folders during eclipse .product file export [message #989397 is a reply to message #988994] Thu, 06 December 2012 04:52 Go to previous message
Santhosh Hari is currently offline Santhosh HariFriend
Messages: 21
Registered: March 2010
Junior Member
Thanks Richard for your reply. Just to add to that,I got to know if in a plugin if some data is required to be written at runtime or any of its dependent jars has such a requirement, then while exporting, this plugin gets exported as folder instead of jar.
This can be visualised as follows:

Open the plugin.xml in plug-in manifest editor of eclipse. Go to Runtime tab.
In the class path if it is mentioned as runtime or the jars added here has such dependency, then this plugin when included in a .product file and then exported ,it will be exported as folders instead of jars.




Previous Topic:How to export a GMF Editor to RCP
Next Topic:Dynamic UI Widgets Creation by Reading XML
Goto Forum:
  


Current Time: Fri Apr 19 23:18:41 GMT 2024

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

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

Back to the top