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 *.*"
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
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
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
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