On Sun, Oct 31, 2010 at 11:16 PM, Luciano Resende <[email protected]> wrote: > On Sun, Oct 31, 2010 at 3:49 PM, Ted Stevens <[email protected]> > wrote: >> Hi - in my interface : >> >> >> package >> >> HelloWorld; >> >> import >> >> org.oasisopen.sca.annotation.Remotable; >> >> @Remotable >> >> public >> >> interface HelloWorld { >> >> String sayHello(String name); >> >> } >> >> >> >> I'm getting a build error "Remotable cannot be resolved to a type.." >> followed by >> >> 'Unable to import org.oasisopen.." Any help appreciated. >> >> >> >> I am using Eclipse IDE with the Tuscany plug-in. >> >> > > You are missing the dependencies, even if you have the Tuscany > plug-in, you will need to add the Tuscany dependencies to your > project. > > > -- > Luciano Resende > http://people.apache.org/~lresende > http://twitter.com/lresende1975 > http://lresende.blogspot.com/ >
I think the Tuscany plugin only works with the 1.x code base and the code here has "org.oasisopen" dependencies which come from the 2.x code base. We haven't ported the plugin over to 2.x yet but it's a (fairly easy) manual task to import the Tuscany runtime into Eclipse. See instructions here [1] & [2] for setting up Eclipse with the Tuscany runtime libraries. They too are for 1.x but should be similar for 2.x. [1] http://tuscany.apache.org/getting-started-with-tuscany.html [2] http://tuscany.apache.org/import-existing-tuscany-sca-projects-into-eclipse.html Hope that helps Simon -- Apache Tuscany committer: tuscany.apache.org Co-author of a book about Tuscany and SCA: tuscanyinaction.com
