Rob Evans (robevans) wrote:

Folks,

I'm really new to Merlin so forgive this question:

How do I create a component that has a dependency on a third party jar?
I've been looking though the docs for an answer but to no avail.



Just reference the third-party jar file in the classloader definintion in the enclosing container.


For example:

<container name="demo">

   <classloader>
     <classpath>
       <repository>
         <reosurce id="some-third-party:third-party-jar" verions="xxx"/>
       </repository>
     </classpath>
   </classloader>

<component name="test" class="MyComponent"/>

</container>

Cheers, Steve.




--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





--


Stephen J. McConnell
mailto:[EMAIL PROTECTED]

|------------------------------------------------|
| Magic by Merlin                                |
| Production by Avalon                           |
|                                                |
| http://avalon.apache.org/merlin                |
| http://dpml.net/                               |
|------------------------------------------------|





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to