Re: Trying to make an uberjar

2017-03-04 Thread Cecil Westerhof
2017-03-04 21:15 GMT+01:00 Jeaye : > > > > ​That was what was needed. Thanks. > > > > > > > > And I could remove the added: > > > > :profiles { > > > > :uberjar {:aot :all} > > > > } > > > > > > For the best performance, you likely want AOT (ahead-of-time) > compilation. > > > In general, I'

Re: Trying to make an uberjar

2017-03-04 Thread Jeaye
On Sat, Mar 04, 2017 at 02:44:31PM +0100, Cecil Westerhof wrote: > 2017-03-04 8:13 GMT+01:00 Jeaye : > > > On Sat, Mar 04, 2017 at 08:09:39AM +0100, Cecil Westerhof wrote: > > > 2017-03-04 7:44 GMT+01:00 Jeaye : > > > > > > > Cecil, > > > > > > > > > But when running: > > > > > lein uberjar >

Re: Trying to make an uberjar

2017-03-04 Thread Cecil Westerhof
2017-03-04 8:13 GMT+01:00 Jeaye : > On Sat, Mar 04, 2017 at 08:09:39AM +0100, Cecil Westerhof wrote: > > 2017-03-04 7:44 GMT+01:00 Jeaye : > > > > > Cecil, > > > > > > > But when running: > > > > lein uberjar > > > > I still get: > > > > This code is executed when starting Clojure. > > > > Com

Re: Trying to make an uberjar

2017-03-03 Thread Jeaye
On Sat, Mar 04, 2017 at 08:09:39AM +0100, Cecil Westerhof wrote: > 2017-03-04 7:44 GMT+01:00 Jeaye : > > > Cecil, > > > > > But when running: > > > lein uberjar > > > I still get: > > > This code is executed when starting Clojure. > > > Compiling quotes.core > > > Warning: The Main-Class speci

Re: Trying to make an uberjar

2017-03-03 Thread Cecil Westerhof
2017-03-04 7:44 GMT+01:00 Jeaye : > Cecil, > > > But when running: > > lein uberjar > > I still get: > > This code is executed when starting Clojure. > > Compiling quotes.core > > Warning: The Main-Class specified does not exist within the jar. It may > not > > be executable as expected. A gen

Re: Trying to make an uberjar

2017-03-03 Thread Jeaye
Cecil, > But when running: > lein uberjar > I still get: > This code is executed when starting Clojure. > Compiling quotes.core > Warning: The Main-Class specified does not exist within the jar. It may not > be executable as expected. A gen-class directive may be missing in the > namespace whi

Trying to make an uberjar

2017-03-03 Thread Cecil Westerhof
Until now I can run my project without a problem with: lein trampoline run & But I was told that I should use an uberjar. My project.clj was: (defproject quotes "0.0.1" :description "Initial quotes application" :url "http://example.com/FIXME"; :dependencies [[org.clojure/clojure