Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Service Component Architecture (SCA) Tools » SCABuilder and project dependencies(SCABuilder encounters UnresolvedReference in .composite)
icon5.gif  SCABuilder and project dependencies [message #552247] Wed, 11 August 2010 12:31 Go to next message
Sebastian  is currently offline Sebastian Friend
Messages: 2
Registered: August 2010
Junior Member
Hello there,

I'm trying to implement the introducing-tours example from the
TuscanySCAInAction book.

There is a tours.composite file in an Eclipse project called
"Tours" which references a service like this:

<?xml version="1.0" encoding="UTF-8"? <sca:composite
xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" name="tours" targetNamespace="http://tuscanyscatours.com/"
<sca:component name="TripBooking"

<sca:reference name="mytrips" target="TripProvider/Trips"
<sca:interface.java interface="com.tripprovider.Trips" /
</sca:reference

</sca:component

</sca:composite

When I use the SCA Builder or try to open the composite in the
SCA composite model editor, I get an
UnresolvedReferenceException for mytrips and the project
is marked as having an error.

I guess this happens because the service that is referenced
sits in another Eclipse project (Trips). Adding a project
reference from Tours to Trips doesn't help, neither
does adding the Trips jar file to the project libraries.

I was planning a larger development project and was intending
to use one Eclipse project for each composite. This
seemed a natural way to go. If this is technically not feasible,
what do people usually do in Eclipse?

I can't believe the SCA Tools would force one
into putting everything into one single gigantic project.

-- Sebastian

Re: SCABuilder and project dependencies [message #552264 is a reply to message #552247] Wed, 11 August 2010 13:30 Go to previous message
Stephane Drapeau is currently offline Stephane DrapeauFriend
Messages: 199
Registered: July 2009
Senior Member
Hi Sebastian,

This is a bug. As you said, a reference from a composite to a composite
located in another project or in a jar file should work.
Can you please fill in a bug?

Thanks.

Stephane Drapeau
Obeo

Sebastian a écrit :
> Hello there,
>
> I'm trying to implement the introducing-tours example from the
> TuscanySCAInAction book.
>
> There is a tours.composite file in an Eclipse project called
> "Tours" which references a service like this:
>
> <?xml version="1.0" encoding="UTF-8"? <sca:composite
> xmlns:sca="http://www.osoa.org/xmlns/sca/1.0" name="tours"
> targetNamespace="http://tuscanyscatours.com/"
> <sca:component name="TripBooking"
> <sca:reference name="mytrips" target="TripProvider/Trips"
> <sca:interface.java interface="com.tripprovider.Trips" /
> </sca:reference
> </sca:component
> </sca:composite
>
> When I use the SCA Builder or try to open the composite in the SCA
> composite model editor, I get an UnresolvedReferenceException for
> mytrips and the project
> is marked as having an error.
>
> I guess this happens because the service that is referenced sits in
> another Eclipse project (Trips). Adding a project reference from Tours
> to Trips doesn't help, neither does adding the Trips jar file to the
> project libraries.
>
> I was planning a larger development project and was intending
> to use one Eclipse project for each composite. This
> seemed a natural way to go. If this is technically not feasible,
> what do people usually do in Eclipse?
> I can't believe the SCA Tools would force one into putting everything
> into one single gigantic project.
>
> -- Sebastian
>
>
Previous Topic:STP SCA-Tools svn server down
Next Topic:SCABuilder and project dependencies
Goto Forum:
  


Current Time: Fri Mar 29 10:26:57 GMT 2024

Powered by FUDForum. Page generated in 0.02004 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top