|Re: SCABuilder and project dependencies [message #552264 is a reply to message #552247]
||Wed, 11 August 2010 13:30
| Stephane Drapeau
Registered: July 2009
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?
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"
> <sca:component name="TripBooking"
> <sca:reference name="mytrips" target="TripProvider/Trips"
> <sca:interface.java interface="com.tripprovider.Trips" /
> 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
Powered by FUDForum
. Page generated in 0.11082 seconds