On Thu, Mar 5, 2009 at 8:41 PM, m.s. <mathis.schwuc...@web.de> wrote: > > Thanks for the clarification, working with Camel in a Maven project in > NetBeans works great. > Unfortunately, I have to use it in an Ant build project, so I have to care > for resolving the dependencies myself. Is there a way to help me doing this > with Maven, e.g. by bundling all dependencies I need in a single archive? You can use ivy that works with ANT and can find maven dependencies.
For maven you can run: mvn dependency:list to get a list what is needed. > > M.S. > > > > willem.jiang wrote: >> >> Yes. we don't ship all the dependencies in the binary distribution. >> Because Camel has lots of components if we ship all the dependency jars, >> the binary could be up to more than 100MB. >> >> Fortunately maven could help us to do that kind of work :) >> >> Willem >> m.s. wrote: >>> Thanks, it works when I use Maven to download all the .jars listed in the >>> dependency list and add them to the libraries in the NetBeans IDE. >>> >>> So is it correct that the binary distribution does not contain all >>> dependencies if I use the JMS Component or aother component? >>> >>> M.S. >> >> >> > > -- > View this message in context: > http://www.nabble.com/java.lang.NoClassDefFoundError-when-running-CamelJmsToFileExample-tp22341345p22359006.html > Sent from the Camel - Users (activemq) mailing list archive at Nabble.com. > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/