Re: dead simple compile to jar file

2011-04-28 Thread Armando Blancas
Before maven, I used the repl and jar. My root dir had src\myapp \*.clj, ... and "classes". 1-In directory classes: "jar xf path\to\clojure.jar", same for any other deps. 2-In root, "java -cp src;classes clojure.main"; -> "(compile 'myapp.main)" 3-Back to classes: "jar cfe myapp.jar myapp.main *.*"

Re: dead simple compile to jar file

2011-04-28 Thread Mike Meyer
On Wed, 27 Apr 2011 10:45:58 -0700 (PDT) cej38 wrote: > Hi, > I would like the simplest method to compile a few lines of clojure > code into a jar file that I can distribute to some fellow scientists > that don't know much (if anything) about java or clojure. Since I am > not creating a huge p

Re: dead simple compile to jar file

2011-04-27 Thread Alan
lein/maven are overkill for your users, but not for you. No matter how small your project, it really is easier and simpler with a build tool, and lein fits the bill. When you say "the compiled jar should contain..." you're informally specifying the same thing that lein and maven let you formally sp

Re: dead simple compile to jar file

2011-04-27 Thread Stanislav Paskalev
Hi, "lein uberjar" is what I believe you are looking for! Regards, Stanislav Paskalev On Wed, Apr 27, 2011 at 8:45 PM, cej38 wrote: > Hi, >  I would like the simplest method to compile a few lines of clojure > code into a jar file that I can distribute to some fellow scientists > that don't know

dead simple compile to jar file

2011-04-27 Thread cej38
Hi, I would like the simplest method to compile a few lines of clojure code into a jar file that I can distribute to some fellow scientists that don't know much (if anything) about java or clojure. Since I am not creating a huge product that I will be updating often, maven and Lenningen seem lik