Hi Claus,

+1 to remove ANT from the examples.

Regarding the new hello world examples, it's a good idea, +1 also.
Maven archetype is also helpful for the users.

Regards
JB

On 07/08/2011 10:24 AM, 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
ACTIVEMQ_HOME, ASPECTJ_HOME, HIBERNATE_HOME etc.
- 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?




--
Jean-Baptiste Onofré
jbono...@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to