felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From conflue...@apache.org
Subject [CONF] Apache Felix > Apache Felix Gogo
Date Tue, 22 Dec 2009 22:28:00 GMT
<html>
<head>
    <base href="http://cwiki.apache.org/confluence">
            <link rel="stylesheet" href="/confluence/s/1519/1/1/_/styles/combined.css?spaceKey=FELIX&amp;forWysiwyg=true"
type="text/css">
    </head>
<body style="background-color: white" bgcolor="white">
<div id="pageContent">
<div id="notificationFormat">
<div class="wiki-content">
<div class="email">
     <h2><a href="http://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Gogo">Apache
Felix Gogo</a></h2>
     <h4>Page <b>edited</b> by             <a href="http://cwiki.apache.org/confluence/display/~dbaum">Derek
Baum</a>
    </h4>
     
          <br/>
     <div class="notificationGreySide">
         <h1><a name="ApacheFelixGogo-ApacheFelixGogo"></a>Apache Felix
Gogo</h1>

<p>Apache Felix Gogo is a subproject of Apache Felix aiming at implementing the OSGi
RFC-147.<br/>
The code has been donated by Peter Kriens and further developed by the Felix team.</p>

<p>The RFC-147 draft is not yet publicly available. It used to be called RFC-132, which
can be found about 40% into <a href="http://www.osgi.org/download/osgi-4.2-early-draft.pdf"
rel="nofollow">http://www.osgi.org/download/osgi-4.2-early-draft.pdf</a></p>

<h2><a name="ApacheFelixGogo-ConfiguringFelixtouseGogo"></a>Configuring
Felix to use Gogo</h2>

<p>Gogo consists of two main bundles:</p>
<ol>
	<li><b>runtime</b> &#45; this implements the RFC-147 Command service
and shell interpreter.</li>
	<li><b>console</b> &#45; this is a simple tty console that reads terminal
input and submits it to the RFC-147 Command service.</li>
</ol>


<p>This is similar to the relationship between the existing Felix Shell and Shell TUI
bundles.</p>

<p>To use Gogo, remove the Shell TUI bundle and add the Gogo runtime and console bundles
to the bundle directory of the binary Felix distribution. Leave the existing Felix Shell bundle,
as Gogo can execute existing Felix commands as well as new RFC-147 commands:</p>

<div class="preformatted panel" style="border-width: 1px;"><div class="preformattedContent
panelContent">
<pre>$ cd felix-framework-2.0.1
$ ls bundle
org.apache.felix.bundlerepository-1.4.2.jar
org.apache.felix.gogo.console-0.2.2.jar
org.apache.felix.gogo.runtime-0.2.2.jar
org.apache.felix.shell-1.4.1.jar

$ java -jar bin/felix.jar 

Welcome to Felix
================

$ ps
START LEVEL 1
   ID   State         Level  Name
[   0] [Active     ] [    0] System Bundle (2.0.1)
[   1] [Active     ] [    1] Apache Felix Bundle Repository (1.4.2)
[   2] [Active     ] [    1] Apache Felix Gogo Shell Console (0.2.2)
[   3] [Active     ] [    1] Apache Felix Gogo Shell Runtime (0.2.2)
[   4] [Active     ] [    1] Apache Felix Shell Service (1.4.1)
</pre>
</div></div>
     </div>
     <div id="commentsSection" class="wiki-content pageSection">
       <div style="float: right;">
            <a href="http://cwiki.apache.org/confluence/users/viewnotifications.action"
class="grey">Change Notification Preferences</a>
       </div>

       <a href="http://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Gogo">View
Online</a>
       |
       <a href="http://cwiki.apache.org/confluence/pages/diffpagesbyversion.action?pageId=122139&revisedVersion=5&originalVersion=4">View
Change</a>
              |
       <a href="http://cwiki.apache.org/confluence/display/FELIX/Apache+Felix+Gogo?showComments=true&amp;showCommentArea=true#addcomment">Add
Comment</a>
            </div>
</div>
</div>
</div>
</div>
</body>
</html>

Mime
View raw message