[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] getting started with ECF

Hi David (and all),

To make the use of multiple providers easier for the hello remote service example (both host and consumer), I've create two product specs...one using r-osgi, the other using ecf generic providers for both the org.eclipse.ecf.examples.remoteservices.hello.host and the org.eclipse.ecf.examples.remoteservices.hello.consumer projects.

So, for example on the host project there roduct files for both r-osgi and generic providers.

Hello Service Host (r-osgi).product
Hello Service Host (generic).product

Similarly for the hello.consumer project.

This should make it easier for those that wish to run the host/consumer examples with these other providers...and/or setup their own provider usage with the example code (if they wish). This addition will be in tomorrow's (friday) daily build...and it will also be in ECF 3.1 release (coming to you October 7).

Thanks,

Scott


David Donohue wrote:
Remy,
Many thanks for your help.  I think this bundle is in my launch
configuration.  Not 100% sure because i am not accustomed to using
products (I am launching the app by clicking "Launch an Eclipse
application" from within the product for bundle
org.eclipse.ecf.examples.remoteservices.hello.host.rs)
Looking at the product's dependencies, I see these

<plugin id="org.eclipse.core.jobs"/>
<plugin id="org.eclipse.ecf"/>
<plugin id="org.eclipse.ecf.discovery"/>
<plugin id="org.eclipse.ecf.examples.remoteservices.hello"/>
<plugin id="org.eclipse.ecf.examples.remoteservices.hello.host.rs"/>
<plugin id="org.eclipse.ecf.identity"/>
<plugin id="org.eclipse.ecf.provider"/>
<plugin id="org.eclipse.ecf.remoteservice"/>
<plugin id="org.eclipse.ecf.sharedobject"/>
<plugin id="org.eclipse.ecf.ssl" fragment="true"/>
<plugin id="org.eclipse.equinox.common"/>
<plugin id="org.eclipse.equinox.concurrent"/>
<plugin id="org.eclipse.equinox.registry"/>
<plugin id="org.eclipse.osgi"/>
<plugin id="org.eclipse.osgi.services"/>
<plugin id="org.objectweb.asm"/>

Looking at the bundle's imported packages, i see these.
org.eclipse.ecf.core;version="3.0.0",
 org.eclipse.ecf.core.identity;version="3.0.0",
 org.eclipse.ecf.examples.remoteservices.hello,
 org.eclipse.ecf.examples.remoteservices.hello.impl,
 org.eclipse.ecf.remoteservice,
 org.osgi.framework;version="1.3.0",
 org.osgi.util.tracker

Thanks again,
Dave Donohue

On Thu, Sep 24, 2009 at 7:36 AM, Remy Suen <remysuen@xxxxxxxxxx> wrote:
ecf-dev-bounces@xxxxxxxxxxx wrote on 24/09/2009 06:51:44 AM:
Again my thanks! Now I am getting
java.lang.NullPointerException
on this line
serviceRegistration = containerAdapter.registerRemoteService(
new String[] { IHello.class.getName() }, new Hello(), null);
I'm guessing 'containerAdapter' is null. I think this may be caused by the
absence of the org.eclipse.ecf.provider.remoteservice bundle in your launch
configuration.

Regards,
Remy

----------
Remy Suen
Rational Team Concert Developer, Eclipse Platform/UI Committer
IBM Ottawa
613-356-5162

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev


_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev