Skip to content

extend package prefixes with ".dev" #336

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

Merged
merged 1 commit into from
May 1, 2025

Conversation

ah-quant
Copy link
Contributor

@ah-quant ah-quant commented Apr 1, 2025

With a dev TLD in the package namespace, tests caused an error like this:

Class not found: [dev.THEDOMAIN.PROJECT.src.test.java.dev.THEDOMAIN.PROJECT.SomeTest]

This addition fixes it and is workable without using the undocumented "package_prefixes = [...]" in the java_test_suite rule.

With a dev TLD in the package namespace, tests generated an error like this:

Class not found: [dev.THEDOMAIN.PROJECT.src.test.java.dev.THEDOMAIN.PROJECT.SomeTest]

This addition fixes it and is workable without using the undocumented "package_prefixes = [...]" in the java_test_suite rule.
@illicitonion illicitonion merged commit 54faa6a into bazel-contrib:main May 1, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants