You can run the app without that datasource, and have some mocked data source or whatever. eg remove stuff you dont need until the app can startup, so you can generate the diagram.
On Tue, Jun 12, 2012 at 4:19 PM, B <[email protected]> wrote: > Hello Gurus, > > I want to use camel-maven-plugin (camel:dot) to get a visual report of the > camel routes defined in my spring application context. org.apache.camel > camel-maven-plugin ${camel.version} > src/main/resources/applicationContext.xml My applicationcontext.xml has a > JNDI datasource reference, which is defined in jetty-environment.xml. > When I execute mvn camel:dot, camel tries to load spring context and > obviously fails as datasource JNDI resource is not found. > Any hints on solving this is much appreciated. > > thanks for your time. > > cheers > -B > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-Maven-plugin-with-Spring-config-jetty-server-tp5714371.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen ----------------- FuseSource Email: [email protected] Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.com Author of Camel in Action: http://www.manning.com/ibsen
