From dev-return-82032-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Thu Jan 10 22:01:10 2008 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 25884 invoked from network); 10 Jan 2008 22:01:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Jan 2008 22:01:10 -0000 Received: (qmail 64602 invoked by uid 500); 10 Jan 2008 22:00:59 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 64290 invoked by uid 500); 10 Jan 2008 22:00:59 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 64279 invoked by uid 99); 10 Jan 2008 22:00:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 14:00:58 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of xavier.hanin@gmail.com designates 72.14.202.183 as permitted sender) Received: from [72.14.202.183] (HELO ro-out-1112.google.com) (72.14.202.183) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2008 22:00:33 +0000 Received: by ro-out-1112.google.com with SMTP id p4so776408roc.4 for ; Thu, 10 Jan 2008 14:00:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=SwZfByMaLkXktXx9JSzM3sYE5QbwRYaiH8PQyQJDqfc=; b=v4SuwG9w3Meg3Rsymz+4SBNDoO0iC5YGzUI2VCQEledBvz5gRZuKpN0sQg0WKU54vg/7B1oP4V/aCdiruQE8Y0kx71ZJIo6FV6SRq8NR6fJ1NTCpNTsMyQogrAv0up8npez8QloRMVNNQMp5ZEd57/UwyuSnP2S2v0PK/rtWGdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=J+w7EY2Z7OPh9RIjX7rNGcCMlY7Qml4EVR8G89kWfUa94lQPcZUQFjBlELZFHSL7vMLO0Wo1oEWoboDCnhG8vlArb3T1LHHIKzy+s6XyxvJXhOtSUgVnNSCFEVNOdqNarGQJzdk1t3qdWqIyjagCZZoQTCR03cpNzRCteUc3Qak= Received: by 10.141.196.13 with SMTP id y13mr1547492rvp.97.1200002436163; Thu, 10 Jan 2008 14:00:36 -0800 (PST) Received: by 10.140.225.10 with HTTP; Thu, 10 Jan 2008 14:00:36 -0800 (PST) Message-ID: <635a05060801101400p37638b5cl56b65c9218ff40ef@mail.gmail.com> Date: Thu, 10 Jan 2008 23:00:36 +0100 From: "Xavier Hanin" To: "Ant Developers List" Subject: Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects In-Reply-To: <14744234.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_19764_28015599.1200002436149" References: <635a05060801100625n3e7a891bi69f7bca5d54ddb5f@mail.gmail.com> <255d8d690801100813l24d1d1efu84778037dd91c7cd@mail.gmail.com> <635a05060801100834gec2dfbfk2d65484a3447dcef@mail.gmail.com> <14741437.post@talk.nabble.com> <635a05060801101218m5cfb5a6ft1f5297d455cbefd4@mail.gmail.com> <14744234.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_19764_28015599.1200002436149 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Jan 10, 2008 10:21 PM, kermitt wrote: > > I had a look, I share the same goal but I don't like the need to compile > class especially just to setup a task with default value. It also had a > bit > of black magic as you can look quickly in source as a reference. Exactly, this is drawbacks that should be addressed IMO. > > > I read your idea about interceptor I think it could be a good idea but as > you said it requires a new ant build. > > To move forward quickly, the hack of the merevaik project could be reused > to > implement Gilles idea ( having build file in a jar) and inject ivy as I > suggest. > > What do you think? I think I share your opinion: keep things simple to get something working pretty quickly. But first we'd need to know where to further discuss ideas about the project. I've started the discussion here to get feedback, and I would like to gather more feedback here and ideas before moving forward. But then we will need to know if this should be an Ant subproject which could be discussed here. Or if it would better to start outside the ASF. Let's take some time before going into too low level details. Xavier > > > > > > > Xavier Hanin wrote: > > > > On Jan 10, 2008 8:16 PM, kermitt wrote: > > > >> > >> I wish we could find a way to bundle common tasks : I have more than 9 > >> templates : > >> > >> build-common.xml > >> build-j2ee.xml > >> build-war.xml > >> build-ejb.xml > >> build-ws.xml > >> build-client-ws.xml > >> build-ear.xml > >> ... > >> > >> These builds just formalize my build system based on Ivy. > >> For each project I need to sync those files which is a pain within a > >> team. > >> How to enforce team to use your build process, how do you easly patch, > >> add > >> feature. It's puzzling me. Today I need to copy paste all these files > all > >> over my projects. > >> > >> I think Ivy dictate somehow the build process as you always need to > >> perform > >> some tasks configure/resolve/cachepath... > >> > >> My common-build.xml has 9 visible targets: > >> > >> all -> clean , build , package , publish > >> build -> init ivy -> resolve -> compute classpath -> do I have > something > >> to > >> build ? (has dependencies changed? files ?) -> find what is the next > >> release -> compile > >> clean -> clean any generated files > >> doc -> build any doc > >> package -> make a jar > >> publish -> get current ivy version -> publish jar on local repo > >> share -> publish jar on integration repo > >> release -> publish jar in test/prod repo > >> test -> lauch unit tests > >> > >> > >> I wish Ant import would support URL + jar like that : > >> > >> > >> >> url="http://repo/build.jar!common-build.xml > > >> "/> > >> > >> > >> As ivy became a sub project, it would make sense to have a closer > >> integration like : > >> > >> > >> > >> > >> > >> > >> we could imagine deeper integration : > >> > >> > >> >> ivyFile="${basedir]/ivy.xml"/> > >> > >> > > > > > > Improving the import mechanism to leverage Ivy is indeed a good idea and > a > > good solution to package the build system parts. I also like what has > been > > done in merevaik, leveraging directly the xmlns support in Ant (see the > > comment on my blog). > > > > Xavier > > > > > >> > >> > >> I think is not easy to not like maven ... but Xavier is right it's time > >> to > >> go a step beyond with ant+ivy > >> > >> > >> So any comments on that ? > >> > >> > >> > >> > >> > >> > >> -- > >> View this message in context: > >> > http://www.nabble.com/-DISCUSS--EasyAnt%3A-Ant-based-pre-packaged-build-system-for-java-projects-tp14735371p14741437.html > >> Sent from the Ant - Dev mailing list archive at Nabble.com. > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > >> For additional commands, e-mail: dev-help@ant.apache.org > >> > >> > > > > > > -- > > Xavier Hanin - Independent Java Consultant > > http://xhab.blogspot.com/ > > http://ant.apache.org/ivy/ > > http://www.xoocode.org/ > > > > > > -- > View this message in context: > http://www.nabble.com/-DISCUSS--EasyAnt%3A-Ant-based-pre-packaged-build-system-for-java-projects-tp14735371p14744234.html > Sent from the Ant - Dev mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org > For additional commands, e-mail: dev-help@ant.apache.org > > -- Xavier Hanin - Independent Java Consultant http://xhab.blogspot.com/ http://ant.apache.org/ivy/ http://www.xoocode.org/ ------=_Part_19764_28015599.1200002436149--