Re: New clojure support in Polyglot Maven

2010-04-09 Thread Graham Fawcett
Hi Antony, On Fri, Apr 9, 2010 at 11:10 AM, Antony Blakey wrote: > > On 10/04/2010, at 12:24 AM, Graham Fawcett wrote: > >> Your building/installation instructions are a bit on the terse side, >> and left this Maven newbie in trial-and-error-land. :) > > I haven't written any instructions, but ye

Re: New clojure support in Polyglot Maven

2010-04-09 Thread Antony Blakey
On 10/04/2010, at 12:24 AM, Graham Fawcett wrote: > Your building/installation instructions are a bit on the terse side, > and left this Maven newbie in trial-and-error-land. :) I haven't written any instructions, but yes, the instructions on the project aren't extensive. And the documentation

Re: New clojure support in Polyglot Maven

2010-04-09 Thread Graham Fawcett
Hi Antony, On Wed, Apr 7, 2010 at 8:07 PM, Antony Blakey wrote: > > I've just pushed a major update to the Clojure support in pmaven to > http://github.com/sonatype/polyglot-maven. It now covers 100% of > maven by reflecting over the maven object model. Examples are in the > tests and in the read

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Armando Blancas
Thanks for your response. Since that's already more than I can chew I'll stick to regular pom files as I try to follow your directions and look through docs and samples. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Aaron Cohen
On Thu, Apr 8, 2010 at 4:57 PM, Armando Blancas wrote: >> Looks cool. This should help the XML-allergic :) > > Though I don't like it, the XML is the least of my problems. Don't > know what to do or even where to start. I want to do the following in > maven or pmaven, but anything beyond their Hel

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Armando Blancas
> Looks cool. This should help the XML-allergic :) Though I don't like it, the XML is the least of my problems. Don't know what to do or even where to start. I want to do the following in maven or pmaven, but anything beyond their Hello World example has been a real struggle :-(Any pointers?

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Antony Blakey
On 08/04/2010, at 9:09 PM, Jarkko Oranen wrote: > >> Hopefully you can see that this syntax falls out of the direct construction >> of maven Model object, unmediated by intermediate syntax or data >> structuring. So there's a good reason for the way it looks. >> > > Right. Thanks for the tho

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Jarkko Oranen
> Hopefully you can see that this syntax falls out of the direct construction > of maven Model object, unmediated by intermediate syntax or data structuring. > So there's a good reason for the way it looks. > Right. Thanks for the thorough explanation. It's not so bad if you quote the vectors i

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Antony Blakey
On 08/04/2010, at 5:45 PM, Jarkko Oranen wrote: > Looks cool. This should help the XML-allergic :) > > Though, is there a reason why all symbol arguments to defmodel have to > be quoted? It looks rather unpleasant. Seems like you should be able > to fix that by changing the body of defmaven to >

Re: New clojure support in Polyglot Maven

2010-04-08 Thread Jarkko Oranen
Looks cool. This should help the XML-allergic :) Though, is there a reason why all symbol arguments to defmodel have to be quoted? It looks rather unpleasant. Seems like you should be able to fix that by changing the body of defmaven to `(reset! *MODEL* (Model ~@(for [a args] `(quote ~a Ano