[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ecf-dev] ecf-dev Digest, Vol 121, Issue 14
- From: Hallvard TrÃtteberg <hal@xxxxxxxxxxx>
- Date: Mon, 31 Aug 2015 07:52:12 +0000
- Accept-language: en-US, nb-NO
- Delivered-to: email@example.com
- Thread-index: AQHQ4nPSyY2rg8XW50KTFeX1a6cMqJ4lvvwA
- Thread-topic: ecf-dev Digest, Vol 121, Issue 14
Karaf has a âhotâ deploy folder, and anything you drop there will be installed by Karaf. You can both drop OSGi bundles and a feature file there. In my maven-based build I use two techniques:
- I have an Eclipse feature project and an update site (repository) project and build these with Tycho. The update site build will give you a target directory with a plugin folder, from which you can copy the plugins you need, into the deploy folder. The configuration of the Eclipse feature project determines which plugin will end up in the plugins folder, so you can control it pretty precisely.
- For OSGi bundles that are not part of the Eclipse world and built with Tycho, I use a features.xml file. This is Karafâs way of describing features, and is essentially the same as Eclipseâs feature project, but in a slightly different format. This file can reference bundles in a maven repository, at a URL or a local file. Hence, you can prepare a features.xml file that provides the remaining bundles. By using features.xml you can also set start level etc.
See https://karaf.apache.org/manual/latest/users-guide/provisioning.html for more on this.
>Date: Fri, 28 Aug 2015 19:03:35 -0400 (EDT)
>Subject: [ecf-dev] New topic in forum Eclipse Communications Framework
> (ECF), called Install ECF into Karaf Offline, by David Sousa
>Content-Type: text/plain; charset="utf-8"; Format="flowed"
>What would be the best way to install ECF into Karaf when there is no access to the Internet? I have tried to use the features-maven-plugin to download the necessary jars while connected to the Internet, and make a custom ServiceMix distribution. However, this does not work with the Eclipse P2 update sites in the features.xml file, i.e. nothing is copied to the target repository.
>I have also tried using the kar:create command to generate a KAR file for the ecf-remoteservices-sdk feature after having installed the feature while online. However, the KAR file simply contains an entry for the P2 site in the manifest.
>Any recommendations would be appreciated. Thanks.
>To participate in the discussion, go here: https://www.eclipse.org/forums/index.php?t=rview&frm_id=99
>-------------- next part --------------
>An HTML attachment was scrubbed...
>ecf-dev mailing list
>To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>End of ecf-dev Digest, Vol 121, Issue 14