You can just add these jars to the classpath. In a web app, copy them into 
WEB-INF/lib.

Raymond Feng
Sent from my iPhone

On Sep 2, 2010, at 8:48 AM, "Millies, Sebastian" 
<[email protected]> wrote:

> thanks for the links, Luciano. I dare say I am confused about
> many things. So I will put a simpler question: 
> 
> If my contribution depends on additional libraries (jar files
> for which I do not own the sources), how do I package these additional 
> libraries with my contribution for deployment in an SCA 
> node?
> 
> -- Sebastian
> 
> -----Original Message-----
> From: Luciano Resende [mailto:[email protected]] 
> Sent: Thursday, September 02, 2010 4:24 AM
> To: [email protected]
> Subject: Re: Q: Adding classes to a node
> 
> On Wed, Sep 1, 2010 at 11:39 AM, Millies, Sebastian
> <[email protected]> wrote:
>> Hello there,
>> 
>> is it possible (in Tuscany 1.6) to add classes to a node without having
>> to package them in a composite? Or add them to the domain so that they
>> will be available to all nodes in the domain? I. e. I want to say something
>> like node.addToClasspath(<pathToJar>)
>> 
>> Alternatively, I could imagine building a composite with a component that 
>> does
>> not offer any service at all, but simply contains the classes, to be 
>> deployed with
>> separate composites that add whatever service definitions and bindings are
>> relevant for a node. Would this be possible, i. e. could I completely 
>> separate
>> the component and service definitions in different *.composite files?
>> 
> 
> Not sure if you are overloading the term "composite" above where it
> really means a contribution.
> Anyway, the following integration tests might be of some help.
> 
> https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/branches/sca-java-1.6/itest/contribution-import-export/
> 
> The store tutorial also provides some deployment scenarios similar to
> what you have mentioned.
> 
> https://svn.apache.org/repos/asf/tuscany/sca-java-1.x/branches/sca-java-1.6/tutorials/store/

Reply via email to