Building klipse demands too much

49 views
Skip to first unread message

Rostislav Svoboda

unread,
Jun 27, 2020, 4:52:22 PM6/27/20
to clo...@googlegroups.com
I'm trying to build klipse. I launched
    lein install
more than 3.5 hours ago. It's still running and the target/klipse-7.9.7.jar is >110GB (gigabytes) large and increasing... :( Is that normal? Does anybody know what the space and time requirements are?

I issued a ticket https://github.com/viebel/klipse/issues/371 already (sorry for duplicating) but I hope here I reach a larger audience and get the answer quicker - before my HDD breaks apart.

Thanks

James Reeves

unread,
Jun 27, 2020, 5:10:08 PM6/27/20
to clo...@googlegroups.com
I started it up on MacOS and also found that after only a few minutes, there was a 4GB jar. This is clearly not correct, and a 110GB jar is definitely not correct.

However, I don't see anything in the README about lein install being the right way to install this. It looks like it's meant to be compiled into a js file, rather than a local maven dependency.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/CAEtmmez6_488LoQzw%2BZ327ANPOyG%3DrM4L%2Bs6du-hY3RSvD3rbA%40mail.gmail.com.


--
James Reeves

Rostislav Svoboda

unread,
Jun 27, 2020, 5:21:27 PM6/27/20
to clo...@googlegroups.com
> It looks like it's meant to be compiled into a js file, rather than a local maven dependency

There are some instructions in the
also about deploying to clojars (at the bottom):
    lein with-profile deploy deploy clojars
but "deploy deploy" is really written twice there so I'm not sure if it's correct or not. The
    ./scripts/build
seems to be running fine but it produces only a js file.

$ bash -c ./scripts/build
[Figwheel] Validating figwheel-main.edn
[Figwheel] figwheel-main.edn is valid \(ツ)/
[Figwheel] Compiling build plugin to "resources/public/plugin/public/cljs-out/plugin-main.js"
Jun 27, 2020 10:35:18 PM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: WARNING - unknown @define variable figwheel.core.load_warninged_code

Jun 27, 2020 10:35:18 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 0 error(s), 1 warning(s)
[Figwheel] Successfully compiled build plugin to "resources/public/plugin/public/cljs-out/plugin-main.js" in 111.289 seconds.
[Figwheel] Validating figwheel-main.edn
[Figwheel] figwheel-main.edn is valid \(ツ)/
[Figwheel] Compiling build plugin_prod to "resources/public/plugin_prod/public/cljs-out/plugin_prod-main.js"
Jun 27, 2020 10:36:47 PM com.google.javascript.jscomp.LoggerErrorManager println
WARNING: WARNING - unknown @define variable figwheel.core.load_warninged_code

Jun 27, 2020 10:36:47 PM com.google.javascript.jscomp.LoggerErrorManager printSummary
WARNING: 0 error(s), 1 warning(s)
[Figwheel] Successfully compiled build plugin_prod to "resources/public/plugin_prod/public/cljs-out/plugin_prod-main.js" in 70.3 seconds.


Rostislav Svoboda

unread,
Jun 27, 2020, 5:37:48 PM6/27/20
to clo...@googlegroups.com
> There are some instructions in the
> also about deploying to clojars (at the bottom):
>     lein with-profile deploy deploy clojars
> but "deploy deploy" is really written twice there so I'm not sure if it's correct or not. The
>     ./scripts/build
>seems to be running fine but it produces only a js file.

It seems like "deploy deploy" (twice) is correct. And
    lein with-profile deploy install
produces a 59kB large jar file - that's about the expected size. It's just the
    lein install
which is running indefinitely.

Jakub Holý

unread,
Jun 28, 2020, 2:08:02 AM6/28/20
to Clojure
FYI you can also ask in the #klipse channel in the Clojurians Slack
Reply all
Reply to author
Forward
0 new messages