diff --git a/docs/faq.html b/docs/faq.html index 0a98d7f58..52b2b7dda 100644 --- a/docs/faq.html +++ b/docs/faq.html @@ -212,7 +212,10 @@
How do I add an external task that I've written to the - page "External Tools and Task"? + page "External Tools and Tasks"?
Join and post a message to the dev or user mailing list (one list is enough), including the following @@ -673,6 +676,18 @@ The procedure to add it is the same. The file to patch is this document. The syntax of that file is the same.
+ + How do I create new tasks? +
+Apart from a lot of information on using Ant, the + Manual also contains information + on how to extend Ant with new tasks. This information + can be found under "Developing with Ant".
+Chances are that someone else already created the task you + want to create, it may be wise to see + External Tools and Tasks and + Related Projects first.
+How do I pass parameters from the command line to my build file? @@ -869,7 +884,7 @@ shell-prompt> m4 foo.m4 > foo
Note: <antcall>
tasks do not pass
property changes back up to the environment they were called
- from, so you would'nt be able to, for example, set a
+ from, so you wouldn't be able to, for example, set a
result
property in the cond-if-3
target,
then do
<echo message="result is ${result}"/>
@@ -1108,7 +1123,7 @@ shell-prompt> m4 foo.m4 > foo
pathelement
or classpath refid
.
When ant
loads properties from an external
- file it dosn't touch the value of properties, trailing blanks
+ file it doesn't touch the value of properties, trailing blanks
will not be trimmed for example.
If the value represents a file path, like a jar needed to
compile, the task which requires the value, javac for example
diff --git a/xdocs/faq.xml b/xdocs/faq.xml
index 7149f092d..210e435e9 100644
--- a/xdocs/faq.xml
+++ b/xdocs/faq.xml
@@ -247,7 +247,7 @@
Join and post a message to the dev or user mailing
@@ -279,6 +279,22 @@
The procedure to add it is the same. The file to patch is this
document. The syntax of that file is the same. Apart from a lot of information on using Ant, the
+ Manual also contains information
+ on how to extend Ant with new tasks. This information
+ can be found under "Developing with Ant". Chances are that someone else already created the task you
+ want to create, it may be wise to see
+ External Tools and Tasks and
+ Related Projects first.
Note: When If the value represents a file path, like a jar needed to
<antcall>
tasks do not pass
property changes back up to the environment they were called
- from, so you would'nt be able to, for example, set a
+ from, so you wouldn't be able to, for example, set a
result
property in the cond-if-3
target,
then do
<echo message="result is ${result}"/>
@@ -770,7 +786,7 @@ shell-prompt> m4 foo.m4 > foo
ant
loads properties from an external
- file it dosn't touch the value of properties, trailing blanks
+ file it doesn't touch the value of properties, trailing blanks
will not be trimmed for example.