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 09:19 Go to next message
Santhosh Hari is currently offline Santhosh Hari
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 03:18 Go to previous messageGo to next message
Richard Meyer is currently offline Richard Meyer
Messages: 20
Registered: June 2012
Junior 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] Wed, 05 December 2012 23:52 Go to previous message
Santhosh Hari is currently offline Santhosh Hari
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: Sat Aug 30 04:33:43 EDT 2014

Powered by FUDForum. Page generated in 0.01596 seconds