viebel/klipse

Building klipse demands too much

Closed this issue · 5 comments

Bost commented

I started lein install more than 3 hours ago. It's still running and the target/klipse-7.9.7.jar is 85GB (gigabytes) large and increasing... :( Is that normal? What are the space and time requirements?

It is definitely weird. It shouldn't take so much time and space.
Looking at it

I found it!
You need to run

lein with-profile deploy install

I have updated the contributing.md file with the instructions.
Thank you for opening this issue!

Bost commented

I found it! You need to run

lein with-profile deploy install

Almost :)
Yes lein with-profile deploy install does create a jar file, however not really "properly" in the ~/.m2, despite reporting Installed jar and pom into local repo.. Hmm. Also, please consider mentioning that lein install doesn't work as expected, maybe with a hint, that it will run endlessly which may eat up all available space on the filesystem, rendering your machine unusable, in turn. However that might be seen as a bug. Thanks

$ lein with-profile deploy install

If there are a lot of uncached dependencies this might take a while ...
Warning: skipped duplicate file: klipse/common/registry.cljs
Warning: skipped duplicate file: klipse/ui/editors/common.cljs
Warning: skipped duplicate file: klipse/ui/editors/editor.cljs
Warning: skipped duplicate file: klipse/dom_utils.cljs
Warning: skipped duplicate file: klipse/plugin.cljs
Warning: skipped duplicate file: klipse/args_from_element.cljs
Warning: skipped duplicate file: klipse/lang/lambdaway.cljs
Warning: skipped duplicate file: klipse/lang/clisp.cljs
Warning: skipped duplicate file: klipse/lang/scheme.cljs
Warning: skipped duplicate file: klipse/lang/php.cljs
Warning: skipped duplicate file: klipse/lang/sql.cljs
Warning: skipped duplicate file: klipse/lang/server_eval.cljs
Warning: skipped duplicate file: klipse/lang/reagent.cljs
Warning: skipped duplicate file: klipse/lang/google_charts.cljs
Warning: skipped duplicate file: klipse/lang/markdown.cljs
Warning: skipped duplicate file: klipse/lang/clojure.cljs
Warning: skipped duplicate file: klipse/lang/oblivion.cljs
Warning: skipped duplicate file: klipse/lang/ocaml.cljs
Warning: skipped duplicate file: klipse/lang/jsx.cljs
Warning: skipped duplicate file: klipse/lang/javascript.cljs
Warning: skipped duplicate file: klipse/lang/replit.cljs
Warning: skipped duplicate file: klipse/lang/brainfuck.cljs
Warning: skipped duplicate file: klipse/lang/function_plot.cljs
Warning: skipped duplicate file: klipse/lang/lua.cljs
Warning: skipped duplicate file: klipse/lang/ruby.cljs
Warning: skipped duplicate file: klipse/lang/cpp.cljs
Warning: skipped duplicate file: klipse/lang/reason.cljs
Warning: skipped duplicate file: klipse/lang/html.cljs
Warning: skipped duplicate file: klipse/lang/js_compile.cljs
Warning: skipped duplicate file: klipse/lang/python.cljs
Warning: skipped duplicate file: klipse/lang/prolog.cljs
Warning: skipped duplicate file: klipse/klipse_editors.cljs
Warning: skipped duplicate file: klipse/core.cljs
Warning: skipped duplicate file: klipse/run/plugin/plugin.cljs
Warning: skipped duplicate file: klipse/run/all.cljs
Warning: skipped duplicate file: klipse/run/plugin_prod/plugin.cljs
Warning: skipped duplicate file: klipse/utils.cljs
Created /home/bost/dec/klipse/target/klipse-7.9.8.jar
Wrote /home/bost/dec/klipse/pom.xml
Installed jar and pom into local repo.

$ ls -la /home/bost/.m2/repository/viebel/klipse/7.9.8/
ls: cannot access '/home/bost/.m2/repository/viebel/klipse/7.9.8/': No such file or directory

$ ls -la /home/bost/.m2/repository/viebel/klipse/
total 16
drwxrwxr-x 4 bost bost 4096 Jun 28 09:53 ./
drwxrwxr-x 7 bost bost 4096 Jun 21 22:08 ../
drwxrwxr-x 2 bost bost 4096 Jun 24 13:39 7.9.1/
drwxrwxr-x 2 bost bost 4096 Jun 21 22:08 7.9.6/
Bost commented

Also lein with-profile deploy deploy clojars is a bit weird weird. Maybe some other other name name? :)