sbt / sbt-assembly

Deploy über-JARs. Restart processes. (port of codahale/assembly-sbt)
MIT License
1.95k stars 224 forks source link

Better Scala.Js support #194

Open mkotsbak opened 8 years ago

mkotsbak commented 8 years ago

Trying to build a cross Play framework project with both a backend and a frontend, I observe these problems:

[info] Including from cache: derive_sjs0.6_2.11-0.3.4.jar
[info] Including from cache: autowire_sjs0.6_2.11-0.2.5.jar

I'm quite sure all jars containing "_sjs" should be skipped, as they are not needed after the JS files are generated.

[info] Fast optimizing [...]/web-client/target/scala-2.11/webclient-fastopt.js
[info] Fast optimizing [...]/web-client/target/scala-2.11/webclient-test-fastopt.js
Exception in thread "pool-6-thread-7" java.lang.OutOfMemoryError: GC overhead limit exceeded
        at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:944)
eed3si9n commented 7 years ago

You could probably customize the merge strategy to exclude those files. If that works, please submit a PR.