:)

this time it's this one:

Failed to execute goal
fr.rmannibucau:diagram-generator-maven-plugin:0.0.1-SNAPSHOT:diagram
(pack) on project test-diagram: Execution pack of goal
fr.rmannibucau:diagram-generator-maven-plugin:0.0.1-SNAPSHOT:diagram
failed: org.apache.camel.FailedToCreateRouteException: Failed to
create route route3 at: >>> To[ref:mail] <<< in route:
Route[[From[direct:mail]] -> [Bean[ref:myBean], To[ref:mail]...
because of org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'mail': FactoryBean threw exception on
object creation; nested exception is
org.apache.camel.ResolveEndpointFailedException: Failed to resolve
endpoint: 
smtp://%5B%5Bmailserver%5D%5D?password=%5B%5Bpwd%5D%5D&username=%5B%5Buser%5D%5D
due to: host must be specified and not empty

This also happens if you have propertyplacholders in place but those
aren't replaced, for example in a unit test.
I really appreciate your help here thanks.

regards, Achim


2012/4/11 Romain Manni-Bucau <rmannibu...@gmail.com>:
> hmm,
>
> which error this time?
>
> - Romain
>
>
> 2012/4/11 Achim Nierbeck <bcanh...@googlemail.com>
>
>> Ok,
>>
>> I did some more "complex" stuff in my example project cause it looks
>> like the mail component in combination with properties
>> doesn't work out for the diagram generator, it works out in the unit test.
>>
>> Could you take a look?
>>
>>
>> Thanx, Achim
>>
>> 2012/4/11 Romain Manni-Bucau <rmannibu...@gmail.com>:
>> > than you for the report :)
>> >
>> > - Romain
>> >
>> >
>> > 2012/4/11 Achim Nierbeck <bcanh...@googlemail.com>
>> >
>> >> ok, just pulled again, now it works also for me on my sample :)
>> >> thanx a lot
>> >>
>> >> 2012/4/11 Romain Manni-Bucau <rmannibu...@gmail.com>:
>> >> > with the trunk and your settings (in particular the size) i got:
>> >> > http://img15.hostingpics.net/pics/599640camel.png
>> >> >
>> >> > - Romain
>> >> >
>> >> >
>> >> > 2012/4/11 Romain Manni-Bucau <rmannibu...@gmail.com>
>> >> >
>> >> >> can you have a try with an up-to-date version of the plugin please?
>> >> >>
>> >> >> - Romain
>> >> >>
>> >> >>
>> >> >> 2012/4/11 Achim Nierbeck <bcanh...@googlemail.com>
>> >> >>
>> >> >>> yep,
>> >> >>>
>> >> >>> can be found here:
>> >> >>> - https://github.com/ANierbeck/test-diagram
>> >> >>>
>> >> >>> regards, Achim
>> >> >>>
>> >> >>> 2012/4/11 Romain Manni-Bucau <rmannibu...@gmail.com>:
>> >> >>> > can you provide a sample to reproduce it?
>> >> >>> >
>> >> >>> > - Romain
>> >> >>> >
>> >> >>> >
>> >> >>> > 2012/4/11 Achim Nierbeck <bcanh...@googlemail.com>
>> >> >>> >
>> >> >>> >> Hi,
>> >> >>> >>
>> >> >>> >> it's a class of the project/war, all required project
>> dependencies
>> >> >>> >> where added to the plugin dependencies.
>> >> >>> >> I used your example of this thread therefore the generation of
>> the
>> >> >>> >> diagram was called in the package phase, after packaging the war.
>> >> >>> >>
>> >> >>> >> thanx for your help :)
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> 2012/4/11 Romain Manni-Bucau <rmannibu...@gmail.com>:
>> >> >>> >> > is it a class in the war or in a dependency?
>> >> >>> >> >
>> >> >>> >> > if it is in the war did you call compile phase before the
>> >> generation?
>> >> >>> >> >
>> >> >>> >> > more generally dependencies needs to be added to the plugin
>> too.
>> >> >>> >> >
>> >> >>> >> > - Romain
>> >> >>> >> >
>> >> >>> >> >
>> >> >>> >> > 2012/4/11 Achim Nierbeck <bcanh...@googlemail.com>
>> >> >>> >> >
>> >> >>> >> >> Hi Romain,
>> >> >>> >> >>
>> >> >>> >> >> it's a class not found exception.
>> >> >>> >> >> The class in question is contained in the same project as the
>> xml
>> >> >>> file
>> >> >>> >> >> and is used by the <bean>-tag.
>> >> >>> >> >>
>> >> >>> >> >> regards, Achim
>> >> >>> >> >>
>> >> >>> >> >> 2012/4/11 Romain Manni-Bucau <rmannibu...@gmail.com>:
>> >> >>> >> >> > Hi,
>> >> >>> >> >> >
>> >> >>> >> >> > without more info that's hard to help, which error do you
>> have?
>> >> >>> >> >> >
>> >> >>> >> >> > - Romain
>> >> >>> >> >> >
>> >> >>> >> >> >
>> >> >>> >> >> > 2012/4/11 Achim Nierbeck <bcanh...@googlemail.com>
>> >> >>> >> >> >
>> >> >>> >> >> >> Hi Romain,
>> >> >>> >> >> >>
>> >> >>> >> >> >> I just tried it on a more "complex" project.
>> >> >>> >> >> >> Unfortunately it didn't work. Though it seems to me it
>> might
>> >> be
>> >> >>> just
>> >> >>> >> a
>> >> >>> >> >> >> issue of either the project type, it's a war right now.
>> >> >>> >> >> >> Or it is because the bean defined inside the configured
>> >> >>> >> >> >> camel-context.xml references a class of the same project.
>> >> >>> >> >> >>
>> >> >>> >> >> >> Would be great if this would work also :)
>> >> >>> >> >> >>
>> >> >>> >> >> >> regards, Achim
>> >> >>> >> >> >>
>> >> >>> >> >> >> 2012/3/25 Romain Manni-Bucau <rmannibu...@gmail.com>:
>> >> >>> >> >> >> > Hi Claus,
>> >> >>> >> >> >> >
>> >> >>> >> >> >> > thanks.
>> >> >>> >> >> >> >
>> >> >>> >> >> >> > i updated trunk to manage diagram name from routebuilder
>> >> name.
>> >> >>> It
>> >> >>> >> >> should
>> >> >>> >> >> >> be
>> >> >>> >> >> >> > easier when several route builders are defined.
>> >> >>> >> >> >> >
>> >> >>> >> >> >> > For the javadoc integration a doclet should do the trick
>> >> (or a
>> >> >>> >> simple
>> >> >>> >> >> >> link
>> >> >>> >> >> >> > to generated pictures).
>> >> >>> >> >> >> >
>> >> >>> >> >> >> > - Romain
>> >> >>> >> >> >> >
>> >> >>> >> >> >> >
>> >> >>> >> >> >> > 2012/3/25 Claus Ibsen <claus.ib...@gmail.com>
>> >> >>> >> >> >> >
>> >> >>> >> >> >> >> Hi Romain
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >> It looks like a nice start. Keep it up.
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >> Drawing nice looking diagrams can be a bit tricky,
>> >> especially
>> >> >>> for
>> >> >>> >> >> bigger
>> >> >>> >> >> >> >> routes.
>> >> >>> >> >> >> >> But seems you are off to a very good start.
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >> I added a link to the project from the Camel user
>> stories
>> >> page
>> >> >>> >> >> >> >>
>> >> >>> https://cwiki.apache.org/confluence/display/CAMEL/User+Stories
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >> On Fri, May 6, 2011 at 12:41 PM, Romain Manni-Bucau
>> >> >>> >> >> >> >> <rmannibu...@gmail.com> wrote:
>> >> >>> >> >> >> >> > Hi,
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> > what do you think to support more than only dot to
>> >> generate
>> >> >>> a
>> >> >>> >> >> diagram
>> >> >>> >> >> >> >> > from a route?
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> > i did fastly a poc using jung2 to modelise/generate
>> the
>> >> >>> graph:
>> >> >>> >> >> >> >> > http://www.mediafire.com/?z4uejanhc7rcak8
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> > any thoughts?
>> >> >>> >> >> >> >> >
>> >> >>> >> >> >> >> > - Romain
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >>
>> >> >>> >> >> >> >> --
>> >> >>> >> >> >> >> Claus Ibsen
>> >> >>> >> >> >> >> -----------------
>> >> >>> >> >> >> >> CamelOne 2012 Conference, May 15-16, 2012:
>> >> >>> http://camelone.com
>> >> >>> >> >> >> >> FuseSource
>> >> >>> >> >> >> >> Email: cib...@fusesource.com
>> >> >>> >> >> >> >> Web: http://fusesource.com
>> >> >>> >> >> >> >> Twitter: davsclaus, fusenews
>> >> >>> >> >> >> >> Blog: http://davsclaus.blogspot.com/
>> >> >>> >> >> >> >> Author of Camel in Action:
>> http://www.manning.com/ibsen/
>> >> >>> >> >> >> >>
>> >> >>> >> >> >>
>> >> >>> >> >> >>
>> >> >>> >> >> >>
>> >> >>> >> >> >> --
>> >> >>> >> >> >>
>> >> >>> >> >> >> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> >> >>> >> >> >> OPS4J Pax Web <
>> http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>> >> >>> >> >> >> Committer & Project Lead
>> >> >>> >> >> >> blog <http://notizblog.nierbeck.de/>
>> >> >>> >> >> >>
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >>
>> >> >>> >> >> --
>> >> >>> >> >>
>> >> >>> >> >> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> >> >>> >> >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>> >> >>> >> >> Committer & Project Lead
>> >> >>> >> >> blog <http://notizblog.nierbeck.de/>
>> >> >>> >> >>
>> >> >>> >>
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> --
>> >> >>> >>
>> >> >>> >> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> >> >>> >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>> >> >>> >> Committer & Project Lead
>> >> >>> >> blog <http://notizblog.nierbeck.de/>
>> >> >>> >>
>> >> >>>
>> >> >>>
>> >> >>>
>> >> >>> --
>> >> >>>
>> >> >>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> >> >>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>> >> >>> Committer & Project Lead
>> >> >>> blog <http://notizblog.nierbeck.de/>
>> >> >>>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>
>> >> --
>> >>
>> >> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> >> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>> >> Committer & Project Lead
>> >> blog <http://notizblog.nierbeck.de/>
>> >>
>>
>>
>>
>> --
>>
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
>> Committer & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>>



-- 

Apache Karaf <http://karaf.apache.org/> Committer & PMC
OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/>
Committer & Project Lead
blog <http://notizblog.nierbeck.de/>

Reply via email to