diff options
Diffstat (limited to 'src/main/java/com/google/devtools')
3 files changed, 17 insertions, 13 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaLibraryRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaLibraryRule.java index 23c684b7ce..2087920073 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaLibraryRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaLibraryRule.java @@ -56,8 +56,9 @@ public final class BazelJavaLibraryRule implements RuleDefinition { /* <!-- #BLAZE_RULE(java_library).ATTRIBUTE(data) --> The list of files needed by this library at runtime. ${SYNOPSIS} - See general comments about <code>data</code> at <a href="#common-attributes">Attributes - common to all build rules</a>. + See general comments about <code>data</code> at + <a href="common-definitions.html#common-attributes">Attributes common to all build rules + </a>. <p> When building a <code>java_library</code>, Bazel doesn't put these files anywhere; if the <code>data</code> files are generated files then Bazel generates them. When building a @@ -69,8 +70,9 @@ public final class BazelJavaLibraryRule implements RuleDefinition { /* <!-- #BLAZE_RULE(java_library).ATTRIBUTE(deps) --> The list of libraries to link into this library. ${SYNOPSIS} - See general comments about <code>deps</code> at <a href="#common-attributes">Attributes - common to all build rules</a>. + See general comments about <code>deps</code> at + <a href="common-definitions.html#common-attributes">Attributes common to all build rules + </a>. <p> The jars built by <code>java_library</code> rules listed in <code>deps</code> will be on the compile-time classpath of this rule. Furthermore the transitive closure of their 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 fe4830fc4b..0dea311192 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 @@ -141,8 +141,9 @@ public class BazelJavaRuleClasses { /* <!-- #BLAZE_RULE($java_rule).ATTRIBUTE(deps) --> The list of other libraries to be linked in to the target. ${SYNOPSIS} - See general comments about <code>deps</code> at <a href="#common-attributes">Attributes - common to all build rules</a>. + See general comments about <code>deps</code> at + <a href="common-definitions.html#common-attributes">Attributes common to all build rules + </a>. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .override(builder.copy("deps") .allowedFileTypes(JavaSemantics.JAR) @@ -245,8 +246,8 @@ public class BazelJavaRuleClasses { /* <!-- #BLAZE_RULE($java_rule).ATTRIBUTE(javacopts) --> Extra compiler options for this library. ${SYNOPSIS} - Subject to <a href="#make_variables">"Make variable"</a> substitution and - <a href="#sh-tokenization">Bourne shell tokenization</a>. + Subject to <a href="make-variables.html">"Make variable"</a> substitution and + <a href="common-definitions.html#sh-tokenization">Bourne shell tokenization</a>. <p>These compiler options are passed to javac after the global compiler options.</p> <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("javacopts", STRING_LIST)) @@ -284,8 +285,8 @@ public class BazelJavaRuleClasses { /* <!-- #BLAZE_RULE($base_java_binary).ATTRIBUTE(jvm_flags) --> A list of flags to embed in the wrapper script generated for running this binary. ${SYNOPSIS} - Subject to <a href="#make_variables">"Make variable"</a> substitution and - <a href="#sh-tokenization">Bourne shell tokenization</a>. + Subject to <a href="make-variables.html">"Make variable"</a> substitution and + <a href="common-definitions.html#sh-tokenization">Bourne shell tokenization</a>. <p> The wrapper script for a Java binary includes a <code>CLASSPATH</code> definition (to find all the dependent jars) and invokes the right Java interpreter. The command line @@ -325,7 +326,7 @@ public class BazelJavaRuleClasses { ${SYNOPSIS} A list of lines to add to the <code>META-INF/manifest.mf</code> file generated for the <code>*_deploy.jar</code> target. The contents of this attribute are <em>not</em> subject - to <a href="#make_variables">"Make variable"</a> substitution. + to <a href="make-variables.html">"Make variable"</a> substitution. <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ .add(attr("deploy_manifest_lines", STRING_LIST)) /* <!-- #BLAZE_RULE($base_java_binary).ATTRIBUTE(stamp) --> @@ -339,7 +340,7 @@ public class BazelJavaRuleClasses { <li><code>stamp = 0</code>: Always replace build information by constant values. This gives good build result caching.</li> <li><code>stamp = -1</code>: Embedding of build information is controlled by the - <a href="blaze-user-manual.html#flag--stamp">--[no]stamp</a> flag.</li> + <a href="../blaze-user-manual.html#flag--stamp">--[no]stamp</a> flag.</li> </ul> <!-- #END_BLAZE_RULE.ATTRIBUTE --> */ // TODO(bazel-team): describe how to access this data at runtime diff --git a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaTestRule.java b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaTestRule.java index 7d641164b9..e9d44bebe8 100644 --- a/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaTestRule.java +++ b/src/main/java/com/google/devtools/build/lib/bazel/rules/java/BazelJavaTestRule.java @@ -83,7 +83,8 @@ ${ATTRIBUTE_DEFINITION} <p> See the section on <a href="#java_binary_args">java_binary()</a> arguments, with the <i>caveat</i> that there is no <code>main_class</code> argument. This rule also supports all -<a href="#common-attributes-tests">attributes common to all test rules (*_test)</a>. +<a href="common-definitions.html#common-attributes-tests">attributes common to all test rules +(*_test)</a>. </p> <h4 id="java_test_examples">Examples</h4> |