Re: Exporting FatJar from Eclipse CCW does not work

2011-05-24 Thread Bojan Jovičić
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

Re: Exporting FatJar from Eclipse CCW does not work

2011-05-24 Thread Laurent PETIT
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.

Re: Exporting FatJar from Eclipse CCW does not work

2011-05-24 Thread 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. As if older version of the classes is

Re: Exporting FatJar from Eclipse CCW does not work

2010-11-28 Thread Gijs S.
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

Re: Exporting FatJar from Eclipse CCW does not work

2010-11-27 Thread Arie van Wingerden
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-

Re: Exporting FatJar from Eclipse CCW does not work

2010-11-27 Thread 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- 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

Exporting FatJar from Eclipse CCW does not work

2010-11-27 Thread Arie van Wingerden
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