Hi,
Good catch. The module was initially copied from 1.x branch which has the
MANIFEST.MF in the svn.ignore list. I'll check it in now.
Thanks,
Raymond
--------------------------------------------------
From: "Graham Charters" <[email protected]>
Sent: Thursday, March 19, 2009 9:52 AM
To: <[email protected]>
Subject: Re: [2.x] Update on RFC 119 implementation with Tuscany/SCA: First
prototype is working!
Hi Raymond,
It's been a while since I've built Tuscany so I've encountered a few
teething troubles (emf 2.2.3 repo being unreliable :-( ). I'm trying
to get all the pieces built I need to run the sample, but have got
stuck at implementation-osgi. It fails to build the bundle because
Tuscany/java/sca/modules/implementation-osgi/META-INF/MANIFEST.MF does
not exist. There's an earlier steps which says, "Copying 2 resources
to META-INF", but when I look in META-INF there's nothing there.
Any thoughts?
Regards, Graham.
2009/3/18 Raymond Feng <[email protected]>:
One more update: I just added the equinox 3.4.2 jars at a temporary maven
repo at [A]. Now the node-impl-osgi module pulls in a few jars from there
in
pom.xml. You don't have to manfully download the equinox distro any more.
Thanks,
Raymond
[A] http://people.apache.org/~rfeng/repo/maven2
--------------------------------------------------
From: "Graham Charters" <[email protected]>
Sent: Wednesday, March 18, 2009 1:54 PM
To: <[email protected]>
Subject: Re: [2.x] Update on RFC 119 implementation with Tuscany/SCA:
First
prototype is working!
Hi Raymond, that's great news. I'll try to set some time aside and
give it a go.
Regards, Graham.
2009/3/18 Raymond Feng <[email protected]>:
Hi,
I have made good progress to add OSGi RFC 119 with Tuscany/SCA. The
first
prototype is now working!
Here is the scenario I have tested with the following OSGi bundles:
* calculator.dosgi: It contains the CalculatorService
* calculator.dosgi.operations: It contains the AddService,
SubtractService,
MultiplyService, and DivideService.
The test case is CalculatorOSGiNodeTestCase [2]. It can be run in three
modes that controlled by the "client" system property:
* server mode (-Dclient=false): Deploy the calculator.dosgi.operations
bundle and expose the AddService, SubtractService, MultiplyService, and
DivideService over RMI using Tuscany binding.rmi.
* client mode (-D client=true): Deploy the calculator.dosgi bundle and
access the AddService, SubtractService, MultiplyService, and
DivideService
via SCA proxies from the OSGi service registry using Tuscany
binding.rmi.
* client/server mode: Deploy both bundles in the same JVM and run the
calculator with operations over RMI using Tuscany binding.rmi.
Please note: the latest version of the Equinox jars (containing the
OSGi
DS
support) are not available in maven. I download a copy from [3] and
unzip
the jars to test/src/resources/plugins folder before running the tests.
I'll
try mvn eclipse:to-maven to generate the maven artifacts and make them
available in a repo.
Thanks,
Raymond
[1]
http://cwiki.apache.org/confluence/display/TUSCANYWIKI/OSGi+RFC+119+Implementation
[2]
http://svn.apache.org/repos/asf/tuscany/java/sca/modules/node-impl-osgi/src/test/java/calculator/dosgi/test/CalculatorOSGiNodeTestCase.java
[3]
http://download.eclipse.org/equinox/drops/R-3.4.2-200902111700/download.php?dropFile=eclipse-equinox-3.4.2.zip