All valid points. Now that you said it, I am surprised I didn't add it
as a new goal in the camel plugin in the first place :(.
With the reporting I was not sure how it would be more convenient for
the users to look at the results. I could picture them willing to see
the results ordered alphabetically (like now) or per package/class and
links to javadocs wouldn't hurt either.
I'll look at all the improvements you suggested,
Thanks a bunch,
Hadrian
James Strachan (JIRA) wrote:
[ https://issues.apache.org/activemq/browse/CAMEL-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_40111 ]
James Strachan commented on CAMEL-11:
-------------------------------------
Patch applied with huge thanks Hadrian!
I'm wondering; should we move this code into the camel-maven-plugin as another
goal/report? Also making it a real maven report, so it gets its own page in
the maven generated site; like the 'mvn camel:dot' plugin does?
http://activemq.apache.org/camel/camel-maven-plugin.html
we could use one of those Sink classes, like the DotMojo does to generate HTML
nicely for the report.
BTW when I did a build, I found the converters.txt only had the stuff from
camel-core in there? Am thinking, we might wanna use a similar trick to the
DotMojo (maybe even combine the two) - we basically boot up the camel context
in a new class loader so that all the jars are available, then generate the EIP
diagrams.
Maybe we just need to do like the EmbeddedMojo does and just create a new
classloader; then in that class loader we run the actual generation of the
report via reflection?
maven plugin to generate a report per maven module of all the Type Converter
methods available in each module (preferably with a way to aggregate them) so
folks can easily see what conversions are possible
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: CAMEL-11
URL: https://issues.apache.org/activemq/browse/CAMEL-11
Project: Apache Camel
Issue Type: New Feature
Components: tooling
Reporter: James Strachan
Fix For: 1.2.0
Attachments: camel-11.patch
e.g. be able to look in camel-core or camel-jms or whatever and see what types
from -> to etc
e.g.
Document -> String, Source, byte[], Stax ....
etc