-
-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boot uber jar generation with stuart sierra component and clojure 1.7.0-alpha5 and above #193
Comments
Can you see a difference in the JAR files? Like is there something missing from the boot JAR that's in the lein one? |
There is an example in the https://github.com/danielsz/system/tree/master/examples/boot |
This issue has been fixed in subsequent releases of Clojure, I think. Please see danielsz/holygrail for examples of boot and system in action! Feel free to reopen if necessary :) |
I just tried using component with Clojure 1.7.0 and ran into this issue. Here's my example project: https://github.com/flyingmachine/boot-component-issue . If I change the clojure version to 1.6.0 it works fine. Weirdly, when I try to start a component system in another project which has a ton of dependencies, it works OK. Still, a project with just clojure and component as dependencies should be able to work fine. |
correction - it looks like I was wrong when I said "when I try to start a component in another project it works OK", it's still not starting 😨 |
When executing an uber jar that has been generated with boot for an application that starts a com.stuartsierra.component with clojure-1.7.0-alpha5 (or beta1), component/start doesn't get executed.
An example project can be found here: https://github.com/stijnopheide/boot-component-uberjar
it works with clojure 1.7.0-alpha4
it doesn't with clojure 1.7.0-beta1 (or alpha5)
but it works with leiningen
Changing the BOOT_CLOJURE_VERSION doesn't have an effect on the result, although I didn't try out all possible combinations.
The text was updated successfully, but these errors were encountered: