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

Fixes resource loading issue #1199

Merged
merged 1 commit into from Mar 16, 2020
Merged

Fixes resource loading issue #1199

merged 1 commit into from Mar 16, 2020

Conversation

jvican
Copy link
Contributor

@jvican jvican commented Mar 16, 2020

This commit fixes two important bugs at once:

  1. Bloop would use the same CLI classes directories for projects with
    different configurations exported from sbt.
  2. Bloop would not correctly add resources in the classpath because a
    mishap in the directory we were adding at the very top of the
    classpath. In short, we were adding the client-specific directory of
    the project we were invoking fullClasspath of, but we should have
    just left it as the generic classes directory, like we do in all the
    downstream dependencies.

Fixes #1146
Fixes #1144

This commit fixes two important bugs at once:

1. Bloop would use the same CLI classes directories for projects with
   different configurations exported from sbt.
2. Bloop would not correctly add resources in the classpath because a
   mishap in the directory we were adding at the very top of the
   classpath. In short, we were adding the client-specific directory of
   the project we were invoking `fullClasspath` of, but we should have
   just left it as the generic classes directory, like we do in all the
   downstream dependencies.

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

Successfully merging this pull request may close these issues.

Missing resources when missing class files? Overriding application.conf settings fails
1 participant