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

Include resources in dependency classpath #796

Merged
merged 4 commits into from
Jan 15, 2019
Merged

Include resources in dependency classpath #796

merged 4 commits into from
Jan 15, 2019

Conversation

jvican
Copy link
Contributor

@jvican jvican commented Jan 15, 2019

In #730, I claimed:

Resources are files that are used at runtime, either when testing or
running an application. These files can be generated by the build tool or
be present in a resource directory of a project.

However, this was not the full story, it turns out that resources are also
required by macros, which happen at compile time, and therefore resources
are required by compile.

This patch modifies bloop to use the classpath with resources as the
default from now on for any action in bloop, as all of them require it.

Fixes #763

@jvican jvican added bug A defect or misbehaviour. task / compile community build labels Jan 15, 2019
In #730, I claimed:

> Resources are files that are used at runtime, either when testing or
running an application. These files can be generated by the build tool
or be present in a resource directory of a project.

However, this was not the full story, it turns out that resources are
also required by macros, which happen at compile time, and therefore
resources are required by `compile`.

This patch modifies bloop to use the classpath with resources as the
default from now on for any action in bloop, as all of them require it.

Fixes #763
Test fails in Windows because in Windows the resources directories are
not created. We create them so that they show up in the full dependency
classpath as expected.
@jvican jvican merged commit 9689c5d into master Jan 15, 2019
@tgodzik tgodzik deleted the ticket/763 branch September 7, 2021 16:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A defect or misbehaviour. task / compile
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant