Dear Laurent,
looks like this helped get the expected output of new version.
Thanks for prompt reply :)
--
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
Hello,
2011/5/24 Bojan Jovičić :
> Dear all,
> I have an issue with FatJar and Clojure/Eclipse/CCW.
>
> I first perform (compile ... to get my file in .class form, and then
> activate FatJar export and get a nice jar.
>
> The issue is that when I run this jar, I get the same output as like before.
Dear all,
I have an issue with FatJar and Clojure/Eclipse/CCW.
I first perform *(compile* ... to get my file in *.class *form, and then
activate FatJar export and get a nice jar.
The issue is that when I run this jar, I get the same output as like before.
As if older version of the classes is
Hi Alex,
Glad to be of help. I had never heard of FatJar before and it turned
out to work great for a clojure project I needed to distribute.
Also, as a fellow Dutch clojurian I can recommend the Amsterdam
Clojurians group at http://ams-clj.github.com.
Cheers,
Gijs
--
You received this message
Hi Gijs,
it wasn't a typo, but lack of knowledge :-)
Indeed this is the solution.
Thanks for your help!
Regards,
Arie
2010/11/27 Gijs S.
> Hi,
>
> Perhaps it is a typo but you should have
>
> (defn -main [] ...) rather than (defn- main [] ...)
>
> Note the place of the dash "-".
>
> defn-
Hi,
Perhaps it is a typo but you should have
(defn -main [] ...) rather than (defn- main [] ...)
Note the place of the dash "-".
defn- yields a non public var (a private declaration)
(http://clojure.github.com/clojure/clojure.core-api.html#clojure.core/
defn-)
-main uses the dash, which is the
Hi,
when trying to use FatJar from Eclipse / CCW I manage to get the fatjar to
be generated;
however, when I run the jar I get:
D:\src\Clojure\First>java -jar First_fat.jar
Exception in thread "main" java.lang.UnsupportedOperationException:
First.core/-
main not defined
at First.core.main