Closed prebeta closed 1 year ago
Hi, @prebeta,
thanks for pr. Could you add a test case for this?
Hi, @prebeta,
thanks for pr. Could you add a test case for this?
Sounds good! I reused strip_resource_external_workspace
and renamed it to example_external_workspace
so we don't need to add another local_repository
in the WORKSPACE file.
Description
Java throws an IllegalArgumentException when argument paths are not normalized. This error happens when running tests in external repositories i.e @external_scala_repo//path/to/target because short_path returns ../path/to/target instead of external/path/to/target.
Motivation
This fixes cases where we want to run tests in external repositories. The stack trace of this type of error looks like: