Author: thomas.diesler(a)jboss.com
Date: 2009-06-05 05:58:44 -0400 (Fri, 05 Jun 2009)
New Revision: 89870
Modified:
projects/jboss-osgi/trunk/docbook/en/modules/ch060-husky-testing.xml
projects/jboss-osgi/trunk/docbook/src/main/resources/bookinfo.xml
projects/jboss-osgi/trunk/pom.xml
projects/jboss-osgi/trunk/src/site/site.xml
Log:
Reference userguide from site
Modified: projects/jboss-osgi/trunk/docbook/en/modules/ch060-husky-testing.xml
===================================================================
--- projects/jboss-osgi/trunk/docbook/en/modules/ch060-husky-testing.xml 2009-06-05
08:37:50 UTC (rev 89869)
+++ projects/jboss-osgi/trunk/docbook/en/modules/ch060-husky-testing.xml 2009-06-05
09:58:44 UTC (rev 89870)
@@ -64,39 +64,39 @@
<para>Here is how it works </para>
<orderedlist>
- <listitem>A <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ <listitem>A <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
intercepts a test and determines the FQN of the test case and the test method from
the call stack. It then delegates the execution to the same
(or another) test in and isolated test environment. An isolated test environment is
one that does not have the same class loading space as
the test itself.</listitem>
- <listitem>A Bridge is associated with an <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ <listitem>A Bridge is associated with an <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
Invoker</ulink>. Invokers may be arbitarily complex. Local 'in
proccess' invokers are possible just as well as remote invokers. </listitem>
- <listitem>The Invoker sends the <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
- Request</ulink> to a <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ <listitem>The Invoker sends the <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ Request</ulink> to a <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
Connector</ulink> in the isolated test environment.</listitem>
- <listitem>A Connector has associated <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ <listitem>A Connector has associated <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
PackageListeners</ulink> that are responsible for processing test cases for
their respective test packages.</listitem>
- <listitem>A PackageListeners delegates the Request to a test <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
- Runner</ulink>, typicaly this would be a <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ <listitem>A PackageListeners delegates the Request to a test <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ Runner</ulink>, typicaly this would be a <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
JUnitRunner</ulink>.</listitem>
- <listitem>The Runner injects the <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
- Context</ulink> into the test case and returns a <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ <listitem>The Runner injects the <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ Context</ulink> into the test case and returns a <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
Response</ulink>, which the Connector returns to the
Invoker.</listitem>
- <listitem>The Bridge finally translates potential <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ <listitem>The Bridge finally translates potential <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
Failures</ulink> that may be contained in the Result, to test failures on the
client side.</listitem>
</orderedlist>
<para>The JBoss OSGi <emphasis
role="bold">jboss-osgi-husky.jar</emphasis> bundle registers the
Connectors.
- The <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ The <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
JMXConnector</ulink> is always registered.
- The <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
+ The <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...
SocketConnector</ulink> is registered when the appropriate configuration
options are set. It then registers the
- <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...;,
+ <ulink
url="http://jbmuc.dyndns.org/jboss-osgi-1.0.0.Beta2/jboss-osgi-husky...;,
which is a <ulink
url="http://www.osgi.org/javadoc/r4v41/org/osgi/framework/BundleList...
that inspects every
incomming bundle for the <emphasis
role="bold">Test-Package</emphasis> manifest header. The Extender
creates a PackageListener
for every package in the 'Test-Package' manifest header and registers them
with the available Connectors.</para>
Modified: projects/jboss-osgi/trunk/docbook/src/main/resources/bookinfo.xml
===================================================================
--- projects/jboss-osgi/trunk/docbook/src/main/resources/bookinfo.xml 2009-06-05 08:37:50
UTC (rev 89869)
+++ projects/jboss-osgi/trunk/docbook/src/main/resources/bookinfo.xml 2009-06-05 09:58:44
UTC (rev 89870)
@@ -4,11 +4,12 @@
<bookinfo>
<title>JBossOSGi - User Guide</title>
+ <!--
<releaseinfo>Version: 1.0.0.Beta2</releaseinfo>
<pubdate>Date: 03-Jun-2009 22:55:42</pubdate>
+ -->
- <!--
<releaseinfo>Version: ${version} (Draft)</releaseinfo>
<pubdate>Date: ${buildNumber}</pubdate>
- -->
+
</bookinfo>
Modified: projects/jboss-osgi/trunk/pom.xml
===================================================================
--- projects/jboss-osgi/trunk/pom.xml 2009-06-05 08:37:50 UTC (rev 89869)
+++ projects/jboss-osgi/trunk/pom.xml 2009-06-05 09:58:44 UTC (rev 89870)
@@ -298,6 +298,10 @@
<
url>scp://jbmuc.dyndns.org/var/www/html/jboss-osgi-${version}
</url>
</site>
+ <!--
+ To copy the userguide run:
+ scp -r docbook/target/docbook/publish/en-US/*
jbmuc.dyndns.org:/var/www/html/jboss-osgi-${version}/userguide/
+ -->
</distributionManagement>
<!-- Profiles -->
Modified: projects/jboss-osgi/trunk/src/site/site.xml
===================================================================
--- projects/jboss-osgi/trunk/src/site/site.xml 2009-06-05 08:37:50 UTC (rev 89869)
+++ projects/jboss-osgi/trunk/src/site/site.xml 2009-06-05 09:58:44 UTC (rev 89870)
@@ -5,7 +5,14 @@
<version position="left"/>
<body>
- <menu ref="modules" />
+ <menu ref="modules" />
+
+ <menu name="Userguide">
+ <item name="PDF"
href="/userguide/pdf/JBossOSGi%20Userguide.pdf"/>
+ <item name="HTML" href="/userguide/html"/>
+ <item name="HTML Single" href="/userguide/html_single"/>
+ </menu>
+
<menu ref="reports"/>
</body>