[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [equinox-dev] List of installable units or log - using p2 director to automate Subclipse, M2eclipse, and M2eclipse Extra for OpenMRS developers
- From: "Yousouf, Shenol" <s.yousouf@xxxxxxx>
- Date: Wed, 15 Sep 2010 18:06:20 +0200
- Accept-language: en-US, de-DE
- Acceptlanguage: en-US, de-DE
- Delivered-to: email@example.com
- Thread-index: ActU6pMVc0XsTiFdT1eiSusib3cIiAAAlYOQ
- Thread-topic: [equinox-dev] List of installable units or log - using p2 director to automate Subclipse, M2eclipse, and M2eclipse Extra for OpenMRS developers
Concerning your first question, I assume that you have your IU already published in a repository but are now wondering how to install it because of references to some known external repositories.
One direction to follow is to build a composite repository which refers to all the repositories that you need and install from there.
Passing your IU and the composite repository URL to p2director will cause the metadata from the child repositories to get merged and your external dependencies will be successfully resolved.
The format of composite repository is quite simple and there are also ant tasks to automate its creation:
Hope this helps !
SAP Labs Bulgaria
From: equinox-dev-bounces@xxxxxxxxxxx [mailto:equinox-dev-bounces@xxxxxxxxxxx] On Behalf Of misha680
Sent: Wednesday, September 15, 2010 6:28 PM
Subject: Re: [equinox-dev] List of installable units or log - using p2 director to automate Subclipse, M2eclipse, and M2eclipse Extra for OpenMRS developers
Two quick question, if you can help much apperciated.
1. I would like to set up an IU that depends on IU's at _other_
repositories. Thus, user adds _our_ repository, clicks on _our_ IU, and all
the IUs from other repositories that _need_ to be installed are installed.
I read all P2 wikis but could not find anything I could understand to be
This seemed to be helpful:
but I did not really understand how to implement the scenario above in
practice. If there are any guides or working examples in the wild much
Currently, my solution is to make a GUI plug-in as below, which works, but I
feel like there must be a simpler solution:
2. Thank you so much for your helpful hint about the installed IU
I have taken this information and made the following command;
./eclipse -nosplash -application org.eclipse.equinox.p2.director -repository
This _does_ install those IUs, but _even if I add the eclipse 3.6 and helios
update_ repositories on the command line, I notice that this _does not_
upgrade org.eclipse IUs that a GUI install _does_.
In other words, this command, even with eclipse 3.6 and helios update
repositories added, does _not_ reproduce the GUI action of installing these
same IUs in terms of _upgrading org.eclipse dependencies_
Is there a command line switch I am missing to do this?
Thank you very much
Pascal Rapicault-3 wrote:
> A complete list of all the IUs that have been installed is available in
> the most recent profile file located in
> In order to facilitate things for you users, you may want to create one IU
> that refers to all the elements you need.
> This way your end user only has one thing to install
> On 2010-09-12, at 5:47 PM, misha680 wrote:
>> Dear All:
>> I am trying to automate the install process for OpenMRS developers
>> I have found a helpful reference here:
>> And have created a command line:
>> ./eclipse -nosplash -application org.eclipse.equinox.p2.director
>> That _seems_ to mirror my Eclipse install.
>> However, on further investigation, it seems that certain things are not
>> installed. Notably, all _features_ related to the application seem
>> completely missing under the features/ folder.
>> Is there a good way to _see a list of all installable units_ in Eclipse?
>> The logs seem to record _features_, there is a bundles.list file that
>> _bundles = plugins_,
>> but where can I see a log of installable units in Eclipse?
>> Thank you
>> View this message in context:
>> Sent from the Equinox - Dev mailing list archive at Nabble.com.
>> equinox-dev mailing list
> equinox-dev mailing list
View this message in context: http://old.nabble.com/List-of-installable-units-or-log---using-p2-director-to-automate-Subclipse%2C-M2eclipse%2C-and-M2eclipse-Extra-for-OpenMRS-developers-tp29693317p29718999.html
Sent from the Equinox - Dev mailing list archive at Nabble.com.
equinox-dev mailing list