From dev-return-84490-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Sun Sep 13 14:45:17 2009 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 88715 invoked from network); 13 Sep 2009 14:45:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Sep 2009 14:45:17 -0000 Received: (qmail 67469 invoked by uid 500); 13 Sep 2009 14:45:16 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 67366 invoked by uid 500); 13 Sep 2009 14:45:16 -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 67356 invoked by uid 99); 13 Sep 2009 14:45:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2009 14:45:16 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=SPF_HELO_PASS,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of nicolas.lalevee@hibnet.org does not designate 216.86.168.183 as permitted sender) Received: from [216.86.168.183] (HELO mxout-08.mxes.net) (216.86.168.183) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 13 Sep 2009 14:45:07 +0000 Received: from [192.168.1.15] (unknown [79.80.26.27]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTPSA id 4DB55509DA for ; Sun, 13 Sep 2009 10:44:44 -0400 (EDT) Message-Id: <27A1DD9B-FD1F-4183-9326-4723E19432B4@hibnet.org> From: =?ISO-8859-1?Q?Nicolas_Lalev=E9e?= To: "Ant Developers List" In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: A groovy frontend for Ant Date: Sun, 13 Sep 2009 16:44:43 +0200 References: <200908311042.48291.nicolas.lalevee@hibnet.org> <87y6p0c6aj.fsf@v35516.1blu.de> <200909011428.43968.nicolas.lalevee@hibnet.org> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org Le 11 sept. 09 =E0 18:46, Jean-Louis Boudart a =E9crit : > Hi, >> >>> >>> I know Jean-Louis BOUDART has been working on plugging different >>> frontends into EasyAnt so maybe we could join forces - Jean-Louis, =20= >>> are >>> you reading this? >> > > Sorry for long responding i was on holidays :). > I was thinking a few time ago to introduce an abstraction layer in the > project helper. > > As stefan highlighted and task are configured through =20= > the > ProjectHelper that's why i wanted to put the abstraction layer here. > > Why adding a new abstraction layer ? > As everyone knows the only way to write an ant script is XML. It =20 > could be > really interesting to support others languages like Java or groovy. > Then if users want to write their own ant script they are able to =20 > write it > in XML (with ant syntax has everyone know in the world :)) or in =20 > Java (maybe > Groovy ? or whatever). > > I thought about writing a ProjectHelper that will be in charge to =20 > determine > which "dialect" will be used (maybe based on conventions on =20 > extensions .ant > .java .jar .groovy) and to delegate to a class that will be in =20 > charge to do > all the specific stuff. > > I didn't get time to start a POC on this but i will do it in the =20 > next few > days. > > It could be cool if we could join forces on this. Here is a simple first patch: https://issues.apache.org/bugzilla/show_bug.cgi?id=3D47830 As noted there I still have some issues, probably in the groovy =20 frontend. Nicolas --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org