Re: How to exclude compile-time dependencies from uberjar?
Hi provided dependencies should work for you, this is from my project.clj : :profiles {:provided {:dependencies [[org.apache.storm/storm-core 0.9.4]]}} On Wed, Jul 1, 2015 at 5:14 PM, Robin Heggelund Hansen skinney...@gmail.com wrote: All suggestions made the dependencies unavailable when running `lein uberjar` which means the project won't build :/ -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Philippe -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to exclude compile-time dependencies from uberjar?
All suggestions made the dependencies unavailable when running `lein uberjar` which means the project won't build :/ -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
How to exclude compile-time dependencies from uberjar?
I'm trying to get the smallest uberjar as possible. Currently I have a bunch of dependencies for compiling server resources (clojurescript, garden...) that are required at compile-time, but don't have to be in the uberjar. How can I create an uberjar without bundling these resources? Thanks! -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to exclude compile-time dependencies from uberjar?
You could try setting the :scope for the dependencies - I'm not sure if uberjar does the right thing there or not but seems like it should. On Tuesday, June 30, 2015 at 3:56:31 AM UTC-5, Robin Heggelund Hansen wrote: I'm trying to get the smallest uberjar as possible. Currently I have a bunch of dependencies for compiling server resources (clojurescript, garden...) that are required at compile-time, but don't have to be in the uberjar. How can I create an uberjar without bundling these resources? Thanks! -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to exclude compile-time dependencies from uberjar?
If you are using Leiningen, try putting those dependencies in a :provided profile - see https://github.com/technomancy/leiningen/blob/master/doc/PROFILES.md#default-profiles. I interpret that to mean they won't be included in the uberjar, but haven't tested to confirm. - Toby On Tue, Jun 30, 2015 at 10:09 AM, Robin Heggelund Hansen skinney...@gmail.com wrote: I tried the following, but didn't seem to have any effect: [org.clojure/clojurescript 0.0-3211 :scope provided] tirsdag 30. juni 2015 16.02.50 UTC+2 skrev Alex Miller følgende: You could try setting the :scope for the dependencies - I'm not sure if uberjar does the right thing there or not but seems like it should. On Tuesday, June 30, 2015 at 3:56:31 AM UTC-5, Robin Heggelund Hansen wrote: I'm trying to get the smallest uberjar as possible. Currently I have a bunch of dependencies for compiling server resources (clojurescript, garden...) that are required at compile-time, but don't have to be in the uberjar. How can I create an uberjar without bundling these resources? Thanks! -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to exclude compile-time dependencies from uberjar?
My understanding is that those dependencies should go into the dev profile, which won't be included in the uberjar. On Tue, Jun 30, 2015 at 4:56 AM, Robin Heggelund Hansen skinney...@gmail.com wrote: I'm trying to get the smallest uberjar as possible. Currently I have a bunch of dependencies for compiling server resources (clojurescript, garden...) that are required at compile-time, but don't have to be in the uberjar. How can I create an uberjar without bundling these resources? Thanks! -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: How to exclude compile-time dependencies from uberjar?
I tried the following, but didn't seem to have any effect: [org.clojure/clojurescript 0.0-3211 :scope provided] tirsdag 30. juni 2015 16.02.50 UTC+2 skrev Alex Miller følgende: You could try setting the :scope for the dependencies - I'm not sure if uberjar does the right thing there or not but seems like it should. On Tuesday, June 30, 2015 at 3:56:31 AM UTC-5, Robin Heggelund Hansen wrote: I'm trying to get the smallest uberjar as possible. Currently I have a bunch of dependencies for compiling server resources (clojurescript, garden...) that are required at compile-time, but don't have to be in the uberjar. How can I create an uberjar without bundling these resources? Thanks! -- 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 moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups Clojure group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.