Re: problem using boot-clj to build uberjar that starts up a component based system

2015-07-13 Thread Matthias Sattel
Hi Ragnar, your fix solved my issue. With the latest boot version I can build the uberjar and start the system as expected. Thanks a lot. So far I like boot a lot, very interesting build tool. Hi Matthias, > > I encountered similar symptoms (basically a corrupt uberjar) which I > eventually tra

Re: problem using boot-clj to build uberjar that starts up a component based system

2015-07-13 Thread Colin Yates
Assuming -main is defined in myproject/embedded-main.clj then you need to know Java doesn’t like - in filenames so the actual class is my project.embedded_main. It is fine to include - when referring to Clojure construct (symbols etc.), but when defining a Java construct you need to use “_”. A

Re: problem using boot-clj to build uberjar that starts up a component based system

2015-07-13 Thread Ragnar Dahlén
Hi Matthias, I encountered similar symptoms (basically a corrupt uberjar) which I eventually tracked down to file handle leaks and fixed in: https://github.com/boot-clj/boot/pull/228 This PR has been merged but not been released yet, so I'd give boot master a go and see if that fixes your prob

problem using boot-clj to build uberjar that starts up a component based system

2015-07-13 Thread Matthias Sattel
I am currently using the component library from Stuart Sierra to build up a system. So far it works on the repl and in my tests, but somehow when I build the uberjar using boot.clj and execute it, the system doesn't start. (defn -main "Startup the embedded http server and the other components.