From 3ba058c3b54d5c4799f6c4114a4aa603ae8d9829 Mon Sep 17 00:00:00 2001
From: Gintas Grigelionis
Since Ant 1.6.
+You can specify a set of properties to be copied into the new project with propertysets.
-since Ant 1.6.
-Since Ant 1.6.3.
You can specify multiple targets using nested <target>
elements instead of
using the target attribute. These will be executed as if Ant had been invoked with a
@@ -176,7 +177,6 @@ single target whose dependencies are the targets so specified, in the order spec
since Ant 1.6.3.
Since Ant 1.6.
+You can specify a set of properties to be copied into the new project with propertysets.
-since Ant 1.6.
-Since Ant 1.6.3.
You can specify multiple targets using nested <target>
elements instead of
using the target attribute. These will be executed as if Ant had been invoked with a
@@ -151,7 +152,6 @@ single target whose dependencies are the targets so specified, in the order spec
since Ant 1.6.3.
diff --git a/manual/Tasks/antversion.html b/manual/Tasks/antversion.html index 250fbe4a0..e1a0f0039 100644 --- a/manual/Tasks/antversion.html +++ b/manual/Tasks/antversion.html @@ -25,10 +25,10 @@Antversion
+Since Ant 1.7.0
Description
-Stores the Apache Ant version (when used as task) or checks for a -specific Ant version (when used as condition). Since Ant -1.7.0
+Stores the Apache Ant version (when used as task) or checks for a specific Ant version (when used +as condition).
Since Ant 1.7
This condition is a facet of the ResourceCount task. It is used to test the size of a resource -collection. Since Ant 1.7
+collection.<resourcecount refid="myresourcecollection" when="greater" count="0"/>
Verify that a resource collection is not empty.
Since Ant 1.7
Test resources for matching. Nonexistence of one or more resources results in false
,
although if none exists they are considered equal in terms of content. By default, this test does a
byte for byte comparison, so test time scales with byte size. Note: if the files
are different sizes, one of them is missing or the filenames match the answer is so obvious the
detailed test is omitted. The resources to check are specified as
nested resource collections, meaning that more than
-two resources can be checked; in this case all resources must match. Since Ant 1.7
Attribute | @@ -676,9 +679,10 @@ two resources can be checked; in this case all resources must match. Since A
---|
Since Ant 1.7.1
Tests whether a resource contains a given (sub)string.
The resources to check are specified via references or—in the case of file -resources—via the resource attribute. Since Ant 1.7.1
+resources—via the resource attribute.Attribute | @@ -707,9 +711,9 @@ resources—via the resource attribute. Since Ant 1.7.1
---|
Since Ant 1.7
Tests for a class having a method or field. If the class is not found or fails to load, the build -fails. Since Ant 1.7
+fails.Since Ant 1.8.0
A path-like structure holding the classpath to use when loading the compiler implementation if a custom class has been specified. Doesn't have any effect when using one of the built-in compilers.
-CompilerAdapter
(since Ant
-1.8.0)CompilerAdapter
Since Ant 1.8.0
If a defined type implements the CompilerAdapter
interface a nested element of that
type can be used as an alternative to the compiler attribute.
sourcepath
, classpath
and bootclasspath
respectively.
arg
-
+Since Ant 1.6
Use nested <arg>
to specify additional arguments.
-See Command line arguments. Since Ant 1.6
+See Command line arguments.
Example
diff --git a/manual/Tasks/javah.html b/manual/Tasks/javah.html
index 354af203e..cc0815f39 100644
--- a/manual/Tasks/javah.html
+++ b/manual/Tasks/javah.html
@@ -176,14 +176,14 @@ can be used to enable arguments only if a given compiler implementation will be
Since Ant 1.8.0
A path-like structure holding the classpath to use when loading the compiler implementation if a custom class has been specified. Doesn't have any effect when using one of the built-in compilers.
-Since Ant 1.8.0
If a defined type implements the JavahAdapter
interface a nested element of that
type can be used as an alternative to the implementation attribute.
true
Since Ant 1.6
+You can specify a set of properties to be used as system properties with syspropertysets.
-since Ant 1.6.
-It is possible to specify environment variables to pass to the forked JVM via
@@ -283,46 +282,47 @@ element's attributes, see the description in the PATH like structure—will be ignored if fork
is false
or the target JVM doesn't support it (i.e. Java 1.1).
since Ant 1.6.
-Since Ant 1.6.
+Security permissions can be revoked and granted during the execution of the class via a
nested permissions
element. For more information please
see permissions
Settings will be ignored if fork=true
.
since Ant 1.6.
-Since Ant 1.6.
+You can control enablement of Java 1.4 assertions with
an <assertions>
subelement.
Assertion statements are currently ignored in non-forked mode.
-Since Ant 1.6.
-Since Ant 1.9.8
+The location of modules can be specified using this PATH like
structure.
The modulepath
requires fork to be set to true
.
-
since Ant 1.9.8
-Since Ant 1.9.8
+The location of modules that replace upgradeable modules in the runtime image can be specified
using this PATH like
structure.
The upgrademodulepath
requires fork to be set
to true
.
since Ant 1.9.8
-The results of the tests can be printed in different formats. Output will always be sent to a diff --git a/manual/Tasks/length.html b/manual/Tasks/length.html index 57a3a1229..674ebe83f 100644 --- a/manual/Tasks/length.html +++ b/manual/Tasks/length.html @@ -25,10 +25,11 @@
Since Apache Ant 1.6.3
Display or set a property containing length information for a string, a file, or one or more
nested Resource Collections. Can also be used as
-a condition
. Since Apache Ant 1.6.3
condition
.
Since Apache Ant 1.8.0
A path-like structure holding the classpath to use when loading the converter implementation if a custom class has been specified. Doesn't have any effect when using one of the built-in converters.
-Since Ant 1.8.0
If a defined type implements the Native2AsciiAdapter
interface a nested element of
that type can be used as an alternative to the implementation attribute.
Converts all files in the directory srcdir ending in .eucjis from - the EUCJIS encoding to ASCII and renames them to end in .java.
+Converts all files in the directory srcdir ending in .eucjis from the +EUCJIS encoding to ASCII and renames them to end in .java.
<native2ascii encoding="EUCJIS" src="native/japanese" dest="src" diff --git a/manual/Tasks/pack.html b/manual/Tasks/pack.html index 1efc12ad8..ffb2b326f 100644 --- a/manual/Tasks/pack.html +++ b/manual/Tasks/pack.html @@ -56,8 +56,8 @@ See Library Dependencies for m
The specified resource will be used as src. Since Apache Ant 1.7
+Since Apache Ant 1.7
+The specified resource will be used as src.
<gzip src="test.tar" destfile="test.tar.gz"/>diff --git a/manual/Tasks/presetdef.html b/manual/Tasks/presetdef.html index d5c984d15..5e0c24623 100644 --- a/manual/Tasks/presetdef.html +++ b/manual/Tasks/presetdef.html @@ -25,10 +25,10 @@
Since Apache Ant 1.6
The preset definition generates a new definition based on a current definition with some attributes or elements preset.
-since Apache Ant 1.6
The resolution of properties in any of the attributes or nested text takes place with the definition is used and not when the preset definition is defined.
Since Ant 1.8.2
This task is provided for the purpose of allowing the user to install a different ProjectHelper at runtime.
@@ -32,7 +33,6 @@ at runtime. (ProjectHelper2
)
See the description of Apache Ant's Project Helper for more information.
-Since Ant 1.8.2
Since Ant 1.8.0
This task is provided for the purpose of allowing the user to (a) install a
different PropertyHelper
at runtime, or (b) (hopefully more often)
install one or more PropertyHelper
Delegates into the PropertyHelper
active on the current Project
. This is somewhat advanced Apache Ant usage and assumes a
working familiarity with the modern Ant APIs. See the description of
-Ant's Property Helper for more information.
-Since Ant 1.8.0
Since Apache Ant 1.7
Display or set a property containing the size of a nested Resource Collection. Can also be used as a -condition. Since Apache Ant 1.7
+condition.Since Ant 1.8.0
A path-like structure holding the classpath to use when loading the compiler implementation if a custom class has been specified. Doesn't have any effect when using one of the built-in compilers.
-Since Ant 1.8.0
If a defined type implements the RmicAdapter
interface a nested element of that type
can be used as an alternative to the compiler attribute.
Since Apache Ant 1.6
since Apache Ant 1.6
-Copies a file or FileSet to or from a (remote) machine running an SSH daemon. FileSet only works for copying files from the local machine to a remote machine.
diff --git a/manual/Tasks/sshexec.html b/manual/Tasks/sshexec.html index 0d3790a22..fb0cdc20e 100644 --- a/manual/Tasks/sshexec.html +++ b/manual/Tasks/sshexec.html @@ -25,10 +25,9 @@Since Apache Ant 1.6
since Apache Ant 1.6
-Runs a command on a remote machine running SSH daemon.
Note: This task depends on external libraries not included in the Ant diff --git a/manual/Tasks/sshsession.html b/manual/Tasks/sshsession.html index bf09951db..ec60bbf8e 100644 --- a/manual/Tasks/sshsession.html +++ b/manual/Tasks/sshsession.html @@ -25,10 +25,9 @@
Since Apache Ant 1.8.0
since Apache Ant 1.8.0
-A Task which establishes an SSH connection with a remote machine running SSH daemon, optionally establishes any number of local or remote tunnels over that connection, then executes any nested tasks before taking down the connection.
diff --git a/manual/Tasks/style.html b/manual/Tasks/style.html index 589ae16d0..7d98ca00e 100644 --- a/manual/Tasks/style.html +++ b/manual/Tasks/style.html @@ -242,7 +242,7 @@ path-like structure).since Ant 1.7
+Since Ant 1.7
Use resource collections to specify resources that the stylesheet should be applied to. Use a
nested mapper and the task's destdir
attribute to specify the output files.
Since Ant 1.9.8
Used to specify factory settings.
Sets the classloader to use when loading extension functions to a classloader using
the path
with the id extension-path
.
since Ant 1.9.8
Used to specify settings of the processor factory. The feature names are mostly processor @@ -456,7 +456,7 @@ is http://javax.xml.XMLConstants/feature/secure-processing.
since Ant 1.6.2
+Since Ant 1.6.2
You can define filename transformations by using a nested mapper element. The default mapper used @@ -473,20 +473,20 @@ should be specified as a nested resource or single-element collection. Alternat the refid to specify the resource or collection as a reference.
Since Ant 1.8.0.
Use nested <sysproperty>
elements to specify system properties required by the
factory or transformation. These properties will be made available to JVM during the execution of
the class. The attributes for this element are the same as for environment
variables.
since Ant 1.8.0.
-Since Ant 1.8.0.
+You can specify a set of properties to be used as system properties with syspropertysets.
-since Ant 1.8.0.
-<xslt basedir="doc" destdir="build/doc" diff --git a/manual/Tasks/subant.html b/manual/Tasks/subant.html index e9b5ca258..22783f2bf 100644 --- a/manual/Tasks/subant.html +++ b/manual/Tasks/subant.html @@ -24,11 +24,11 @@Subant Task
+Since Apache Ant 1.6
Description
Calls a given target for all defined sub-builds. This is an extension of Ant for bulk project execution. This task must not be used outside of a
-target
if it invokes the same build file it is part of.Since Apache Ant 1.6
@@ -140,6 +140,7 @@ different from the way
subant
usesant
internally so many things said inant
's manual page apply here as well.<property>
tasks in build files behaveCreates a nested
<buildpathelement>
, and add it to the implicit build path.target (org.apache.tools.ant.taskdefs.Ant.TargetElement)
+Since Ant 1.7.
You can specify multiple targets using nested
@@ -155,7 +156,6 @@ whose dependencies are the targets so specified, in the order specified.<target>
elements instead of using the target attribute. These will be executed as if Ant had been invoked with a single target whose dependencies are the targets so specified, in the order specified.Yes
since Ant 1.7.
<project name="subant" default="subant1"> diff --git a/manual/Tasks/truncate.html b/manual/Tasks/truncate.html index 2aeca23c1..54a861003 100644 --- a/manual/Tasks/truncate.html +++ b/manual/Tasks/truncate.html @@ -25,12 +25,12 @@Truncate
+Since Apache Ant 1.7.1
Description
Set the length of one or more files, as the intermittently available
+on resources and resource collections.truncate
Unix utility/function. In addition to working with a single file, this Task can also work -on resources and resource collections. Since Apache Ant -1.7.1.Parameters
Parameter Name | @@ -952,7 +954,7 @@ extracted) </filterchain>
---|
Attribute | @@ -962,10 +963,11 @@ last few oldest, largest, etc. resources from a larger collection. Since Ant
---|
Attribute | @@ -987,10 +989,11 @@ collection. Since Ant 1.9.5
---|
Attribute | diff --git a/manual/inputhandler.html b/manual/inputhandler.html index e68b8fd46..6b366e0a5 100644 --- a/manual/inputhandler.html +++ b/manual/inputhandler.html @@ -87,16 +87,16 @@ define it as a simple parameter to
---|