[jboss-osgi-commits] JBoss-OSGI SVN: r89686 - in projects/jboss-osgi/trunk: spi/src/main/java/org/jboss/osgi/spi/framework and 1 other directory.
jboss-osgi-commits at lists.jboss.org
jboss-osgi-commits at lists.jboss.org
Tue Jun 2 13:45:49 EDT 2009
Author: thomas.diesler at jboss.com
Date: 2009-06-02 13:45:49 -0400 (Tue, 02 Jun 2009)
New Revision: 89686
Modified:
projects/jboss-osgi/trunk/docbook/en/modules/ch02-getting-started.xml
projects/jboss-osgi/trunk/spi/src/main/java/org/jboss/osgi/spi/framework/OSGiBootstrap.java
Log:
More userguide - WIP
Modified: projects/jboss-osgi/trunk/docbook/en/modules/ch02-getting-started.xml
===================================================================
--- projects/jboss-osgi/trunk/docbook/en/modules/ch02-getting-started.xml 2009-06-02 17:28:29 UTC (rev 89685)
+++ projects/jboss-osgi/trunk/docbook/en/modules/ch02-getting-started.xml 2009-06-02 17:45:49 UTC (rev 89686)
@@ -97,16 +97,9 @@
<title>JBossOSGi Runtime</title>
<para>If you selected 'JBossOSGi Runtime' during installation you should see a <emphasis role="bold">runtime</emphasis> folder, which contains
- the JBossOSGi Runtime distribution.</para>
+ the JBossOSGi Runtime distribution. The JBossOSGi Runtime has now evolved into a pure OSGi container onto which services and applications
+ can be deployed.</para>
- <mediaobject>
- <imageobject>
- <imagedata fileref="images/izpack-structure.jpg"/>
- </imageobject>
- </mediaobject>
-
- <para>The JBossOSGi Runtime has now evolved into a pure OSGi container onto which services and applications can be deployed.</para>
-
<para>The current JBossOSGi Runtime feature set includes</para>
<itemizedlist>
@@ -125,7 +118,24 @@
<listitem><emphasis role="bold">Microcontainer Support</emphasis> - [TODO]</listitem>
</itemizedlist>
+ <para>The layout of the JBossOSGi Runtime after installation is similar to what you know from <ulink url="http://http://jboss.org/jbossas">JBossAS</ulink>.</para>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/izpack-structure.jpg"/>
+ </imageobject>
+ </mediaobject>
+
+ <para>You can start the Runtime by running <emphasis role="bold">bin/run.sh</emphasis>. The supported command line
+ options are:</para>
+
+ <itemizedlist>
+ <listitem><emphasis role="bold">-b (--bind-address)</emphasis>The network address various services can bind to (-b 127.0.0.1).
+ The default is 'localhost'</listitem>
+ <listitem><emphasis role="bold">-c (--profile-name)</emphasis>The runtime profile to start (-c minimal).
+ The default is the 'default' profile.</listitem>
+ </itemizedlist>
+
<programlisting>
[tdiesler at tddell runtime]$ bin/run.sh
=========================================================================
@@ -160,6 +170,7 @@
<sect2 xml:id="SecRuntimeProfileMinimum">
<title>Minimum Profile</title>
+ <para>[TODO]</para>
</sect2>
<sect2 xml:id="SecRuntimeProfileDefault">
Modified: projects/jboss-osgi/trunk/spi/src/main/java/org/jboss/osgi/spi/framework/OSGiBootstrap.java
===================================================================
--- projects/jboss-osgi/trunk/spi/src/main/java/org/jboss/osgi/spi/framework/OSGiBootstrap.java 2009-06-02 17:28:29 UTC (rev 89685)
+++ projects/jboss-osgi/trunk/spi/src/main/java/org/jboss/osgi/spi/framework/OSGiBootstrap.java 2009-06-02 17:45:49 UTC (rev 89686)
@@ -65,10 +65,10 @@
private static final String OSGI_SERVER_HOME = "osgi.server.home";
private static final String OSGI_HOME = "osgi.home";
- @Option(name = "-c", aliases = { "--server-name" }, usage = "Sets the server config (-c minimal)")
+ @Option(name = "-c", aliases = { "--profile-name" }, usage = "The runtime profile to start (-c minimal)", required = false)
public String serverName = "default";
- @Option(name = "-b", aliases = { "--bind-address" }, usage = "Sets the bind address (-b 127.0.0.1)")
+ @Option(name = "-b", aliases = { "--bind-address" }, usage = "The network address various services can bind to (-b 127.0.0.1)", required = false)
public String bindAdress = "localhost";
private String osgiHome;
More information about the jboss-osgi-commits
mailing list