Skip to content

Use sbt.Sync to copy jars #18

@jroper

Description

@jroper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions