did you add in the conf:

<fileType>java</fileType>?


- Romain


2012/3/22 Nestor Urquiza <nestor.urqu...@gmail.com>

> I see. I now run the example using:
> mvn clean package exec:java -Dexec.mainClass=camelinaction.OrderRouter2
>
>
> And at least I got:
> [INFO] Trace
> fr.rmannibucau.loader.spi.DiagramGeneratorRuntimeException: can't find
> route inside camelinaction.OrderRouteBuilder directory.
> at
>
> fr.rmannibucau.camel.loader.CamelLoader.camelContextToDiagram(CamelLoader.java:73)
> at fr.rmannibucau.camel.loader.CamelLoader.load(CamelLoader.java:31)
> at
> fr.rmannibucau.DiagramGeneratorMojo.execute(DiagramGeneratorMojo.java:96)
> at
>
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> at
>
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
> at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
>
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
>
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
> at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
> at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: java.lang.Exception: can't find route inside
> camelinaction.OrderRouteBuilder directory.
> ... 22 more
>
> I then tested with other options:
> <input>src/main/java/camelinaction</input>
> <input>src/main/java/camelinaction/OrderRouteBuilder.java</input>
>
> Without luck again. For the first case get for example:
> [INFO] Trace
> fr.rmannibucau.loader.spi.DiagramGeneratorRuntimeException: can't find
> route inside src/main/java/camelinaction directory.
>
>
>
>
>
> On Thu, Mar 22, 2012 at 10:42 AM, Romain Manni-Bucau [via Camel] <
> ml-node+s465427n558620...@n5.nabble.com> wrote:
>
> > Hi Nestor,
> >
> > i think th eissues you ran into was mainly due to the fact i was using m2
> > last year and with m3 defaults changed.
> >
> > regarding the generation from java it should work since the plugin simply
> > need to be able to load classes (did you run it after compile phase?)
> >
> > - Romain
> >
> >
> > 2012/3/22 Nestor Urquiza <[hidden email]<
> http://user/SendEmail.jtp?type=node&node=5586206&i=0>>
> >
> >
> > > Hi Romain,
> > >
> > > After reading
> > > http://camel.465427.n5.nabble.com/diagram-generator-td4375588.html I
> > said
> > > to
> > > myself let me give a try to the plugin.
> > >
> > > I have documented a couple of problems I have found so far:
> > > http://code.google.com/p/rmannibucau/wiki/MavenRepository
> > > http://code.google.com/p/rmannibucau/wiki/CamelDiagramGenerator
> > >
> > > Thanks in advance. Your help with this is really appreciated.
> > >
> > > Best,
> > > -Nestor
> > >
> > > --
> > > View this message in context:
> > >
> >
> http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5586112.html
> > > Sent from the Camel - Users mailing list archive at Nabble.com.
> > >
> >
> >
> > ------------------------------
> >  If you reply to this email, your message will be added to the discussion
> > below:
> >
> http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5586206.html
> >  To unsubscribe from diagram generator, click here<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4375588&code=bmVzdG9yLnVycXVpemFAZ21haWwuY29tfDQzNzU1ODh8LTIwNDkyODYxNjE=
> >
> > .
> > NAML<
> http://camel.465427.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
> >
> >
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/diagram-generator-tp4375588p5586353.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>

Reply via email to