From 4c9deafd613dec315ae5103d3a23937ce8822b9b Mon Sep 17 00:00:00 2001
From: Stefan Bodewig
append
Append to an existing file?
- No default is false.
+ No - default is false.
Examples
diff --git a/docs/manual/CoreTasks/style.html b/docs/manual/CoreTasks/style.html
index 8dab1e6c6..ac8c4a979 100644
--- a/docs/manual/CoreTasks/style.html
+++ b/docs/manual/CoreTasks/style.html
@@ -25,7 +25,7 @@ inclusion/exclusion of files works, and how to write patterns.
<fileset>
(dir
becomes basedir
)
as well as the nested <include>
, <exclude>
and <patternset>
elements.
-Style supports the use of a <param> element which is use to pass values +
Style supports the use of a <param> element which is used to pass values to an <xsl:param> declaration.
destdir | -directory where to store the results. | +directory in which to store the results. | Yes |
The classpath can be specified via a nested
-<classpath>
, as well that is,
+<classpath>
, as well - that is,
a path-like structure.
The built-in mapper types are:
to
and
The target file name will always be the same, as defined by
-to
from
will be ignored.
to
- from
will be ignored.
<mapper type="merge" to="archive.tar"/> diff --git a/docs/manual/develop.html b/docs/manual/develop.html index d767fa113..8b6d327dd 100644 --- a/docs/manual/develop.html +++ b/docs/manual/develop.html @@ -26,7 +26,7 @@ any primitive type (they are converted for you from their String-representation in the buildfile)-boolean your method will be passed the value +boolean - your method will be passed the value true if the value specified in the buildfile is one of diff --git a/docs/manual/dirtasks.html b/docs/manual/dirtasks.html index 83cc0ce77..1609a3553 100644 --- a/docs/manual/dirtasks.html +++ b/docs/manual/dirtasks.html @@ -62,7 +62,7 @@ For example:true
,yes
, oron
)/test/**
matches all files/directories under/test/
, such as/test/x.java
, or/test/foo/bar/xyz.html
, but not/xyz.xml
. -There is one "shorthand" if a pattern ends +
There is one "shorthand" - if a pattern ends with
/
or\
, then**
is appended. diff --git a/docs/manual/install.html b/docs/manual/install.html index 2f6a899f6..84bd50bb5 100644 --- a/docs/manual/install.html +++ b/docs/manual/install.html @@ -222,7 +222,7 @@ property task. Just pass(Windows) or -DMYVAR=%MYVAR%
(Unix) -to Ant you can then access +to Ant - you can then access these variables inside your buildfile as -DMYVAR=$MYVAR
${MYVAR}
.Two more options are:
install directory's, @@ -301,7 +301,6 @@ command. This example assumes you have set your classpath to include: -quiet
lib
directory if you are using the indicated feature. Note that only one of the regexp libraries is needed for use with the mappers. -
diff --git a/docs/manual/intro.html b/docs/manual/intro.html index 859a8f270..45f997a33 100644 --- a/docs/manual/intro.html +++ b/docs/manual/intro.html @@ -38,7 +38,7 @@ Task interface. Granted, this removes some of the expressive power that is inherent in being able to construct a shell command such as
, but it -gives you the ability to be cross-platform to work anywhere and +gives you the ability to be cross-platform - to work anywhere and everywhere. And hey, if you really need to execute a shell command, Ant has an <exec> task that diff --git a/docs/manual/using.html b/docs/manual/using.html index bc74fc4be..58d6b83e5 100644 --- a/docs/manual/using.html +++ b/docs/manual/using.html @@ -54,7 +54,7 @@ for example, and a target for creating a distributable. You can only build a distributable when you have compiled first, so the distribute target depends on the compile target. Ant resolves these dependencies. `find . -name foo -exec rm {}`
It should be noted, however, that Ant's
@@ -265,7 +265,7 @@ programming and scripting languages, as well as with documentation systems. is found in a file, but no filter is associated with that token, no changes take place; therefore, no escaping -method is available but as long as you choose appropriate names for your +method is available - but as long as you choose appropriate names for your tokens, this should not cause problems.depends
attribute -only specifies the order in which targets should be executed it +only specifies the order in which targets should be executed - it does not affect whether the target that specifies the dependency(s) gets executed if the dependent target(s) did not (need to) run.Warning: If you copy binary files with filtering turned on, you can corrupt the files. This feature should be used with text files only.
@@ -289,7 +289,7 @@ be used. This takes the general form of: directory relative to the project's base directory (or an absolute filename), while thepath
attribute accepts colon- or semicolon-separated lists of locations. Thepath
-attribute is intended to be used with predefined paths in any other +attribute is intended to be used with predefined paths - in any other case, multiple elements withlocation
attributes should be preferred.As a shortcut, the
<classpath>
tag @@ -323,7 +323,7 @@ by theclasses
directory.If you want to use the same path-like structure for several tasks, you can define them with a
<path>
element at the same level as targets, and reference them via their -id attribute see References for an +id attribute - see References for an example.A path-like structure can include a reference to another path-like structure via nested
@@ -405,7 +405,7 @@ that contain space characters, nested<path>
elements:arg
elements can be used.References
The
id
attribute of the buildfile's elements can be used to refer to them. This can useful if you are going to replicate -the same snippet of XML over and over again using a +the same snippet of XML over and over again - using a<classpath>
structure more than once for example.The following example: