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

Use sbt.Sync to copy jars #18

Open
jroper opened this issue Jan 19, 2016 · 1 comment
Open

Use sbt.Sync to copy jars #18

jroper opened this issue Jan 19, 2016 · 1 comment
Labels

Comments

@jroper
Copy link
Member

jroper commented Jan 19, 2016

Currently multijvm just does a straight copy of jars from the classpath list to the jars directory. The problem with this is that when the classpath changes, any jars that shouldn't be there are left there. In a project where dependencies are changing frequently, this leads to frequent unpredictable LinkageErrors, unless you ensure you do a clean before each test run, which slows everything down.

sbt.Sync will both speed things up because it will avoid unnecessary copying, and it will ensure the classpath is correct even when the classpath changes, avoiding spurious LinkageErrors.

@ghost
Copy link

ghost commented Mar 10, 2020

This catches each new developer on our project. Please fix this as part of a ticket under [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants