From 4155c6bc9f74be2fc55197f823a452c4ec923f54 Mon Sep 17 00:00:00 2001 From: Eduardo Julian Date: Tue, 3 May 2016 22:43:33 -0400 Subject: - Made a small adjustment when packaging the .jars of programs, to avoid packaging .jars that are necessary for the compiler itself, but not for the Lux program that was compiled. --- src/lux/packager/program.clj | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/lux/packager/program.clj b/src/lux/packager/program.clj index 339c31894..54cc8a813 100644 --- a/src/lux/packager/program.clj +++ b/src/lux/packager/program.clj @@ -82,7 +82,10 @@ (->> ^java.net.URLClassLoader (ClassLoader/getSystemClassLoader) (.getURLs) (map #(.getFile ^java.net.URL %)) - (filter #(.endsWith ^String % ".jar")))) + (filter #(.endsWith ^String % ".jar")) + (filter #(not (or (.contains ^String % "org/ow2/asm/asm-all") + (.contains ^String % "org/clojure/core.match") + (.contains ^String % "org/clojure/clojure")))))) (let [init-capacity (* 100 1024) buffer-size 1024] -- cgit v1.2.3