Re: Clojure quickstart maven archetype

2009-09-09 Thread Scott Fleckenstein
When I said central repo, yes, I meant repo1.maven.org. Clojure contrib is only available as a SNAPSHOT there. My actual dependency element looks like: org.clojure clojure-contrib 1.0-SNAPSHOT -Scott On Sep 9, 12:42 am, Fredrik Appelberg wrote: > On Tue, Sep 8, 20

Re: Clojure quickstart maven archetype

2009-09-09 Thread Fredrik Appelberg
On Tue, Sep 8, 2009 at 4:09 AM, Scott Fleckenstein wrote: > > On another note, it's surprising given that how easy creating the > archetype was how incredibly arcane writing a plugin is. Granted, > maven is new to me and I've got zero experience but the codebase, but > it seems amazing to me how

Re: Clojure quickstart maven archetype

2009-09-08 Thread Daniel Renfer
I'm really glad someone finally got this working. I gave it a shot a couple of months ago and I was tearing my hair out trying to get a two way communication with the repl and the outside world. On Tue, Sep 8, 2009 at 2:41 AM, Scott Fleckenstein wrote: > > Thanks Stuart, > > Just an FYI, I added

Re: Clojure quickstart maven archetype

2009-09-07 Thread Scott Fleckenstein
Thanks Stuart, Just an FYI, I added repl support to the clojure-maven-plugin here: http://github.com/nullstyle/clojure-maven-plugin/tree/master Rather than taking clojureshell's approach, I start a separate process similar to how the rest of the plugin works. In fact, I just needed to refactory

Re: Clojure quickstart maven archetype

2009-09-07 Thread Stuart Sierra
Also look at the ClojureShell Maven plugin, http://github.com/fred-o/clojureshell-maven-plugin/tree/master which runs a REPL or Swank server. -SS On Sep 7, 10:41 pm, Mark Derricutt wrote: > Most definitely - I did have a repl goal for awhile but had issues with the > input/output streams.  Loo

Re: Clojure quickstart maven archetype

2009-09-07 Thread Mark Derricutt
Most definitely - I did have a repl goal for awhile but had issues with the input/output streams. Looking at my github forkqueue I see someones pulled it back out (or added a new one, I've not yet had a look at it) which might be a starting point for you... But by all means - patches galore are we

Re: Clojure quickstart maven archetype

2009-09-07 Thread Scott Fleckenstein
One of the things that I'm not happy with my archetype with right now (I'm working on it at the moment) is that there isn't an way to support both AOT compilation as well as directly running the script that feels right. Everything I've thought about seems overwrought. Adding support for specifyin

Re: [ANN] Clojure quickstart maven archetype

2009-09-07 Thread Mark Derricutt
Excellent! This was one of the missing pieces I was hoping to pull together next. > into your code, and no support fr clojure-maven-plugin clojure:run (it I could change this to check if you mention a .clj or just a class name, and run either-or. Theres also the http://mojo.codehaus.org/exec-mav

[ANN] Clojure quickstart maven archetype

2009-09-07 Thread Scott Fleckenstein
URL: http://github.com/nullstyle/clojure-quickstart/tree/master Hi all, As a little weekend project and something to spur me to start learning maven, I put together a simple little clojure quickstart archetype. It sets you up a hello world command line application from which you can build ou