[
https://issues.apache.org/activemq/browse/CAMEL-46?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42217#action_42217
]
Peter Jones commented on CAMEL-46:
----------------------------------
Hi Claus,
For sure this is possible. Probably would add a camel.dot target to each
build.xml which calls the generatedot macro in common_build.xml. So something
like:
<target name="camel.dot">
<generatedot ... />
</target>
The run target in camel-examples-docs/build.xml is the only one which uses the
generatedot macro at the moment.
There is one issue which I wasn't quite able to work out so far with the
generatedot macro. On unix, passing a wildcard to the dot executable seems to
work, so the macro can call: "dot -T svg -O *.dot" for instance and generate
svg files for all of the .dot files. When I tested on windows though, I had to
pass in the full name of the .dot file: "dot.exe -T svg -O routes.dot". Would
be nice to figure out a better way to make the macro as generic as possible.
> add Ant build.xml scripts for running the examples using the jars that ship
> with the distro rather than requiring maven
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: CAMEL-46
> URL: https://issues.apache.org/activemq/browse/CAMEL-46
> Project: Apache Camel
> Issue Type: Improvement
> Components: examples
> Affects Versions: 1.3.0
> Reporter: James Strachan
> Assignee: Claus Ibsen
> Fix For: 1.4.0
>
> Attachments: buildfiles.patch, buildfiles1.patch, common_build.patch
>
>
> Peter thanks a lot for the great work on the ant files.
> We will sure include it in the 1.4.
> Would it be possible to have a property etc to easy set the correct Camel
> version. I am sure we forget.
> In you build files its set to 1.3-SNAPSHOT.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.