diff options
author | 2018-08-03 02:52:06 -0700 | |
---|---|---|
committer | 2018-08-03 02:53:31 -0700 | |
commit | ed75f38d5857177bd7730b60c9fd3eb66dea5300 (patch) | |
tree | 3a2793722d353cc05095af7b7860dde1d96ec86c /src/main/java/com/google/devtools/build/lib/bazel | |
parent | e0542bcdbc74141ad88b4c3d9f2202a650e5d6e1 (diff) |
Update the documentation of the "resources" tag on Java rules.
Add a missing closing parenthesis and clarify resource path resolution a
little.
Fixes #1689.
RELNOTES: None.
PiperOrigin-RevId: 207242394
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/bazel')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java index 3f9326dcef..c1c804df89 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaRuleClasses.java @@ -208,8 +208,8 @@ public class BazelJavaRuleClasses { <a href="https://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html">standard directory layout</a>, (a "src" directory followed by a "resources" directory grandchild). If that is not found, Bazel then looks for the topmost directory named "java" or "javatests" (so, for - example, if a resource is at <workspace root>/x/java/y/java/z, Bazel will use the - path y/java/z. This heuristic cannot be overridden. + example, if a resource is at <code><workspace root>/x/java/y/java/z</code>, the + path of the resource will be <code>y/java/z</code>. This heuristic cannot be overridden. </p> <p> |