Return-Path: X-Original-To: apmail-aries-commits-archive@www.apache.org Delivered-To: apmail-aries-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 56314EFB6 for ; Mon, 18 Feb 2013 15:12:54 +0000 (UTC) Received: (qmail 99267 invoked by uid 500); 18 Feb 2013 15:12:53 -0000 Delivered-To: apmail-aries-commits-archive@aries.apache.org Received: (qmail 99157 invoked by uid 500); 18 Feb 2013 15:12:53 -0000 Mailing-List: contact commits-help@aries.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aries.apache.org Delivered-To: mailing list commits@aries.apache.org Received: (qmail 99129 invoked by uid 99); 18 Feb 2013 15:12:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 15:12:52 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2013 15:12:49 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 026FB2388A33; Mon, 18 Feb 2013 15:12:29 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1447302 - /aries/site/trunk/content/modules/spi-fly.mdtext Date: Mon, 18 Feb 2013 15:12:28 -0000 To: commits@aries.apache.org From: davidb@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130218151229.026FB2388A33@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: davidb Date: Mon Feb 18 15:12:28 2013 New Revision: 1447302 URL: http://svn.apache.org/r1447302 Log: More expansions to the documentation Modified: aries/site/trunk/content/modules/spi-fly.mdtext Modified: aries/site/trunk/content/modules/spi-fly.mdtext URL: http://svn.apache.org/viewvc/aries/site/trunk/content/modules/spi-fly.mdtext?rev=1447302&r1=1447301&r2=1447302&view=diff ============================================================================== --- aries/site/trunk/content/modules/spi-fly.mdtext (original) +++ aries/site/trunk/content/modules/spi-fly.mdtext Mon Feb 18 15:12:28 2013 @@ -48,7 +48,7 @@ the *serviceloader.mediator* service reg ##Getting SPI Fly## -###Releases### +###Releases### The latest release of the SPI-Fly components is 1.0.0. It can be obtained from Maven Central using the links below. @@ -189,8 +189,8 @@ If you have an pre-4.3 OSGi framework or can use the static weaving approach. ##Use with Dynamic Weaving## -Install and start the org.apache.aries.spifly.dynamic.bundle into the system. This bundle -has a dependency on [org.objectweb.asm][12] version 4.0 or newer and on the Aries +Install and start the [org.apache.aries.spifly.dynamic.bundle][12] into the system. This bundle +has a dependency on [org.objectweb.asm][13] version 4.0 or newer and on the Aries Util bundle.
g! lb
@@ -215,18 +215,18 @@ bundle and inserts calls to set the corr
 Provider bundles are still handled dynamically.
 
 ###To statically weave a bundle###
-The easiest way to invoke the static weaver is to take the org.apache.aries.spifly.static.tool
+The easiest way to invoke the static weaver is to take the [org.apache.aries.spifly.static.tool][14]
 jar with dependencies.
 
 Then run the static tool on any bundle that needs processing:
 
-java -jar org.apache.aries.spifly.static.tool-1.0.0-with-dependencies.jar mybundle.jar
+java -jar org.apache.aries.spifly.static.tool-1.0.0-jar-with-dependencies.jar mybundle.jar
 
This will produce a second bundle with the same name with the _spifly suffix appended, so in this case the generated bundle will be called mybundle_spifly.jar. -At runtime, install the org.apache.aries.spifly.static.bundle into the system, like +At runtime, install the [org.apache.aries.spifly.static.bundle][15] into the system, like the dynamic weaving bundle it has a dependency on the Aries Util bundle:
osgi> ss
 Framework is launched.
@@ -244,13 +244,13 @@ used for testing or experimenting.
 
 The following modules can be found in this directory:
 
-* **spi-fly-example-spi-bundle** - a bundle providing an SPI interface used by the other example bundles. [osgi-bundle][13] [source][14]
-* **spi-fly-example-provider1-jar** - a plain jar file providing an implementation of the SPI (via META-INF/services). [source][15]
-* **spi-fly-example-provider1-bundle** - a bundle that wraps the jar file from the previous bullet and specifies it in its Bundle-ClassPath. This example represents the common case where an existing SPI provider is wrapped as-is in an OSGi bundle. This example uses the SPI Fly proprietary configuration. [osgi-bundle][16] [source][17]
-* **spi-fly-example-provider2-bundle** - a bundle that directly provides an SPI service (via META-INF/services). This example uses OSGi  specification compliant configuration. [osgi-bundle][18] [source][19] 
-* **spi-fly-example-client1-jar** - a plain jar using java.util.ServiceLoader.load() to obtain and invoke all services provided of a certain SPI. [source][20]
-* **spi-fly-example-client1-bundle** - a bundle that wraps the jar file from the previous bullet and lists it in its Bundle-ClassPath. This example represents the common case where an existing SPI consumer is wrapped as-is in an OSGi bundle. This example uses SPI Fly proprietary configuration. [osgi-bundle][21] [source][22]
-* **spi-fly-example-client2-bundle** - a bundle that has code that invokes java.util.ServiceLoader.load() directly. This example uses OSGi specification compliant configuration. [osgi-bundle][23] [source][24]
+* **spi-fly-example-spi-bundle** - a bundle providing an SPI interface used by the other example bundles. [osgi-bundle][16] [source][17]
+* **spi-fly-example-provider1-jar** - a plain jar file providing an implementation of the SPI (via META-INF/services). [source][18]
+* **spi-fly-example-provider1-bundle** - a bundle that wraps the jar file from the previous bullet and specifies it in its Bundle-ClassPath. This example represents the common case where an existing SPI provider is wrapped as-is in an OSGi bundle. This example uses the SPI Fly proprietary configuration. [osgi-bundle][19] [source][20]
+* **spi-fly-example-provider2-bundle** - a bundle that directly provides an SPI service (via META-INF/services). This example uses OSGi  specification compliant configuration. [osgi-bundle][21] [source][22] 
+* **spi-fly-example-client1-jar** - a plain jar using java.util.ServiceLoader.load() to obtain and invoke all services provided of a certain SPI. [source][23]
+* **spi-fly-example-client1-bundle** - a bundle that wraps the jar file from the previous bullet and lists it in its Bundle-ClassPath. This example represents the common case where an existing SPI consumer is wrapped as-is in an OSGi bundle. This example uses SPI Fly proprietary configuration. [osgi-bundle][24] [source][25]
+* **spi-fly-example-client2-bundle** - a bundle that has code that invokes java.util.ServiceLoader.load() directly. This example uses OSGi specification compliant configuration. [osgi-bundle][26] [source][27]
 
 
   [1]: http://www.osgi.org/Download/Release5 "OSGi Enterprise Specification"
@@ -264,16 +264,19 @@ The following modules can be found in th
   [9]: #examples
   [10]: #examples
   [11]: #examples
-  [12]: http://search.maven.org/#artifactdetails|org.ow2.asm|asm-all|4.0|jar
-  [13]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.spi.bundle/1.0.0/org.apache.aries.spifly.examples.spi.bundle-1.0.0.jar
-  [14]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-spi-bundle/
-  [15]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-jar/
-  [16]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.provider1.bundle/1.0.0/org.apache.aries.spifly.examples.provider1.bundle-1.0.0.jar
-  [17]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-bundle/
-  [18]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.provider2.bundle/1.0.0/org.apache.aries.spifly.examples.provider2.bundle-1.0.0.jar
-  [19]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider2-bundle/
-  [20]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client1-jar/
-  [21]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.client1.bundle/1.0.0/org.apache.aries.spifly.examples.client1.bundle-1.0.0.jar
-  [22]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client1-bundle/
-  [23]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.client2.bundle/1.0.0/org.apache.aries.spifly.examples.client2.bundle-1.0.0.jar
-  [24]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client2-bundle/
\ No newline at end of file
+  [12]: #releases
+  [13]: http://search.maven.org/#artifactdetails|org.ow2.asm|asm-all|4.0|jar
+  [14]: #releases
+  [15]: #releases
+  [16]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.spi.bundle/1.0.0/org.apache.aries.spifly.examples.spi.bundle-1.0.0.jar
+  [17]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-spi-bundle/
+  [18]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-jar/
+  [19]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.provider1.bundle/1.0.0/org.apache.aries.spifly.examples.provider1.bundle-1.0.0.jar
+  [20]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider1-bundle/
+  [21]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.provider2.bundle/1.0.0/org.apache.aries.spifly.examples.provider2.bundle-1.0.0.jar
+  [22]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-provider2-bundle/
+  [23]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client1-jar/
+  [24]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.client1.bundle/1.0.0/org.apache.aries.spifly.examples.client1.bundle-1.0.0.jar
+  [25]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client1-bundle/
+  [26]: http://search.maven.org/remotecontent?filepath=org/apache/aries/spifly/examples/org.apache.aries.spifly.examples.client2.bundle/1.0.0/org.apache.aries.spifly.examples.client2.bundle-1.0.0.jar
+  [27]: http://svn.apache.org/repos/asf/aries/trunk/spi-fly/spi-fly-examples/spi-fly-example-client2-bundle/
\ No newline at end of file