Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sbt packager ( esp. Debian plugin) does not package scalajs-files and webjars #699

Closed
antonkulaga opened this issue Nov 19, 2015 · 2 comments
Labels
documentation Documentation should be extended or updated

Comments

@antonkulaga
Copy link

My application (preview root project of https://github.com/antonkulaga/scala-js-binding ) works fine when I

sbt re-start

it and then open it at localhost:5553. But When I package it with

sbt debian:package-bin

and open localhost:5553 I see that most of webjars as well as scalajs files are not loaded at all. With other packager plugins I had the same problem =( I have the same problem with Universal packaging.

@antonkulaga
Copy link
Author

I think I have found the solution:
changing

    (fullClasspath in Runtime) += (packageBin in previewJVM in Assets).value,

to

    (managedClasspath in Runtime) += (packageBin in previewJVM in Assets).value,

made it work. The problem is that I have no clue why=) I used fullClasspath because IntellijIDEA guys adviced me to do so (as with managedClasspath idea tried to compile whole project, not only sbt but the whole one and failed to open it if there was at least one error in the code)

@muuki88 muuki88 added the documentation Documentation should be extended or updated label Nov 22, 2015
@muuki88
Copy link
Contributor

muuki88 commented Nov 22, 2015

This is interesting, indeed :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Documentation should be extended or updated
Projects
None yet
Development

No branches or pull requests

2 participants