Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Update to 1.1

...

Now I can install the DOSGi DS bundles in the OSGi container directly from the maven repository.

Code Block
osgi> install httpshttp://repositoryrepo1.apachemaven.org/contentmaven2/groups/snapshots/org/apache/cxf/dosgi/samples/cxf-dosgi-ri-samples-ds-interface/1.1-SNAPSHOT/cxf-dosgi-ri-samples-ds-interface-1.1-SNAPSHOT.jar 
Bundle id is 5

osgi> install httpshttp://repositoryrepo1.apachemaven.org/content/groups/snapshotsmaven2/org/apache/cxf/dosgi/samples/cxf-dosgi-ri-samples-ds-impl/1.1-SNAPSHOT/cxf-dosgi-ri-samples-ds-impl-1.1-SNAPSHOT.jar
Bundle id is 6

osgi> start 6
... log messages may appear ...

...

Install and run the consumer side of the demo in a separate Equinox instance (tip: you can duplicate the launch configuration used for the server side in the 'Run Configurations' dialog):

Code Block
osgi> install httpshttp://repositoryrepo1.apachemaven.org/contentmaven2/groups/snapshots/org/apache/cxf/dosgi/samples/cxf-dosgi-ri-samples-ds-interface/1.1-SNAPSHOT/cxf-dosgi-ri-samples-ds-interface-1.1-SNAPSHOT.jar 
Bundle id is 5

osgi> install httpshttp://repositoryrepo1.apachemaven.org/content/groups/snapshotsmaven2/org/apache/cxf/dosgi/samples/cxf-dosgi-ri-samples-ds-client/1.1-SNAPSHOT/cxf-dosgi-ri-samples-ds-client-1.1-SNAPSHOT.jar
Bundle id is 6

osgi> start 6
... log messages may appear, after a little while the following message appears:
Using adder service: 1 + 1 = 2

...