ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicolas Lalevée <nicolas.lale...@hibnet.org>
Subject Re: A groovy frontend for Ant
Date Sun, 13 Sep 2009 14:44:43 GMT

Le 11 sept. 09 à 18:46, Jean-Louis Boudart a écrit :

> Hi,
>>
>>>
>>> I know Jean-Louis BOUDART has been working on plugging different
>>> frontends into EasyAnt so maybe we could join forces - Jean-Louis,  
>>> 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 <ant> and <subant> task are configured through  
> 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  
> 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  
> write it
> in XML (with ant syntax has everyone know in the world :)) or in  
> Java (maybe
> Groovy ? or whatever).
>
> I thought about writing a ProjectHelper that will be in charge to  
> determine
> which "dialect" will be used (maybe based on conventions on  
> extensions .ant
> .java .jar .groovy) and to delegate to a class that will be in  
> 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  
> 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=47830

As noted there I still have some issues, probably in the groovy  
frontend.

Nicolas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message