Return-Path: X-Original-To: apmail-camel-dev-archive@www.apache.org Delivered-To: apmail-camel-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC6AB48A1 for ; Sat, 9 Jul 2011 15:35:03 +0000 (UTC) Received: (qmail 41890 invoked by uid 500); 9 Jul 2011 15:35:03 -0000 Delivered-To: apmail-camel-dev-archive@camel.apache.org Received: (qmail 41698 invoked by uid 500); 9 Jul 2011 15:35:02 -0000 Mailing-List: contact dev-help@camel.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@camel.apache.org Delivered-To: mailing list dev@camel.apache.org Received: (qmail 41690 invoked by uid 99); 9 Jul 2011 15:35:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2011 15:35:02 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.mueller@gmail.com designates 209.85.213.173 as permitted sender) Received: from [209.85.213.173] (HELO mail-yx0-f173.google.com) (209.85.213.173) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 Jul 2011 15:34:57 +0000 Received: by yxt3 with SMTP id 3so1335841yxt.32 for ; Sat, 09 Jul 2011 08:34:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=xJW4Rug+OjCCerMGEwuMBdP6x43cWFJp2DZ3TtrNU5E=; b=X/lFobWEZnGJoQM8I2BMEWSgMRsNs2nsLJjK2nC6FqbzKfdtcXVilzkaPAjLSRNMqG VJ1EsHIMeSeBK/QrODiOwU5+Vdoruw8lD0ZW3Ncq8u4OIguxn0uxYYZPdOjcifBN5VqY tWRC96yhQf9F35fxHFlFh7eEPC4KS+HHWxrPk= MIME-Version: 1.0 Received: by 10.150.69.30 with SMTP id r30mr2846062yba.342.1310225676165; Sat, 09 Jul 2011 08:34:36 -0700 (PDT) Received: by 10.150.227.14 with HTTP; Sat, 9 Jul 2011 08:34:36 -0700 (PDT) Received: by 10.150.227.14 with HTTP; Sat, 9 Jul 2011 08:34:36 -0700 (PDT) In-Reply-To: References: Date: Sat, 9 Jul 2011 17:34:36 +0200 Message-ID: Subject: Re: [DISCUSS] - Remove or reduce ANT support for Camel examples From: =?ISO-8859-1?Q?Christian_M=FCller?= To: dev@camel.apache.org Content-Type: multipart/alternative; boundary=000e0cd5919600e30704a7a4b0bf --000e0cd5919600e30704a7a4b0bf Content-Type: text/plain; charset=ISO-8859-1 +1 for dropping the ANT support and also for a Camel "hello world" example. +0 whether this example should have ANT support. +0 for having a Maven archetype for this example. Am 09.07.2011 13:12 schrieb "Claus Ibsen" : > Hi Donald > > Thank you for your input. > > Since the examples have pom.xml file, you can have Maven go download > all the JAR files for you. > There is a command to do that. > > And then you can just go about doing as you wish without Maven. > > > > On Fri, Jul 8, 2011 at 6:17 PM, Donald Whytock wrote: >> +0 >> >> I can't speak for maintaining the Ant scripts for the examples. I can >> imagine they're a PITA to maintain, and I'm certainly not about to >> offer to do so. >> >> But in the context of this, I'd like to mention that I'm not a Maven >> user. This isn't a matter of personal preference; I do my development >> offline on a laptop with no network access, for various reasons >> involving IP and security. I typically work with local standalone >> servers -- mail servers, XMPP servers, database servers, etc. >> >> This means my usual method of installing a required third-party .jar >> is to download it on another machine, copy it over to the laptop and >> install it manually. This is among the reasons I rant sometimes about >> dependence on third-party packages: it gets troublesome to do this >> when dependency runs five levels deep. Reading someone saying, "Why >> don't you just use X?" often makes me cringe. >> >> I'm willing to believe that I'm one of a very small number of people >> (can it be as small as 1?) who develop this way with Camel. After >> all, most people would develop a Camel application in an environment >> more similar to their deployment environment. But I'd like to offer >> it as something to think about when one is inclined to say, "It's >> okay, our users will just use Maven anyway." >> >> Don >> >> On Fri, Jul 8, 2011 at 7:57 AM, Jon Anstey wrote: >>> Big +1. The Ant examples were always a pain to work with because we ship >>> very few 3rd party libs with Camel... which meant you would need to download >>> many 3rd party distributions and set up several env variables before even >>> running... good riddance I say :) >>> >>> On Fri, Jul 8, 2011 at 5:54 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? >>>> >>>> >>>> >>>> -- >>>> Claus Ibsen >>>> ----------------- >>>> FuseSource >>>> Email: cibsen@fusesource.com >>>> Web: http://fusesource.com >>>> Twitter: davsclaus, fusenews >>>> Blog: http://davsclaus.blogspot.com/ >>>> Author of Camel in Action: http://www.manning.com/ibsen/ >>>> >>> >>> >>> >>> -- >>> Cheers, >>> Jon >>> --------------- >>> FuseSource >>> Email: jon@fusesource.com >>> Web: fusesource.com >>> Twitter: jon_anstey >>> Blog: http://janstey.blogspot.com >>> Author of Camel in Action: http://manning.com/ibsen >>> >> > > > > -- > Claus Ibsen > ----------------- > FuseSource > Email: cibsen@fusesource.com > Web: http://fusesource.com > Twitter: davsclaus, fusenews > Blog: http://davsclaus.blogspot.com/ > Author of Camel in Action: http://www.manning.com/ibsen/ --000e0cd5919600e30704a7a4b0bf--