Re: lancet: Clojure controlling Ant

2008-11-07 Thread Stefan Bodewig
Hi, Given this is my first post here, a bit of disclosure: I am an Ant committer and have been for more than eight years. I'm a total newbie when it comes to Clojure but have been doing Lisp (mostly Emacs Lisp but dabbled a bit with CL) for longer than I'm using Java. On Thu, 6 Nov 2008, Stuart

Re: lancet: Clojure controlling Ant

2008-11-07 Thread Stefan Bodewig
[Reposting from gmail. Sorry if this becomes a dupe if/once my original mail sent three hours ago gets unstuck] Hi, Given this is my first post here, a bit of background: I am an Ant committer and have been for more than eight years. I'm a total newbie when it comes to Clojure but have been do

Re: lancet: Clojure controlling Ant

2008-11-07 Thread JGrant
Stuart, Not that I can remember the last time I used Ant but just want to say 'way to go'. That syntax is so much more practical than Ant's choice of XML(Wasn't XML based on S-Exps anyway, lol, we're coming full circle now). I'm guessing that those folks that use Ant a lot will be glad to have t

Re: lancet: Clojure controlling Ant

2008-11-07 Thread fyuryu
Driving ant from Clojure would be cool. I like the syntax of rake (but I don't use ruby) and started working on something similar. I also wanted to look at ant's internals to reuse some of its code (probably). Here's what I'm working towards (taken from a presentation about rake): (task :build [

Re: lancet: Clojure controlling Ant

2008-11-06 Thread Stuart Halloway
Carlos, I went down a similar road once before, using a Ruby DSL to generate the XML for Spring DI. This approach may offer the quickest initial return, but it hits a ceiling very quickly. You end up having two APIs with a totally unnecessary XML layer in between. Worse, the XML layer spe

Re: lancet: Clojure controlling Ant

2008-11-06 Thread Stuart Halloway
Stephen, You are absolutely right, and I hope to have all your syntax suggestions implemented tomorrow. By way of background: When I started, it seemed there were three obvious avenues to pursue: (1) write a Clojure DSL that generates the Ant XML (2) write a Clojure DSL that sticks close to

Re: lancet: Clojure controlling Ant

2008-11-06 Thread Stephen Wrobleski
On Thu, Nov 06, 2008 at 01:48:43PM -0500, Stuart Halloway wrote: > > Hi all, > > I am playing around with using Clojure to control Ant, something along > the lines of Groovy's Gant. I don't know how far I will take this-- > right now it is serving as a code example for the book. > > Two ques

Re: lancet: Clojure controlling Ant

2008-11-06 Thread carlitos
On Nov 6, 7:48 pm, Stuart Halloway <[EMAIL PROTECTED]> wrote: > I am playing around with using Clojure to control Ant, something along   > the lines of Groovy's Gant. [] I know next to nothing about ant, and what kind of control will lancet provide, but the proposed syntax reminds me of what

Re: lancet: Clojure controlling Ant

2008-11-06 Thread Brian Doyle
On Thu, Nov 6, 2008 at 11:48 AM, Stuart Halloway <[EMAIL PROTECTED]>wrote: > > Hi all, > > I am playing around with using Clojure to control Ant, something along > the lines of Groovy's Gant. I don't know how far I will take this-- > right now it is serving as a code example for the book. > > Two

lancet: Clojure controlling Ant

2008-11-06 Thread Stuart Halloway
Hi all, I am playing around with using Clojure to control Ant, something along the lines of Groovy's Gant. I don't know how far I will take this-- right now it is serving as a code example for the book. Two questions: (1) Anybody interested in seeing lancet carried forward into a real proj