diff --git a/manual/Tasks/ant.html b/manual/Tasks/ant.html index 3b06b1b94..e6c22a7ad 100644 --- a/manual/Tasks/ant.html +++ b/manual/Tasks/ant.html @@ -124,7 +124,7 @@ outside of targets in the new project—but not those defined inside of targ
See the description of the property task.
These properties
+
See the description of the property task.
These properties
become equivalent to properties you define on the command line. These are special properties and
they will always get passed down, even through additional <*ant*>
tasks
with inheritAll set to false
(see above).
Note that the refid
diff --git a/manual/Tasks/antcall.html b/manual/Tasks/antcall.html
index b6bcd92ad..81b76f10c 100644
--- a/manual/Tasks/antcall.html
+++ b/manual/Tasks/antcall.html
@@ -100,7 +100,7 @@ the id attribute).
Specifies the properties to set before running the specified
-target. See property for usage guidelines.
These properties become
+target. See property for usage guidelines.
These properties become
equivalent to properties you define on the command line. These are special properties and they will
always get passed down, even through additional <*ant*>
tasks
with inheritAll set to false
(see above).
antlr-all.jar
target of the Makefile provided with the download
yes.
no
yes.
no
false
0.
false
file,
diror
both. If set to
file, only the names of plain files will be sent to the command. If set to
dir, only the names of directories - are considered.
dirset
s—dirset
s always implicitly assume type to
be dir.
0
0
false
by:
-Curtis White (cwhite at aracnet dot com),
-Sean P. Kane (spkane at genomatica dot com),
-Rob Anderson (Anderson.Rob at vectorscm dot com), and
+
by:
+Curtis White (cwhite at aracnet dot com),
+Sean P. Kane (spkane at genomatica dot com),
+Rob Anderson (Anderson.Rob at vectorscm dot com), and
Sean Egan (sean at cm-logic dot com)
Version 1.6—02/25/2003
@@ -189,12 +189,11 @@ original.falseto ignore it.
true
true
true
cleartool mkelem
command to ClearCase.Task to perform a cleartool mkelem
command to ClearCase.
Since Ant
+1.6.1
reallyquiet | -suppress all messages. This is the same as
- -Q on the command line. since Ant 1.6. |
+ suppress all messages. This is the same as -Q on the command line. since
+ Ant 1.6. |
No; defaults to false |
failonerror | -Stop the build process if the command exits with a return code other
- than 0 . |
+ Stop the build process if the command exits with a return code other than 0. |
No; defaults to false |
0.
false
The cvsroot and package attributes of the tagdiff
element are
-new in Ant 1.6.
Notes on entry
attributes:
entry
attributes:
Attribute | diff --git a/manual/Tasks/ejb.html b/manual/Tasks/ejb.html index b90de3cfa..74b9b6761 100644 --- a/manual/Tasks/ejb.html +++ b/manual/Tasks/ejb.html @@ -774,7 +774,7 @@ vendor's EJB container. The parameters for each supported deployment element are them to the final EJB jar file. JBoss has two deployment descriptors:
---|
CMP version | File name | ||
---|---|---|---|
CMP 1.0 | jaws.xml | No; defaults to _ejbdeploy_temp |
|
dbName dbSchema |
+ dbName dbSchema |
These options are passed to ejbdeploy . |
No | No |
list
Here we want to create a Multi-Release JAR File according the
specification JEP 238. It defines on
top of a JAR the possibility to place additional or overwriting classes in a jar, which are
-available according to the Java version you run.
Basically it says, that you have to set the
+available according to the Java version you run.
Basically it says, that you have to set the
manifest entry Multi-Release: true
and place all additional or overwriting classes
in META-INF/versions/number/package-structure,
e.g. META-INF/versions/9/org/apache/ant/MyClass.class
0.
false(see note)
1.3,
1.4,
1.5or
5, etc. The attribute will be ignored by all implementations prior to
javac1.4(or
modernwhen Ant is not running in a JVM 1.3),
gcj- and
jikes.
gcjor
jikes, you + and
jikes.
gcjor
jikes, you must make sure that your version supports the
-source
(or -fsource
for gcj
) switch.
-source
argument will be used at all unless the magic
@@ -694,8 +694,8 @@ are false.
build.compiler.fulldepend
+F
switch in the Jikes
- manual.+F
switch in the Jikes
+ manual.false
packageset
(and vice ve
0.
packageset
(and vice ve
true, Ant will check whether diff --git a/manual/Tasks/mail.html b/manual/Tasks/mail.html index 73bb13c4e..6c2c8318e 100644 --- a/manual/Tasks/mail.html +++ b/manual/Tasks/mail.html @@ -148,7 +148,7 @@ more information.
message
nested element.message
nested element.mail
task.mail
task.<include>
, <exclude>
and <patternset>
elements.
All attributes except classpath, srcdir and destDir are also
available as properties in the form ant.netrexxc.attributename
,
-eg.<property name="ant.netrexxc.verbose" value="noverbose"/>
or from the
+eg.<property name="ant.netrexxc.verbose" value="noverbose"/>
or from the
command line asant -Dant.netrexxc.verbose=noverbose ...
Note: This task depends on external libraries not included in the Apache Ant distribution. See Library Dependencies for more diff --git a/manual/Tasks/replaceregexp.html b/manual/Tasks/replaceregexp.html index 923373c7a..cd36c3226 100644 --- a/manual/Tasks/replaceregexp.html +++ b/manual/Tasks/replaceregexp.html @@ -61,14 +61,14 @@ the Regexp Type.
g: Global replacement. Replace all occurrences found
i: Case Insensitive. Do not consider case in the match
g: Global replacement. Replace all occurrences found
i: Case Insensitive. Do not consider case in the match
m: Multiline. Treat the string as multiple lines of input, using
^and
$as the start or end of any line, respectively, rather than start or end of - string.
s: Singleline. Treat the string as a single line of input, using
.to match - any character, including a newline, which normally, it would not match.
-<substitution id="id" expression="beta\1alpha"/>
+<substitution id="id" expression="beta\1alpha"/>
<substitution refid="id"/>
<replaceregexp match="\\n" replace="${line.separator}" flags="g" byline="true"> diff --git a/manual/Tasks/rmic.html b/manual/Tasks/rmic.html index 9ba41b55a..5af1a7ee3 100644 --- a/manual/Tasks/rmic.html +++ b/manual/Tasks/rmic.html @@ -107,7 +107,7 @@ documentation to learn how to use it.stubversion Specify the JDK version for the generated stub code. Specify 1.1to pass the-v1.1
option tormic
,1.2- for-v12
,compatfor-vcompat
.
/Since Ant 1.7, if + for-v12
,compatfor-vcompat
.
Since Ant 1.7, if you do not specify a version, and do not ask for .iiop or .idl files,compatis selected.No; default is diff --git a/manual/Tasks/rpm.html b/manual/Tasks/rpm.html index 158f12101..f6e35e87c 100644 --- a/manual/Tasks/rpm.html +++ b/manual/Tasks/rpm.html @@ -48,7 +48,7 @@ withcompatrpm
support.This is the directory which will have the expected subdirectories, SPECS, SOURCES, BUILD, SRPMS. If this isn't specified, the default RPM directory of the system (or user, - if ~/.rpmmacros defines it) is used (often /usr/src/rpm.
+ if ~/.rpmmacros defines it) is used (often /usr/src/rpm.
Defining a topdir will set%_topdir
to the specified directory—there is no need to edit your .rpmmacros file.No, but your build file is very brittle if it is not set. diff --git a/manual/Tasks/schemavalidate.html b/manual/Tasks/schemavalidate.html index 418851918..6130a08cd 100644 --- a/manual/Tasks/schemavalidate.html +++ b/manual/Tasks/schemavalidate.html @@ -71,7 +71,7 @@ their URL equivalents.classpathref where to find the parser class. Optionally can use an - embedded + embedded<classpath>
element.<classpath>
element.No @@ -82,8 +82,8 @@ their URL equivalents. failonerror -fails on a error if set to -true(defaults totrue).No +fails on a error if set to +true.No; defaults to truefile @@ -167,9 +167,9 @@ their URL equivalents.The
<xmlcatalog>
element is used to perform entity resolution.attribute
-The
<attribute>
element is used to set parser features.
Features usable +The
<attribute>
element is used to set parser features.
Features usable with the xerces parser are defined -here: Setting features
SAX features +here: Setting features
SAX features are defined here:http://xml.org/sax/features/
diff --git a/manual/Tasks/script.html b/manual/Tasks/script.html index 1566cafb8..3c48c55e7 100644 --- a/manual/Tasks/script.html +++ b/manual/Tasks/script.html @@ -41,7 +41,7 @@ either their name or id attributes (as long as their names valid Java identifiers, that is). This is controlled by the setbeans attribute of the task. The name
diff --git a/manual/Tasks/unzip.html b/manual/Tasks/unzip.html index 2d2ee5bcb..ce2982a7a 100644 --- a/manual/Tasks/unzip.html +++ b/manual/Tasks/unzip.html @@ -81,7 +81,7 @@ extract an Ant generated ZIP archive.project
is a pre-defined reference to the Project, which can be used instead of the project name. The nameself
is a pre-defined reference to the -actual<script>
-Task instance.
From these objects you have access to the Ant +actual<script>
-Task instance.
From these objects you have access to the Ant Java API, see the JavaDoc (especially for Project and Script) for more @@ -272,11 +272,11 @@ be imported withimportClass(Packages.org.apache.tools.ant.util.FileUtils)
The<script>
task populates the Project instance under the nameproject
, so we can use that reference. Another way is to use its given name or -getting its reference from the task itself.
The Project provides methods for accessing and -setting properties, creating DataTypes and Tasks and much more.
After creating a FileSet object +getting its reference from the task itself.
The Project provides methods for accessing and +setting properties, creating DataTypes and Tasks and much more.
After creating a FileSet object we initialize that by calling its set-methods. Then we can use that object like a normal Ant task -(<copy>
for example).
For getting the size of a file we instantiate -ajava.io.File
. So we are using normal Java API here.
Finally we use +(<copy>
for example).
For getting the size of a file we instantiate +ajava.io.File
. So we are using normal Java API here.
Finally we use the<echo>
task for producing the output. The task is not executed by itsexecute()
method, because theperform()
method (implemented in Task itself) does the appropriate logging before and after invokingexecute()
. diff --git a/manual/Tasks/sound.html b/manual/Tasks/sound.html index 47ecdd865..19d1c39dd 100644 --- a/manual/Tasks/sound.html +++ b/manual/Tasks/sound.html @@ -62,7 +62,7 @@ and<fail>
elements:loops the number of extra times to play the sound file. -No; default is +0
No; default is 0duration diff --git a/manual/Tasks/sshsession.html b/manual/Tasks/sshsession.html index 0dca88e1c..bf09951db 100644 --- a/manual/Tasks/sshsession.html +++ b/manual/Tasks/sshsession.html @@ -73,7 +73,7 @@ JSCh earlier than 0.1.28.diff --git a/manual/Tasks/style.html b/manual/Tasks/style.html index 28d7d17e7..589ae16d0 100644 --- a/manual/Tasks/style.html +++ b/manual/Tasks/style.html @@ -219,8 +219,8 @@ path-like structure). remotetunnels A comma-delimited list of colon-delimited rport:lhost:lport triplets defining - remote port forwarding.
If nested remotetunnel elements are + remote port forwarding.
If nested remotetunnel elements are also provided, both sets of tunnels will be established.No failOnError Whether the build should fail if any error occurs. Note that transformation errors can - still be suppressed by setting + still be suppressed by setting failOnTransformationError tofailOnTransformationErrortofalseeven if this - attribute istrue. Since Ant 1.8.0.falseeven if + this attribute istrue. Since Ant 1.8.0.No; default is truediff --git a/manual/Tasks/subant.html b/manual/Tasks/subant.html index e7b001e03..e9b5ca258 100644 --- a/manual/Tasks/subant.html +++ b/manual/Tasks/subant.html @@ -77,8 +77,8 @@ directories. 2 different options are offered: diff --git a/manual/Tasks/symlink.html b/manual/Tasks/symlink.html index e8a93eeed..ad1714fbd 100644 --- a/manual/Tasks/symlink.html +++ b/manual/Tasks/symlink.html @@ -74,7 +74,7 @@ set of property files to create links from. genericantfile -Build file path, to use in conjunction with directories.
Use genericantfile, - in order to run the same build file with different basedirs.
If this attribute +Build file path, to use in conjunction with directories.
Use genericantfile, + in order to run the same build file with different basedirs.
If this attribute is set, antfile is ignored.File failonerror Stop build if true, log a warning message, but do not stop the build, when the an error - occurs if false. + occurs iffalse.No; defaults to truecompression -Note: This attribute is only available for the untar
task.
+Note: This attribute is only available for the untar
task.
compression method. Allowable values arenone,gzip,xzandbzip2.No; default is @@ -112,7 +112,7 @@ extract an Ant generated ZIP archive.nonescanForUnicodeExtraFields -Note: This attribute is not available for the untar
task.
+Note: This attribute is not available for the diff --git a/manual/Tasks/xmlproperty.html b/manual/Tasks/xmlproperty.html index 63ad94bde..7bc3f0bd8 100644 --- a/manual/Tasks/xmlproperty.html +++ b/manual/Tasks/xmlproperty.html @@ -127,7 +127,7 @@ the input XML file is loaded:/p>untar
task.
If the archive contains Unicode extra fields then use them to set the file names, ignoring the specified encoding.
See also the discussion in the zip task pagedelimiter -Delimiter for splitting multiple values. +
since Apache Ant 1.7.1Delimiter for splitting multiple values.
since Apache Ant 1.7.1No; defaults to ,(comma)
The following built-in tasks support nested <filterchain>
elements.
-Concat,
-Copy,
-LoadFile,
-LoadProperties,
-LoadResource,
+
The following built-in tasks support nested <filterchain>
elements.
+Concat,
+Copy,
+LoadFile,
+LoadProperties,
+LoadResource,
Move
A FilterChain is formed by defining zero or more of the following nested elements.
-FilterReader
-ClassConstants
-EscapeUnicode
-ExpandProperties
-HeadFilter
-LineContains
-LineContainsRegExp
-PrefixLines
-ReplaceTokens
-StripJavaComments
-StripLineBreaks
-StripLineComments
-SuffixLines
-TabsToSpaces
-TailFilter
-DeleteCharacters
-ConcatFilter
-SortFilter
-TokenFilter
+
A FilterChain is formed by defining zero or more of the following nested elements.
+FilterReader
+ClassConstants
+EscapeUnicode
+ExpandProperties
+HeadFilter
+LineContains
+LineContainsRegExp
+PrefixLines
+ReplaceTokens
+StripJavaComments
+StripLineBreaks
+StripLineComments
+SuffixLines
+TabsToSpaces
+TailFilter
+DeleteCharacters
+ConcatFilter
+SortFilter
+TokenFilter
FixCRLF
linecontainsregexp
. In earlier versions of Ant you must use a nested
+ linecontainsregexp
. In earlier versions of Ant you must use a nested
element when using the convenience method.
\n,
\r,
\f,
\tand
\\The following tokenizers are provided by the default distribution.
- LineTokenizer
- FileTokenizer
- StringTokenizer
+ LineTokenizer
+ FileTokenizer
+ StringTokenizerThe following string filters are provided by the default distribution.
- ReplaceString
- ContainsString
- ReplaceRegex
- ContainsRegex
- Trim
- IgnoreBlank
- DeleteCharacters
- UniqFilter
- Native2AsciiFilter
+ ReplaceString
+ ContainsString
+ ReplaceRegex
+ ContainsRegex
+ Trim
+ IgnoreBlank
+ DeleteCharacters
+ UniqFilter
+ Native2AsciiFilterThe following string filters are provided by the optional distribution.
Custom tokenizers and string filters can be declared diff --git a/manual/Types/selectors-program.html b/manual/Types/selectors-program.html index 2e471ea94..6f415edc5 100644 --- a/manual/Types/selectors-program.html +++ b/manual/Types/selectors-program.html @@ -192,7 +192,7 @@ public class MySelectorTest {
During development and maybe later you sometimes need the output of information. Therefore Logging is needed. Because the selector extends BaseExtendSelector or directly BaseSelector it is an Ant
diff --git a/manual/develop.html b/manual/develop.html index b093bcaca..01f3d7f32 100644 --- a/manual/develop.html +++ b/manual/develop.html @@ -506,7 +506,7 @@ been configured.DataType
and therefore - aProjectComponent
.
That means that you have access to the project object + aProjectComponent
.
That means that you have access to the project object and its logging capability.ProjectComponent
itself provideslog()
methods which will do the access to the project instance. Logging is therefore done simply with:Example
Writing an adapter to your favourite log library is very easy. Just implement the BuildListener interface, instantiate your logger and delegate -the message to that instance.
+the message to that instance.
When starting your build provide your adapter class and the log library to the build classpath and activate your logger via-listener
option as described above. diff --git a/manual/dirtasks.html b/manual/dirtasks.html index aec8a86a3..d611c3715 100644 --- a/manual/dirtasks.html +++ b/manual/dirtasks.html @@ -143,7 +143,7 @@ were mypackage/test/**.**/CVS/* Matches all files in CVS directories that can be located - anywhere in the directory tree.
+ anywhere in the directory tree.
Matches:CVS/Repository @@ -157,7 +157,7 @@ But not:org/apache/jakarta/** Matches all files in the org/apache/jakarta - directory tree.
+ directory tree.
Matches:org/apache/jakarta/tools/ant/docs/index.html @@ -171,7 +171,7 @@ But not:org/apache/**/CVS/* Matches all files in CVS directories that are located anywhere in the directory tree under - org/apache.
+ org/apache.
Matches:org/apache/CVS/Entries diff --git a/manual/running.html b/manual/running.html index c87159bb4..be6ca200e 100644 --- a/manual/running.html +++ b/manual/running.html @@ -489,7 +489,7 @@ your build file.Ant start up scripts (in their Windows and Unix version) return the return code of the
java
program. So a successful build -returns 0, failed builds return other values. +returns0, failed builds return other values.Cygwin Users
diff --git a/manual/tasksoverview.html b/manual/tasksoverview.html index a510cd014..2f4c41f9a 100644 --- a/manual/tasksoverview.html +++ b/manual/tasksoverview.html @@ -29,23 +29,23 @@ difficult to get an overall view of what each task can do. The following tables provide a short description of each task and a link to the complete documentation. -Archive Tasks
-Audit/Coverage Tasks
-Compile Tasks
-Deployment Tasks
-Documentation Tasks
-EJB Tasks
-Execution Tasks
-File Tasks
-Java Extensions Tasks
-Logging Tasks
-Mail Tasks
-Miscellaneous Tasks
-Pre-process Tasks
-Property Tasks
-Remote Tasks
-SCM Tasks
-Testing Tasks
+Archive Tasks
+Audit/Coverage Tasks
+Compile Tasks
+Deployment Tasks
+Documentation Tasks
+EJB Tasks
+Execution Tasks
+File Tasks
+Java Extensions Tasks
+Logging Tasks
+Mail Tasks
+Miscellaneous Tasks
+Pre-process Tasks
+Property Tasks
+Remote Tasks
+SCM Tasks
+Testing Tasks
Archive Tasks diff --git a/manual/tutorial-HelloWorldWithAnt.html b/manual/tutorial-HelloWorldWithAnt.html index 12edc2baa..e2d8ddfdb 100644 --- a/manual/tutorial-HelloWorldWithAnt.html +++ b/manual/tutorial-HelloWorldWithAnt.html @@ -464,7 +464,7 @@ steps: 1. let<junit>
log the information and 2. convert thes define a report directory, create it before running thejunitand redirect the logging to it. The log format is XML sojunitreportcould parse it. In a second targetjunitreportshould create a browsable HTML report for all generated XML log files in the report directory. Now you can open the ${report.dir}\index.html and -see the result (looks something like JavaDoc).
Personally I use two different targets +see the result (looks something like JavaDoc).
Personally I use two different targets for<junit>
and<junitreport>
. Generating the HTML report needs some time and you don't need the HTML report just for testing, e.g. if you are fixing an error or a integration server is doing a job. diff --git a/manual/using.html b/manual/using.html index c08b9c24d..406259e45 100644 --- a/manual/using.html +++ b/manual/using.html @@ -515,26 +515,26 @@ For the declaration there are several ways:declare a single task per using instruction using <taskdef name="taskname" classname="ImplementationClass"/>
-
+
<taskdef name="for" classname="net.sf.antcontrib.logic.For"/> <for ... />
declare a bundle of tasks using a properties file holding these taskname-ImplementationClass-pairs and <taskdef>
-
+
<taskdef resource="net/sf/antcontrib/antcontrib.properties"/> <for ... />
declare a bundle of tasks using an xml file holding these taskname-ImplementationClass-pairs and <taskdef>
-
+
<taskdef resource="net/sf/antcontrib/antlib.xml"/> <for ... />
declare a bundle of tasks using an xml file named antlib.xml, XML namespace and antlib:
protocol handler -
+
<project xmlns:ac="antlib:net.sf.antcontrib"/> <ac:for ... />