Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358821 - "dropins" folder not identified by Orion server
Summary: "dropins" folder not identified by Orion server
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Server (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 374414
  Show dependency tree
 
Reported: 2011-09-25 09:49 EDT by Pradyut Sarma CLA
Modified: 2012-06-08 16:43 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pradyut Sarma CLA 2011-09-25 09:49:26 EDT
Hi,

I am trying to deploy a couple of OSGI bundles into the Orion server. Placing the bundles into the plugins folder does not help since the Orion application only loads the bundles defined in the eclipse\configuration\org.eclipse.equinox.simpleconfigurator\bundles.info file. I have created a dropins folder within the eclipse directory and added the line -Dorg.eclipse.equinox.p2.reconciler.dropins.directory=/path_to_dropins to the orion.ini file. But the bundles in the dropins folder are just ignored. I don't want to manually install my plugins. For the time being, I have modified the bundles.info file to include my bundles as well. But is this an acceptable approach?

Thanks and Regards,
Pradyut.
Comment 1 Szymon Brandys CLA 2012-04-17 03:41:58 EDT
The same story with language packs. We have to modify bundles.info to add them. We should address it in .5.
Comment 2 Malgorzata Janczarska CLA 2012-04-23 12:55:56 EDT
(In reply to comment #1)
> The same story with language packs. We have to modify bundles.info to add them.
> We should address it in .5.
I just got off from ST with Kit Lo (from globalization), he said that we should have a simpler scenario for installing language packs. I have to say that at first we'll be translated to 14 languages, having 4 bundles each, gives 56 bundles to be added to bundle.info, if administrator wants to add all of them.
Comment 3 Szymon Brandys CLA 2012-04-24 04:29:29 EDT
I talked to Simon about dropins folder and p2 support. It seems that for Orion a better way would be a mechanism that configures Orion packs on download time. 

It could work like this: 
- the user opens the download page
- sets what he wants in the Orion pack (ssl, supported OpenID providers etc.)
- the download site prepares the pack for him
- the user downloads it and does not have to configure anything else

It would be like our Eclipse SDK download site where we already have packs for EE, Java Dev or C Dev. The idea for Orion is to make this mechanism more dynamic.
So if the user chooses to have Polish support, this mechanism would prepare and publish an Orion pack with Polish language packs and bundles.info updated.
Comment 4 Malgorzata Janczarska CLA 2012-05-29 05:37:07 EDT
We changed the installation of language pack plugins to client-site. In this case "dropins" folder is no longer critical for the globalization. It is however still needed for the other mentioned use cases.
Comment 5 Simon Kaegi CLA 2012-06-08 16:43:12 EDT
I'm incredibly reluctant to support dropins in a server environment for the out of the box Orion server however a custom implementation is free to do what it likes.