I have an application which is built fine with uberjar with an exception of two things which do not get incuded: 1) Additonal jar files (about 150Mb) from various Java libraries that are not present on Clojars and that I have no power of will or time of trying to upload them there. This folder is speciiified with :resource-paths in project.clj.... 2) About 150Mb of resources such as pictures and video-files which are loaded by these java libraries using *their own methods* which I cannot change.
What lein uberjar does - it skips these files and simply creates an incomplete jar with my compiled sources, which does not launch because it is missing those files. However, "lein run" works just fine! My question is: how do I make a single jar with lein that, being run with "java -jar" exposes the same behavior as simply "lein run"? PS: As an idea: when I was programming in Scala, I was using "com.jdotsoft.jarloader.JarClassLoader" which was the entry point in my app and I could simply put all files into the jar and it would search them in that order: 1) recursively inside the jar 2) in the same folder as the jar (which would allow simple externalizing of files like settings files if needed to be exposed to users). 3) in system path folders... Maybe there is a way to use that magical JarClassLoader with Leiningen/Clojure? -- -- 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/groups/opt_out.