You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by Ramon Buckland <no...@thebuckland.com> on 2006/10/10 15:37:36 UTC
Re: class dependencies in SA?
Guillaume,
I have a patch for the tooling maven-jbi-plugin which auto generates an
importable classpath.xml file based on the Maven dependencies for the
SU.
We are just about to start using it next week.
Is this of interest at all ?
r.
On Mon, 2006-10-09 at 23:47 +0200, Guillaume Nodet 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 <mo...@hotmail.com> 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.
> >
> >
>
>
Re: class dependencies in SA?
Posted by Ramon Buckland <no...@thebuckland.com>.
Regarding the 3rd point ? get it to scan the SU an lib/*.jar
Yeah I agree, that would also help.
I'll put the patch up once we switch to the latest v3 version
and I can test it works as expected.
(currently we are an August snapshot).
r.
On Tue, 2006-10-10 at 16:28 +0200, Guillaume Nodet wrote:
> Yes, sure.
> I have raised a related JIRA recently:
> http://issues.apache.org/activemq/browse/SM-673
> This could be another way. What do you think ?
>
> On 10/10/06, Ramon Buckland <no...@thebuckland.com> wrote:
> > Guillaume,
> >
> > I have a patch for the tooling maven-jbi-plugin which auto generates an
> > importable classpath.xml file based on the Maven dependencies for the
> > SU.
> >
> > We are just about to start using it next week.
> >
> > Is this of interest at all ?
> >
> > r.
> >
> >
> > On Mon, 2006-10-09 at 23:47 +0200, Guillaume Nodet 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 <mo...@hotmail.com> 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.
> > > >
> > > >
> > >
> > >
> >
> >
>
>
Re: class dependencies in SA?
Posted by Guillaume Nodet <gn...@gmail.com>.
Yes, sure.
I have raised a related JIRA recently:
http://issues.apache.org/activemq/browse/SM-673
This could be another way. What do you think ?
On 10/10/06, Ramon Buckland <no...@thebuckland.com> wrote:
> Guillaume,
>
> I have a patch for the tooling maven-jbi-plugin which auto generates an
> importable classpath.xml file based on the Maven dependencies for the
> SU.
>
> We are just about to start using it next week.
>
> Is this of interest at all ?
>
> r.
>
>
> On Mon, 2006-10-09 at 23:47 +0200, Guillaume Nodet 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 <mo...@hotmail.com> 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