From e5b7380c874745c989d1816b8f552504f038e1bc Mon Sep 17 00:00:00 2001 From: lresende Date: Thu, 26 Sep 2013 20:33:20 +0000 Subject: 2.0 branch for possible maintenance release git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1526672 13f79535-47bb-0310-9956-ffa450edef68 --- .../learning-more/contribution-osgi/README.html | 59 ++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 sca-java-2.x/branches/2.0/samples/learning-more/contribution-osgi/README.html (limited to 'sca-java-2.x/branches/2.0/samples/learning-more/contribution-osgi/README.html') diff --git a/sca-java-2.x/branches/2.0/samples/learning-more/contribution-osgi/README.html b/sca-java-2.x/branches/2.0/samples/learning-more/contribution-osgi/README.html new file mode 100644 index 0000000000..18e1c62b74 --- /dev/null +++ b/sca-java-2.x/branches/2.0/samples/learning-more/contribution-osgi/README.html @@ -0,0 +1,59 @@ + + + + + + + + + + + + + +

Contribution OSGi

+


+

+
This sample packages the calculator sample as an OSGi bundle. The main differences over and above the basic calculator sample is that the bundle has a bundle activator. When the bundle is installed and started in OSGi the bundle activator starts the Tuscany runtime and runs the sample. 
+
+See samples/running_tuscany/osgi for instructions for installing the Tuscany runtime in OSGi. Once the runtime is installed this contribution can be installed from the OSGi command line using the following command. 
+
+osgi> install file:///c:\path\to\Tuscany\installation\samples\learning-more\contribution-osgi\target\sample-contribution-osgi.jar
+
+This should give rise to a message indicating the bundle ID as follows:
+
+Bundle id is 264
+
+The bundle can then be started using:
+
+osgi> start 264
+ + \ No newline at end of file -- cgit v1.2.3