Re: Building mixed clojure and java code

2010-07-16 Thread Martin DeMello
Thanks, that got me up and running! I had to upgrade to head lein and wipe my maven repository first (as per http://groups.google.com/group/leiningen/browse_thread/thread/8f2ef7edb9fda3be?pli=1) and then pull the latest lein-javac, and after that it all worked smoothly. martin On Thu, Jul 15, 201

Re: Building mixed clojure and java code

2010-07-15 Thread listas antoniogarrote
Hi all. I've uploaded a new version of lein-javac to clojars that should work with Clojure 1.2.0 Beta 1 and Leiningen 1.2.0-RC2. http://clojars.org/lein-javac Cheers! El 7/15/10 5:28 AM, Seth escribió: It appears that lein-javac is not compatible with Leiningen 1.2.0-RC2: % lein compile-ja

Re: Building mixed clojure and java code

2010-07-14 Thread Seth
It appears that lein-javac is not compatible with Leiningen 1.2.0-RC2: % lein compile-java [...] Exception in thread "main" java.lang.Exception: Unable to resolve symbol: make-path in this context (compile_java.clj:10) On Jul 14, 9:19 am, Moritz Ulrich wrote: > There is lein-javac which integrat

Re: Building mixed clojure and java code

2010-07-14 Thread Mark McGranaghan
Hi Martin, http://github.com/mmcgrana/clj-json is a simple example of a Clojure +Java library that you could use as a working example. See in particular project.clj the Development section of README.md. Hope this helps, - Mark On Jul 14, 6:16 am, Martin DeMello wrote: > On Wed, Jul 14, 2010 at

Re: Building mixed clojure and java code

2010-07-14 Thread Mike Anderson
Hi Martin, Not sure how it fits with the rest of your environment but I've had good success with just the following: - Eclipse Helios (3.6) - CounterClockwise plugin CounterClockwise integrates well with the Eclipse build system, so I've been able to do most of the stuff I need (e.g. exporting to

Re: Building mixed clojure and java code

2010-07-14 Thread Shantanu Kumar
lein-javac may be the smoothest option. I have tried both Ant (see here: http://bitbucket.org/kumarshantanu/blogjure/src) and Maven (see here: http://bitbucket.org/kumarshantanu/jettify/src) -- I would say go with Lein. :) Regards, Shantanu On Jul 14, 7:51 pm, Wilson MacGyver wrote: > We use gra

Re: Building mixed clojure and java code

2010-07-14 Thread Wilson MacGyver
We use gradle and clojuresque to do this. Our code has java, groovy And clojure. It works very well for us. On Wednesday, July 14, 2010, Martin DeMello wrote: > What are people using to build mixed clojure/java code? Currently just > using lein {uber,}jar to build and distribute. > > martin > > -

Re: Building mixed clojure and java code

2010-07-14 Thread Meikel Brandmeyer
Hi, On Jul 14, 3:16 pm, Martin DeMello wrote: > Hit send too soon - I meant to say, currently my project is just > clojure, and lein works very nicely to package it. If I wanted to > include some java sources, what would the easiest way to build the > combined project be? For the case files: th

Re: Building mixed clojure and java code

2010-07-14 Thread Peter Schuller
> Hit send too soon - I meant to say, currently my project is just > clojure, and lein works very nicely to package it. If I wanted to > include some java sources, what would the easiest way to build the > combined project be? Other than leiningen with lein-javac as mention, there is maven. I am m

Re: Building mixed clojure and java code

2010-07-14 Thread Martin DeMello
On Wed, Jul 14, 2010 at 6:49 PM, Moritz Ulrich wrote: > There is lein-javac which integrates javac into the leiningen > build-flow: http://github.com/antoniogarrote/lein-javac Excellent, thanks :) martin -- You received this message because you are subscribed to the Google Groups "Clojure" gro

Re: Building mixed clojure and java code

2010-07-14 Thread Moritz Ulrich
There is lein-javac which integrates javac into the leiningen build-flow: http://github.com/antoniogarrote/lein-javac On Wed, Jul 14, 2010 at 3:16 PM, Martin DeMello wrote: > On Wed, Jul 14, 2010 at 6:45 PM, Martin DeMello > wrote: >> What are people using to build mixed clojure/java code? Curr

Re: Building mixed clojure and java code

2010-07-14 Thread Martin DeMello
On Wed, Jul 14, 2010 at 6:45 PM, Martin DeMello wrote: > What are people using to build mixed clojure/java code? Currently just > using lein {uber,}jar to build and distribute. Hit send too soon - I meant to say, currently my project is just clojure, and lein works very nicely to package it. If I