[groovy] branch GROOVY_3_0_X updated: GROOVY-9478: Some additional doco links

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[groovy] branch GROOVY_3_0_X updated: GROOVY-9478: Some additional doco links

paulk
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_3_0_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_3_0_X by this push:
     new dbe7a69  GROOVY-9478: Some additional doco links
dbe7a69 is described below

commit dbe7a6970ce67ab68ee8aa1a9c92664480419ae4
Author: Paul King <[hidden email]>
AuthorDate: Sun Mar 29 19:51:24 2020 +1000

    GROOVY-9478: Some additional doco links
---
 subprojects/groovy-ant/src/spec/doc/ant-builder.adoc     |  8 +++++++-
 subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc | 10 ++++++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc b/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
index 13329d8..480c94c 100644
--- a/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
+++ b/subprojects/groovy-ant/src/spec/doc/ant-builder.adoc
@@ -19,10 +19,16 @@
 
 //////////////////////////////////////////
 
+[[title-heading]]
 = AntBuilder
 
+[NOTE]
+Here we describe `AntBuilder` which lets you write Ant build scripts
+in Groovy rather than XML. You may also be interested in using Groovy
+from Ant using the <<groovy-ant-task.adoc#title-heading,Groovy Ant task>>.
+
 Despite being primarily a build tool, http://ant.apache.org/[Apache Ant] is
-a very practical tool for manipulating files including zip files, copy, resource processing, ...
+a very practical tool for manipulating files including zip files, copy, resource processing, and more.
 But if ever you’ve been working with a `build.xml` file or some _Jelly script_
 and found yourself a little restricted by all those pointy brackets, or
 found it a bit weird using XML as a scripting language and wanted
diff --git a/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc b/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
index 0867dfb..cea3333 100644
--- a/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
+++ b/subprojects/groovy-ant/src/spec/doc/groovy-ant-task.adoc
@@ -19,8 +19,18 @@
 
 //////////////////////////////////////////
 
+[[title-heading]]
 = The <groovy> Ant Task
 
+[NOTE]
+Here we describe an Ant task for using Groovy
+from within an Ant build file.
+You may also be interested in
+Ant's built-in https://ant.apache.org/manual/Tasks/script.html[`script`] task
+which supports Groovy and other languages, or
+<<ant-builder.adoc#title-heading,`AntBuilder`>> which lets you write Ant build scripts
+in Groovy rather than XML.
+
 Executes a series of Groovy statements from http://ant.apache.org/[Apache Ant].
 Statements can either be read in from a resource or as direct text between the enclosing Groovy tags.