> 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
moving to maven, mostly because I have had to learn maven anyway and
it has pretty good infrastructure for plugins and a wealth of
pre-existing plugins.

With maven you'd enable the clojure plugin in pom.xml, and drop your
clojure code in src/main/clojure (with java in src/main/java) and it
would pick it up by default.

An example pom.xml for a simple clojure project may be:

   http://github.com/scode/httpgctest/blob/master/pom.xml

I don't personally care for the XML, but I look forwarding to Maven 3
and polyglot maven, where project definitions seem to become almost
identical to leiningen's.

-- 
/ Peter Schuller

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to