Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EIG:Install into Apache Karaf"

Line 7: Line 7:
 
<pre>
 
<pre>
 
karaf@root()>feature:repo-add http://download.eclipse.org/rt/ecf/latest/karaf-features.xml
 
karaf@root()>feature:repo-add http://download.eclipse.org/rt/ecf/latest/karaf-features.xml
karaf@root()>feature:install -v ecf-remoteservices-sdk
+
karaf@root()>feature:install -v ecf-rs-sdk
 
</pre>
 
</pre>
  
 
The ECF Karaf Remote Services SDK is now installed.
 
The ECF Karaf Remote Services SDK is now installed.
 +
 +
<b>NOTE:</b>There are a number of features included in the karaf-features, and ECF subsystems are represented as individual features.  For example, their is a feature for the ECF Generic distribution provider 'ecf-rs-distribution-generic' and for the rosgi provider 'ecf-rs-distribution-rosgi'.  There are also features for ECF discovery providers:  jmdns/zeroconf, slp, zookeeper.  There are other [[Distribution Providers]] and [[Discovery Providers]].  There are also others at the [https://github.com/ECF ECF github site].
  
 
To export an example remote service, see [[EIG:Install_Timeline_Example_into_Apache_Karaf | tutorial here]].
 
To export an example remote service, see [[EIG:Install_Timeline_Example_into_Apache_Karaf | tutorial here]].
Line 31: Line 33:
 
[[File:Karafinst2.png]]
 
[[File:Karafinst2.png]]
  
*Click on the arrow for the '''ecf-remoteservices-sdk''' feature/row underneath the '''Actions''' column to install.
+
*Click on the arrow for the '''ecf-rs-sdk''' feature/row underneath the '''Actions''' column to install.
 
*When install is complete, the bundles list will have all ECF bundles active
 
*When install is complete, the bundles list will have all ECF bundles active
  

Revision as of 15:02, 7 May 2017

Installing ECF Remote Services SDK

Requirements: ECF 3.13+ requires Karaf 4 running on Java 8.

Install Via Karaf Console

karaf@root()>feature:repo-add http://download.eclipse.org/rt/ecf/latest/karaf-features.xml
karaf@root()>feature:install -v ecf-rs-sdk

The ECF Karaf Remote Services SDK is now installed.

NOTE:There are a number of features included in the karaf-features, and ECF subsystems are represented as individual features. For example, their is a feature for the ECF Generic distribution provider 'ecf-rs-distribution-generic' and for the rosgi provider 'ecf-rs-distribution-rosgi'. There are also features for ECF discovery providers: jmdns/zeroconf, slp, zookeeper. There are other Distribution Providers and Discovery Providers. There are also others at the ECF github site.

To export an example remote service, see tutorial here.

Install Via Webconsole

karaf@root()>feature:install webconsole
  • Add the ECF Repository
    • From the Webconsole Main menu choose Main->Features
    • Add the appropriate <repo url> from above to in the text box, and select Add URL button

Karafinst1.png

The available ECF's features will then be shown below (e.g. ecf-remoteservices-sdk)

Karafinst2.png

  • Click on the arrow for the ecf-rs-sdk feature/row underneath the Actions column to install.
  • When install is complete, the bundles list will have all ECF bundles active

Karafinst3.png

The ECF RS SDK is installed and running in Karaf.

Back to the top