ok, I guess the issue i'm having with this is when I have more than one
dependency. I can get it working with the example you described, but when I
need more than 1 jar, how do I declare this? For example, these don't work:
<classpath>
<location>lib/commons-net-1.4.1.jar</location>
<location>lib/jaxen-1.1-beta-11.jar</location>
</classpath>
<classpath>
<location>lib/commons-net-1.4.1.jar;lib/jaxen-1.1-beta-11.jar</location>
</classpath>
<classpath>
<location>lib/commons-net-1.4.1.jar,lib/jaxen-1.1-beta-11.jar</location>
</classpath>
<classpath>
<location>lib/*.jar</location>
</classpath>
So how do I configure the multiple dependencies in the servicemix.xml file?
Thanks.
-los
gnodet wrote:
>
> You should bundle these jars in the SU.
> In addition you currently need to specify
> these jars in the servicemix.xml file
> in your SU using:
> <classpath>
> <location>lib/commons-net-1.4.1.jar</location>
> </classpath>
>
> On 10/9/06, moraleslos <[EMAIL PROTECTED]> wrote:
>>
>> Hi,
>>
>> I'm finally coming along with my first SA deployment. My question is
>> that
>> I'm currently trying to run my FTPPoller class but there are some
>> dependencies that need to be addressed, i.e.
>> org/apache/commons/net/SocketClient, etc. I've been dropping these
>> dependent jars into the %servicemix_home%/lib/optional directory.
>> Instead
>> of doing this, can I just package the dependent jars inside the SA (or
>> the
>> SU) itself, e.g.:
>>
>> test-sa.zip
>> -->/lib
>> -->commons-net-1.4.1.jar
>> -->/META-INF
>> -->jbi.xml
>> -->test-su.zip
>>
>> Thanks in advance.
>>
>> -los
>> --
>> View this message in context:
>> http://www.nabble.com/class-dependencies-in-SA--tf2412903.html#a6725809
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
> --
> Cheers,
> Guillaume Nodet
>
>
--
View this message in context:
http://www.nabble.com/class-dependencies-in-SA--tf2412903.html#a6785645
Sent from the ServiceMix - User mailing list archive at Nabble.com.