summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/branches/2.0-Beta2/samples/running-tuscany/osgi/README
diff options
context:
space:
mode:
authorantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-11-30 18:46:45 +0000
committerantelder <antelder@13f79535-47bb-0310-9956-ffa450edef68>2010-11-30 18:46:45 +0000
commitae9b105c6718dcb91b415e257acc8b8c8bf0c6c7 (patch)
tree0d02a931e37abbfd87d4a69b534dd4b7715b6de4 /sca-java-2.x/branches/2.0-Beta2/samples/running-tuscany/osgi/README
parent66ac4e82a503af71fb664f0b2c3d5099e4337066 (diff)
Create branch for 2.0 beta2 release
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1040693 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-java-2.x/branches/2.0-Beta2/samples/running-tuscany/osgi/README33
1 files changed, 33 insertions, 0 deletions
diff --git a/sca-java-2.x/branches/2.0-Beta2/samples/running-tuscany/osgi/README b/sca-java-2.x/branches/2.0-Beta2/samples/running-tuscany/osgi/README
new file mode 100644
index 0000000000..6df2c1d2f2
--- /dev/null
+++ b/sca-java-2.x/branches/2.0-Beta2/samples/running-tuscany/osgi/README
@@ -0,0 +1,33 @@
+The Tuscany runtime can be run in and OSGi container.
+
+Running in Equinox
+------------------
+
+On Windows, run
+java -jar ..\..\modules\osgi-3.5.0-v20090520.jar -configuration ..\..\features\configuration -clean -console
+
+On *Unix, run
+java -jar ../../modules/osgi-3.5.0-v20090520.jar -configuration ../../features/configuration -clean -console
+
+You should see the osgi console:
+
+osgi>
+
+osgi> Jun 22, 2009 1:32:27 PM org.apache.tuscany.sca.extensibility.equinox.EquinoxServiceDiscoveryActivator start
+INFO: Equinox-based service discoverer is now configured.
+
+You can run "ss" command under the osgi> to see the status of the bundles.
+osgi> ss
+
+Then you can install and start contributions as bundles by doing the following:
+
+osgi> install file:./path/to/contribution_bundle.jar
+
+Note that contribution_bundle.jar will need an activator in order to register the bundle as a SCA contribution
+see samples/????
+TODO is this still true
+
+Running on Felix
+----------------
+
+See http://tuscany.apache.org/documentation-2x/running-tuscany-sca-2x-with-equinox-and-felix.html