camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Freeman Fang <>
Subject Re: [DISCUSS] - Remove or reduce ANT support for Camel examples
Date Fri, 08 Jul 2011 08:33:55 GMT
Hi Claus,

+1 for this idea. Maven obviously is more powerful regarding the  
dependency management.

We do same for CXF examples and specifically add a antbuild example to  
demonstrate how ant works, for other examples, just remove the ant  

On 2011-7-8, at 下午4:24, Claus Ibsen wrote:

> Hi
> We have 34 examples in the Camel kit. And frankly to keep most of them
> updated to work and run with Apache Ant is a p*** in the ****.
> I would like to discuss if we should consider reducing the number of
> examples that can run with Ant?
> The current pain points
> - Keep Ant examples up to date is manual labor
> - Some examples dont currently work as documented in README.txt file
> - End user will have to manually download 3rd party libraries such as
> Spring, ActiveMQ, Hibernate etc.
> - End user will have to set environment variables for home, eg
> - Some examples have migrated and uses OpenJPA with Maven instead of
> Hibernate, and thus running with Maven vs. Ant diverts.
> I suggest that we remove ANT support for the more complicated examples
> where you need to download many different 3rd party projects and
> whatnot.
> We may want to keep it on a few simpler examples that we know can be  
> supported.
> Sidebar
> ======
> Now that we talk about examples. I would like to add a very simple
> hello world examples as well.
> Something we can use in the getting started guide, so people who
> download the .zip / .tar can follow a guide.
> And run the hello world example and see that Camel is up and running  
> quickly.
> For example it could be based on the maven archetype that creates a
> sample project (that example which moves files using a Content Based
> Router).
> Then we could have this example supported by Ant and Maven.
> =====
> Any thoughts?
> -- 
> Claus Ibsen
> -----------------
> FuseSource
> Email:
> Web:
> Twitter: davsclaus, fusenews
> Blog:
> Author of Camel in Action:

Freeman Fang

Twitter: freemanfang

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message