http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/length.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/length.html b/manual/Tasks/length.html index 18c62c7..bf577ad 100644 --- a/manual/Tasks/length.html +++ b/manual/Tasks/length.html @@ -29,9 +29,9 @@ <p>Display or set a property containing length information for a string, a file, or one or more nested <a href="../Types/resources.html#collection">Resource Collection</a>s. - Can also be used as a condition. <b>Since Apache Ant 1.6.3</b></p> + Can also be used as a condition. <em>Since Apache Ant 1.6.3</em></p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -111,7 +111,7 @@ <fileset dir="." includes="foo,bar"/> </length> </pre> -<p>Writes the file paths of <i>foo</i> and <i>bar</i> and their length into +<p>Writes the file paths of <i>foo</i> and <i>bar</i> and their length into the property <i>length</i>.</p> <pre> @@ -121,7 +121,5 @@ the property <i>length</i>.</p> </pre> <p>Adds the length of <i>foo</i> and <i>bar</i> and stores the result in property <i>length</i>.</p> - </body> </html> -
http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/loadfile.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/loadfile.html b/manual/Tasks/loadfile.html index 59291ed..eb27f7b 100644 --- a/manual/Tasks/loadfile.html +++ b/manual/Tasks/loadfile.html @@ -23,7 +23,7 @@ <body> -<h2><a name="loadfile">LoadFile</a></h2> +<h2 id="loadfile">LoadFile</h2> <h3>Description</h3> <p> Specialization of <a href="loadresource.html">loadresource</a> that @@ -31,12 +31,12 @@ works on files exclusively and provides a srcFile attribute for convenience. Unless an encoding is specified, the encoding of the current locale is used. </p> -<p>If the resource content is empty (maybe after processing a filterchain) +<p>If the resource content is empty (maybe after processing a filterchain) the property is not set.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -64,9 +64,9 @@ the property is not set.</p> </tr> <tr> <td valign="top">quiet</td> - <td valign="top">Do not display a diagnostic message (unless Apache Ant has been + <td valign="top">Do not display a diagnostic message (unless Apache Ant has been invoked with the <code>-verbose</code> or <code>-debug</code> - switches) or modify the exit status to reflect an error. Setting this to + switches) or modify the exit status to reflect an error. Setting this to "true" implies setting failonerror to "false". <em>Since Ant 1.7.0.</em> </td> @@ -88,7 +88,6 @@ can print this. This is identical to <file file="message.txt"/> </loadresource> </pre> -</p> <pre> <loadfile property="encoded-file" srcFile="loadfile.xml" @@ -125,9 +124,5 @@ merging lines to ensure this happens. Load an XML file into a property, expanding all properties declared in the file in the process. - - - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/loadproperties.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/loadproperties.html b/manual/Tasks/loadproperties.html index 69fa23a..d21027a 100644 --- a/manual/Tasks/loadproperties.html +++ b/manual/Tasks/loadproperties.html @@ -23,7 +23,7 @@ <body> -<h2><a name="loadproperties">LoadProperties</a></h2> +<h2 id="loadproperties">LoadProperties</h2> <h3>Description</h3> <p> Load a file's contents as Apache Ant properties. This is equivalent @@ -40,7 +40,7 @@ the <a href="property.html"><code><property></code></a> task.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -134,7 +134,5 @@ Ant properties. Load contents of http://example.org/url.properties.gz, uncompress it on the fly and load the contents as Ant properties. - - </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/loadresource.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/loadresource.html b/manual/Tasks/loadresource.html index f2b20c0..0e4ad77 100644 --- a/manual/Tasks/loadresource.html +++ b/manual/Tasks/loadresource.html @@ -23,7 +23,7 @@ <body> -<h2><a name="loadresource">LoadResource</a></h2> +<h2 id="loadresource">LoadResource</h2> <p><em>Since Apache Ant 1.7</em></p> @@ -41,7 +41,7 @@ processing a filterchain) the property is not set. of an existing property.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -64,9 +64,9 @@ processing a filterchain) the property is not set. </tr> <tr> <td valign="top">quiet</td> - <td valign="top">Do not display a diagnostic message (unless Ant has been + <td valign="top">Do not display a diagnostic message (unless Ant has been invoked with the <code>-verbose</code> or <code>-debug</code> - switches) or modify the exit status to reflect an error. Setting this to + switches) or modify the exit status to reflect an error. Setting this to "true" implies setting failonerror to "false". </td> <td align="center" valign="top">No, default "false"</td> @@ -87,7 +87,5 @@ Load the entry point of Ant's homepage into property "homepage"; an <p>For more examples see the <a href="loadfile.html">loadfile</a> task.</p> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/local.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/local.html b/manual/Tasks/local.html index c7ed8fc..9b4b9bd 100644 --- a/manual/Tasks/local.html +++ b/manual/Tasks/local.html @@ -40,7 +40,7 @@ in the buildfile. <b>Since Ant 1.8</b></p> precedes its definition. See the examples section.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -183,4 +183,3 @@ step2: </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/macrodef.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/macrodef.html b/manual/Tasks/macrodef.html index 60b3072..a5741f1 100644 --- a/manual/Tasks/macrodef.html +++ b/manual/Tasks/macrodef.html @@ -17,14 +17,14 @@ <html> <head> - <meta http-equiv="Content-Language" content="en-us"></meta> + <meta http-equiv="Content-Language" content="en-us"> <link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> <title>MacroDef Task</title> </head> <body> - <h2><a name="macrodef">MacroDef</a></h2> + <h2 id="macrodef">MacroDef</h2> <h3>Description</h3> <p> This defines a new task using a <code><sequential></code> @@ -42,7 +42,7 @@ <em>since Apache Ant 1.6</em> </p> <h3>Parameters</h3> - <table border="1" cellpadding="2" cellspacing="0"> + <table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -88,7 +88,7 @@ </p> <p> This attribute is placed in the body of the templated - task using a notation similar to the ant property notation + task using a notation similar to the Ant property notation - @{attribute name}. (May be remembered as "put the substitution AT this location"). </p> @@ -102,7 +102,7 @@ same as @{MyAttribute}. </p> <h3>Parameters</h3> - <table border="1" cellpadding="2" cellspacing="0"> + <table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -124,7 +124,7 @@ <td valign="top">description</td> <td valign="top"> This contains a description of the attribute. - <em>since ant 1.6.1</em> + <em>Since Ant 1.6.1</em> </td> <td valign="top" align="center">No</td> </tr> @@ -133,7 +133,7 @@ <td valign="top"> Controls whether or not property references in the attribute are expanded twice or just once. See the <a href="http://ant.apache.org/faq.html#macrodef-property-expansion">FAQ</a> for details. - <em>since Ant 1.8.3</em> + <em>Since Ant 1.8.3</em> </td> <td valign="top" align="center">No; default true</td> </tr> @@ -148,7 +148,7 @@ The case of the element name is ignored. </p> <h3>Parameters</h3> - <table border="1" cellpadding="2" cellspacing="0"> + <table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -175,7 +175,7 @@ any nested elements of the macrodef instance will be placed in the element indicated by the name of this element. There can only be one element if an element is implicit. - The default value is false. <em>since ant 1.6.2</em> + The default value is false. <em>Since Ant 1.6.2</em> </td> <td valign="top" align="center">No</td> </tr> @@ -184,7 +184,7 @@ <td valign="top"> This contains a description informing the user what the contents of the element are expected to be. - <em>since ant 1.6.1</em> + <em>Since Ant 1.6.1</em> </td> <td valign="top" align="center">No</td> </tr> @@ -201,7 +201,7 @@ The case of the text name is ignored. </p> <h3>Parameters</h3> - <table border="1" cellpadding="2" cellspacing="0"> + <table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -380,6 +380,5 @@ </pre> </blockquote> - </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/mail.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/mail.html b/manual/Tasks/mail.html index b59633d..f98b141 100644 --- a/manual/Tasks/mail.html +++ b/manual/Tasks/mail.html @@ -24,7 +24,7 @@ <body> -<h2><a name="mail">Mail</a></h2> +<h2 id="mail">Mail</h2> <h3>Description</h3> <p> A task to send SMTP email. @@ -49,13 +49,13 @@ </p> <p> <strong>Note:</strong> This task may depend on external libraries - that are not included in the Ant distribution. + that are not included in the Ant distribution. See <a href="../install.html#librarydependencies">Library Dependencies</a> for more information. </p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -149,18 +149,18 @@ <tr> <td valign="top">user</td> <td valign="top">user name for SMTP auth</td> - <td valign="center">Yes, if SMTP auth is required on your SMTP server<br></br> + <td valign="center">Yes, if SMTP auth is required on your SMTP server<br> the email message will be then sent using Mime and requires JavaMail</td> </tr> <tr> <td valign="top">password</td> <td valign="top">password for SMTP auth</td> - <td valign="center">Yes, if SMTP auth is required on your SMTP server<br></br> + <td valign="center">Yes, if SMTP auth is required on your SMTP server<br> the email message will be then sent using Mime and requires JavaMail</td> </tr> <tr> <td valign="top">ssl</td> - <td valign="top">"true", "on" or "yes" accepted here<br></br> + <td valign="top">"true", "on" or "yes" accepted here<br> indicates whether you need TLS/SSL</td> <td align="center" valign="top">No</td> </tr> @@ -193,7 +193,7 @@ </tr> <tr> <td valign="top">enableStartTLS</td> - <td valign="top">"true", "on" or "yes" accepted here<br></br> + <td valign="top">"true", "on" or "yes" accepted here<br> whether the STARTTLS command used to switch to an encrypted connection for authentication should be supported. Requires JavaMail. <em>Since Ant 1.8.0</em></td> @@ -216,10 +216,10 @@ can contain email addresses of the form : <h3>Parameters specified as nested elements</h3> -<h4>to / cc / bcc / from/ replyto </h4> +<h4>to / cc / bcc / from/ replyto</h4> <p>Adds an email address element. It takes the following attributes:</p> -<table width="60%" border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -242,7 +242,7 @@ can contain email addresses of the form : <p>Specifies the message to include in the email body. It takes the following attributes:</p> -<table width="60%" border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -287,7 +287,7 @@ the <code><message></code> element.</p> <p><strong>Since Ant 1.7</strong>, arbitrary mail headers can be added by specifying these attributes on one or more nested header elements:</p> -<table width="60%" border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -356,7 +356,5 @@ will be replaced with the <code>buildname</code> property's value.</p> <p>Sends an eMail from <i>[email protected]</i> to <i>[email protected]</i> with a subject of <i>Test Build</i>, the message body being coded in UTF-8 - - </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/manifest.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/manifest.html b/manual/Tasks/manifest.html index 7a5b98b..c6340cf 100644 --- a/manual/Tasks/manifest.html +++ b/manual/Tasks/manifest.html @@ -24,16 +24,14 @@ <body> -<h2><a name="manifest">Manifest</a></h2> +<h2 id="manifest">Manifest</h2> <h3>Description</h3> <p>Creates a manifest file.</p> <p>This task can be used to write a Manifest file, optionally replacing or updating an existing file.</p> - - -<p>Manifests are processed according to the +<p>Manifests are processed according to the <a href="http://docs.oracle.com/javase/7/docs/technotes/guides/jar/jar.html">Jar file specification.</a>. Specifically, a manifest element consists of a set of attributes and sections. These sections in turn may contain @@ -52,14 +50,14 @@ line.</p> <p> If you find that Ant generates manifests incompatible with your runtime, take - a manifest it has built, fix it up however you need and switch to using the <zip> + a manifest it has built, fix it up however you need and switch to using the <a href="zip.html">zip</a> task to create the JAR, feeding in the hand-crafted manifest. </p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -104,10 +102,10 @@ line.</p> </table> <h3>Nested elements</h3> -<h4><a name="attribute">attribute</a></h4> +<h4 id="attribute">attribute</h4> <p>One attribute for the manifest file. Those attributes that are not nested into a section will be added to the "Main" section.</p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -132,7 +130,7 @@ not nested into a section will be added to the "Main" section.</p> <p>A manifest section - you can nest <a href="#attribute">attribute</a> elements into sections.</p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -156,7 +154,7 @@ href="#attribute">attribute</a> elements into sections.</p> <attribute name="Specification-Version" value="${version}"/> <attribute name="Specification-Vendor" value="Example Organization"/> <attribute name="Implementation-Title" value="common"/> - <attribute name="Implementation-Version" value="${version} ${TODAY}"/> + <attribute name="Implementation-Version" value="${version} ${TODAY}"/> <attribute name="Implementation-Vendor" value="Example Corp."/> </section> <section name="common/class1.class"> @@ -168,7 +166,7 @@ href="#attribute">attribute</a> elements into sections.</p> <p>Creates or replaces the file MANIFEST.MF. Note that the Built-By attribute will take the value of the Ant property ${user.name}. The same is true for the ${version} and ${TODAY} properties. This example -produces a MANIFEST.MF that contains +produces a MANIFEST.MF that contains <a href="http://docs.oracle.com/javase/7/docs/technotes/guides/versioning/spec/versioning2.html#wp90779">package version identification</a> for the package <code>common</code>.</p> @@ -191,7 +189,5 @@ Sealed: false </code></pre> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/manifestclasspath.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/manifestclasspath.html b/manual/Tasks/manifestclasspath.html index 2c193b8..d43fcb7 100644 --- a/manual/Tasks/manifestclasspath.html +++ b/manual/Tasks/manifestclasspath.html @@ -24,7 +24,7 @@ <body> -<h2><a name="manifestclasspath">Manifestclasspath</a></h2> +<h2 id="manifestclasspath">Manifestclasspath</h2> <h3>Description</h3> <p>Converts a <a href="../using.html#path">Path</a> into a property @@ -54,7 +54,7 @@ defined property is re-referenced.</p> <p><em>since Apache Ant 1.7</em></p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -105,13 +105,11 @@ This classpath must not be empty, and is required.</p> </pre></blockquote> <p>Assuming a path of id "classpath" was already defined, convert this path relatively to the build/ directory that will contain acme.jar, which - can later be created with <code><jar></code> with a nested + can later be created with <code><jar></code> with a nested <code><manifest></code> element that lists an - <code><attribute name="Class-Path" value="${jar.classpath}" /></code>. + <code><attribute name="Class-Path" value="${jar.classpath}"/></code>. </p> </div> - - </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/mimemail.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/mimemail.html b/manual/Tasks/mimemail.html index ba066a6..4c2a4ae 100644 --- a/manual/Tasks/mimemail.html +++ b/manual/Tasks/mimemail.html @@ -24,7 +24,7 @@ <body> -<h2><a name="mimemail">MimeMail</a></h2> +<h2 id="mimemail">MimeMail</h2> <h3><i>Deprecated</i></h3> <p><i>This task has been deprecated. Use the <a href="../Tasks/mail.html">mail</a> task instead.</i></p> @@ -36,7 +36,7 @@ and <a href="http://www.oracle.com/technetwork/java/javase/jaf-135115.html">Java Activation Framework</a> are required for this task.</p> <p>Multiple files can be attached using <a href="../Types/fileset.html">FileSets.</a></p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -109,7 +109,5 @@ Activation Framework</a> are required for this task.</p> </mimemail> </pre> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/mkdir.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/mkdir.html b/manual/Tasks/mkdir.html index 5d945c0..5de1899 100644 --- a/manual/Tasks/mkdir.html +++ b/manual/Tasks/mkdir.html @@ -24,12 +24,12 @@ <body> -<h2><a name="mkdir">Mkdir</a></h2> +<h2 id="mkdir">Mkdir</h2> <h3>Description</h3> <p>Creates a directory. Also non-existent parent directories are created, when necessary. Does nothing if the directory already exist.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -47,6 +47,5 @@ necessary. Does nothing if the directory already exist.</p> <pre><mkdir dir="${dist}/lib"/></pre> <p>creates a directory <code>${dist}/lib</code>.</p> - </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/move.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/move.html b/manual/Tasks/move.html index c4f931a..db49ba5 100644 --- a/manual/Tasks/move.html +++ b/manual/Tasks/move.html @@ -24,7 +24,7 @@ <body> -<h2><a name="move">Move</a></h2> +<h2 id="move">Move</h2> <h3>Description</h3> <p>Moves a file to a new file or directory, or collections of files to a new directory. By default, the @@ -47,7 +47,7 @@ set.</p> there is a directory by the same name in <i>todir</i>, the action will fail. </p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -252,7 +252,5 @@ in a directory.</b></p> </move> </pre> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/native2ascii.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/native2ascii.html b/manual/Tasks/native2ascii.html index 1017714..f187cd3 100644 --- a/manual/Tasks/native2ascii.html +++ b/manual/Tasks/native2ascii.html @@ -15,8 +15,10 @@ limitations under the License. --> <html> - <head><link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> -<title>Native2Ascii Task</title></head> + <head> + <link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> + <title>Native2Ascii Task</title> + </head> <body> <h2>Native2Ascii</h2> @@ -57,20 +59,22 @@ and <code><patternset></code> elements. </p> - <p>It is possible to use different converters. This can be selected - with the <code>implementation</code> attribute or a nested element. - <a name="implementationvalues">Here are the choices of the attribute</a>:</p> + <p id="implementationvalues"> + It is possible to use different converters. This can be selected + with the <code>implementation</code> attribute or a nested + element. Here are the choices of the attribute: + </p> <ul> <li>default - the default converter for the platform - kaffee when run on Kaffee, builtin otherwise.</li> <li>sun (used to be the standard converter of the JDK < 9)</li> <li>kaffe (the standard converter of <a href="http://www.kaffe.org" target="_top">Kaffe</a>)</li> - <li>builtin - Ant's internal implementation. <em>since ant + <li>builtin - Ant's internal implementation. <em>Since Ant 1.9.8</em></li> </ul> - <table border="1" cellpadding="2" cellspacing="0"> + <table> <tr> <td><b>Attribute</b></td> <td><b>Description</b></td> @@ -156,7 +160,7 @@ specified like <a href="../using.html#arg">Command-line Arguments</a> but have an additional attribute that can be used to enable arguments only if a given converter implementation will be used.</p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td width="12%" valign="top"><b>Attribute</b></td> <td width="78%" valign="top"><b>Description</b></td> @@ -245,6 +249,6 @@ only if a given converter implementation will be used.</p> </pre> <p>in which case your native2ascii adapter can support attributes and nested elements of its own.</p> - </body> +</body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/netrexxc.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/netrexxc.html b/manual/Tasks/netrexxc.html index efdfa4d..bf1104c 100644 --- a/manual/Tasks/netrexxc.html +++ b/manual/Tasks/netrexxc.html @@ -24,7 +24,7 @@ <body> -<h2><a name="netrexxc">NetRexxC</a></h2> +<h2 id="netrexxc">NetRexxC</h2> <h3>Description</h3> <p>Compiles a <a href="http://www2.hursley.ibm.com/netrexx" target="_top">NetRexx</a> source tree within the running (Apache Ant) VM.</p> @@ -63,7 +63,7 @@ included in the Apache Ant distribution. See <a href="../install.html#librarydep for more information.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -335,7 +335,5 @@ for more information.</p> </p> </blockquote> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/nice.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/nice.html b/manual/Tasks/nice.html index 03c0eaa..c3e1156 100644 --- a/manual/Tasks/nice.html +++ b/manual/Tasks/nice.html @@ -24,12 +24,12 @@ <body> -<h2><a name="echo">Nice</a></h2> +<h2 id="echo">Nice</h2> <h3>Description</h3> <p>Provide "nice-ness" to the current thread and/or query the current value.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -64,7 +64,5 @@ priority in the user property "currentpriority". This can be used to set the priority back to its original value later. </p> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/pack.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/pack.html b/manual/Tasks/pack.html index b673333..92c6157 100644 --- a/manual/Tasks/pack.html +++ b/manual/Tasks/pack.html @@ -24,7 +24,7 @@ <body> -<h2><a name="pack">GZip/BZip2</a></h2> +<h2 id="pack">GZip/BZip2/XZ</h2> <h3>Description</h3> <p>Packs a resource using the GZip, BZip2 or XZ algorithm. The output file is only generated if it doesn't exist or the source @@ -36,7 +36,7 @@ See <a href="../install.html#librarydependencies">Library Dependencies</a> for more information.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -80,6 +80,5 @@ resource collection</h4> <p>downloads <i>http://example.org/archive.tar</i> and compresses it to <i>archive.tar.gz</i> in the project's basedir on the fly.</p> - </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/parallel.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/parallel.html b/manual/Tasks/parallel.html index 362daf3..ce032c1 100644 --- a/manual/Tasks/parallel.html +++ b/manual/Tasks/parallel.html @@ -28,12 +28,12 @@ <h3>Description</h3> <p> Executes nested tasks in parallel with no guarantees of thread safety. - Every task will run in its own thread, with the likelihood of + Every task will run in its own thread, with the likelihood of concurrency problems scaling with the number of CPUs on the host system. </p> -<p><b>Warning:</b> While the Apache Ant core is believed to be thread safe, no such +<p><b>Warning:</b> While the Apache Ant core is believed to be thread safe, no such guarantees are made about tasks, which are not tested for thread safety during - Ant's test process. + Ant's test process. Third party tasks may or may not be thread safe, and some of Ant's core tasks, such as <code><javac></code> are definitely not re-entrant. This is because they use libraries that were never designed to be used in a multithreaded environment. @@ -44,16 +44,16 @@ same time. Anyone trying to run large Ant task sequences in parallel, such as javadoc and javac at the same time, is implicitly taking on the task of identifying and fixing all concurrency bugs the tasks that they run. - + </p> <p> Accordingly, while this task has uses, it should be considered an advanced task which should be used in certain batch-processing or testing situations, - rather than an easy trick to speed up build times on a multiway CPU. + rather than an easy trick to speed up build times on a multiway CPU. </p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -130,13 +130,13 @@ processors (there is no affinity to a particular processor however). This will override the value in <code>threadCount</code>. If <code>threadsPerProcessor</code> is specified on any older JVM, then the value in <code>threadCount</code> will be used as is.</p> -<p>When using <code>threadCount</code> and <code>threadsPerProcessor</code> - care should be taken to ensure that the build does not deadlock. +<p>When using <code>threadCount</code> and <code>threadsPerProcessor</code> + care should be taken to ensure that the build does not deadlock. This can be caused by tasks such as <code>waitfor</code> - taking up all available threads before the tasks that would unlock the + taking up all available threads before the tasks that would unlock the <code>waitfor</code> would occur. This is not a replacement for Java Language level thread -semantics and is best used for "embarassingly parallel" tasks.</p> +semantics and is best used for "embarrassingly parallel" tasks.</p> <h3>Parameters specified as nested elements</h3> @@ -169,7 +169,7 @@ terminated from Ant. By using <code><daemons></code> such servers do not h </parallel> </pre> <p>This example represents a typical pattern for testing a server application. -In one thread the server is started (the <code><wlrun></code> task). +In one thread the server is started (the <code><wlrun></code> task). The other thread consists of a three tasks which are performed in sequence. The <code><sleep></code> task is used to give the server time to come up. Another task which is capable of validating @@ -191,8 +191,8 @@ resource utilization during the build. In this instance, some servlets are being compiled in one thead and a set of JSPs is being precompiled in another. Developers need to be careful that the two tasks are independent, both in terms of their dependencies and in terms of their potential interactions in -Ant's external environment. Here we set <code>fork="true"</code> for the -<code><javac></code> task, so that it runs in a new process; +Ant's external environment. Here we set <code>fork="true"</code> for the +<code><javac></code> task, so that it runs in a new process; if the <code><wljspc></code> task used the javac compiler in-VM (it may), concurrency problems may arise. </p> @@ -206,7 +206,7 @@ if the <code><wljspc></code> task used the javac compiler in-VM </java> </sequential> </macrodef> - + <parallel threadCount="4"> <dbpurge file="db/one" /> <dbpurge file="db/two" /> @@ -223,13 +223,11 @@ if the <code><wljspc></code> task used the javac compiler in-VM <p>This example represents a typical need for use of the threadCount and threadsPerProcessor attributes. Spinning up all 40 of those tasks could cripple the system for memory and CPU time. By limiting the number of -concurrent executions you can reduce contention for CPU, memory and disk IO, +concurrent executions you can reduce contention for CPU, memory and disk IO, and so actually finish faster. This is also a good candidate for use of threadCount (and possibly threadsPerProcessor) because each task is independent (every new JVM is forked) and has no dependencies on the other tasks.</p> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/patch.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/patch.html b/manual/Tasks/patch.html index 96a5ee9..611c0e8 100644 --- a/manual/Tasks/patch.html +++ b/manual/Tasks/patch.html @@ -24,63 +24,62 @@ <body> -<h2><a name="patch">Patch</a></h2> +<h2 id="patch">Patch</h2> <h3>Description</h3> -<p>Applies a diff file to originals. ; requires "patch" to be - on the execution path. </p> +<p>Applies a diff file to originals. Requires "patch" to be on the execution path.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> <td align="center" valign="top"><b>Required</b></td> </tr> <tr> - <td valign="top">patchfile</td> + <td valign="top">patchfile</td> <td valign="top">the file that includes the diff output</td> <td align="center" valign="top">Yes</td> </tr> <tr> - <td valign="top">originalfile</td> + <td valign="top">originalfile</td> <td valign="top">the file to patch</td> - <td align="center" valign="top">No, tries to guess it from the diff + <td align="center" valign="top">No, tries to guess it from the diff file</td> </tr> <tr> - <td valign="top">destfile</td> + <td valign="top">destfile</td> <td valign="top">the file to send the output to instead of patching the file(s) in place. <em>since Apache Ant 1.6</em></td> <td align="center" valign="top">No.</td> </tr> <tr> - <td valign="top">backups</td> + <td valign="top">backups</td> <td valign="top">Keep backups of the unpatched files</td> <td align="center" valign="top">No</td> </tr> <tr> - <td valign="top">quiet</td> + <td valign="top">quiet</td> <td valign="top">Work silently unless an error occurs</td> <td align="center" valign="top">No</td> </tr> <tr> - <td valign="top">reverse</td> - <td valign="top">Assume patch was created with old and new files + <td valign="top">reverse</td> + <td valign="top">Assume patch was created with old and new files swapped.</td> <td align="center" valign="top">No</td> </tr> <tr> - <td valign="top">ignorewhitespace</td> + <td valign="top">ignorewhitespace</td> <td valign="top">Ignore whitespace differences.</td> <td align="center" valign="top">No</td> </tr> <tr> - <td valign="top">strip</td> - <td valign="top">Strip the smallest prefix containing <i>num</i> leading + <td valign="top">strip</td> + <td valign="top">Strip the smallest prefix containing <i>num</i> leading slashes from filenames.</td> <td align="center" valign="top">No</td> </tr> <tr> - <td valign="top">dir</td> + <td valign="top">dir</td> <td valign="top">The directory in which to run the patch command.</td> <td align="center" valign="top">No, default is the project's basedir.</td> </tr> @@ -102,10 +101,8 @@ the diff output looked like</p> <pre> --- a/mod1.0/A Mon Jun 5 17:28:41 2000 +++ a/mod1.1/A Mon Jun 5 17:28:49 2000 -</pre> +</pre> the leading <i>a/</i> will be stripped. - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/pathconvert.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/pathconvert.html b/manual/Tasks/pathconvert.html index 41f56f4..d1485ec 100644 --- a/manual/Tasks/pathconvert.html +++ b/manual/Tasks/pathconvert.html @@ -24,7 +24,7 @@ <body> -<h2><a name="pathconvert">Pathconvert</a></h2> +<h2 id="pathconvert">Pathconvert</h2> <h3>Description</h3> <p>Converts nested <a href="../Types/resources.html#collection"> ResourceCollection</a>s, or a reference to just one, into a path @@ -38,11 +38,11 @@ of files in a FileList into a path. drive letters to Unix paths, and vice-versa.</p> <p>More complex transformations can be achieved using a nested <a href="../Types/mapper.html"><code><mapper></code></a> -(since Apache Ant 1.6.2). +(<em>since Apache Ant 1.6.2</em>). </p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -51,7 +51,7 @@ drive letters to Unix paths, and vice-versa.</p> <tr> <td valign="top">targetos</td> <td valign="top"> - The target architecture. Must be one of 'unix', 'windows', + The target architecture. Must be one of 'unix', 'windows', 'netware', 'tandem' or 'os/2'. This is a shorthand mechanism for specifying both <code>pathsep</code> and <code>dirsep</code> @@ -98,14 +98,14 @@ drive letters to Unix paths, and vice-versa.</p> </tr> <tr> <td valign="top">preserveduplicates</td> - <td valign="top">Whether to preserve duplicate resources. <b>Since Ant 1.8</b></td> + <td valign="top">Whether to preserve duplicate resources. <em>Since Ant 1.8</em></td> <td valign="top" align="center">No; default "false". </tr> </table> <h3>Parameters specified as nested elements</h3> <h4>map</h4> <p>Specifies the mapping of path prefixes between Unix and Windows.</p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -115,7 +115,7 @@ drive letters to Unix paths, and vice-versa.</p> <td valign="top">from</td> <td valign="top"> The prefix to match. Note that this value is case-insensitive when - the build is running on a Windows platform and case-sensitive + the build is running on a Windows platform and case-sensitive when running on a Unix platform. <em>Since Ant 1.7.0</em>, on Windows this value is also insensitive to the slash style used for directories, one can use '/' or '\'. @@ -136,8 +136,8 @@ drive letters to Unix paths, and vice-versa.</p> <p><strong>Note</strong>: The map elements are applied in the order specified, and only the first matching map element is applied. So, the ordering of your map elements can be important, if any <code>from</code> values are -prefixes of other <code>from</code> values.</i> -</p> +prefixes of other <code>from</code> values. +</p> <h4>Resource Collections</h4> <p>If the <code>refid</code> attribute is not specified, then one or more nested <a href="../Types/resources.html#collection">Resource @@ -145,7 +145,7 @@ Collection</a>s must be supplied.</p> <h4>mapper</h4> <p>A single nested <a href="../Types/mapper.html"> <code><mapper></code></a> element can be specified -to perform any of various filename transformations (since Ant 1.6.2). +to perform any of various filename transformations (<em>since Ant 1.6.2</em>). </p> <h3>Examples</h3> @@ -161,15 +161,15 @@ has the value <pathelement location="${wl.home}/mssqlserver4/classes"/> <pathelement location="c:\winnt\System32"/> </path> - + <pathconvert targetos="unix" property="wl.path.unix" refid="wl.path"> <map from="${wl.home}" to="${wl.home.unix}"/> <map from="c:" to=""/> </pathconvert> </pre> -<p> will generate the path shown below -and store it in the property named <code>wl.path.unix</code>. -</p> +<p> +will generate the path shown below and store it in the property named <code>wl.path.unix</code>. +</p> <pre> /weblogic/lib/weblogicaux.jar:/weblogic/classes:/weblogic/mssqlserver4/classes:/WINNT/SYSTEM32 </pre> @@ -197,7 +197,7 @@ will convert the list of files to the following Unix path: <fileset dir="${src.dir}" id="src.files"> <include name="**/*.java"/> </fileset> - + <pathconvert pathsep="," property="javafiles" refid="src.files"/> </pre> <p>This example takes the set of files determined by the fileset (all files ending @@ -220,5 +220,3 @@ list of files. </p> </body> </html> - - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/presetdef.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/presetdef.html b/manual/Tasks/presetdef.html index c7f381c..d975bf9 100644 --- a/manual/Tasks/presetdef.html +++ b/manual/Tasks/presetdef.html @@ -15,21 +15,16 @@ limitations under the License. --> <html> - + <head> - <meta http-equiv="Content-Language" content="en-us"></meta> + <meta http-equiv="Content-Language" content="en-us"> <link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> -<title>PreSetDef Task</title> - <style type="text/css"> - <!-- - .code { background: #EFEFEF; margin-top: } - --> - </style> + <title>PreSetDef Task</title> </head> - + <body> - - <h2><a name="presetdef">PreSetDef</a></h2> + + <h2 id="presetdef">PreSetDef</h2> <h3>Description</h3> <p> The preset definition generates a new definition @@ -45,7 +40,7 @@ when the preset definition is defined. </p> <h3>Parameters</h3> - <table border="1" cellpadding="2" cellspacing="0"> + <table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -70,7 +65,7 @@ This nested element can be any other type or task. The attributes and elements that need to be preset are placed here. </p> - + <h3>Examples</h3> The following fragment defines a javac task with the debug, deprecation srcdir and destdir @@ -177,8 +172,6 @@ properties to be available in child builds run with </macrodef> <showmessage-presetdef messageval="${message}"/> </pre></blockquote> - <hr></hr> - + </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/projecthelper.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/projecthelper.html b/manual/Tasks/projecthelper.html index ea78eb2..986bf76 100644 --- a/manual/Tasks/projecthelper.html +++ b/manual/Tasks/projecthelper.html @@ -35,7 +35,7 @@ the default one (ProjectHelper2) <p>See the description of Apache Ant's <a href="../projecthelper.html">Project Helper</a> for more information. </p> -<p><b>Since Ant 1.8.2</b></p> +<p><em>Since Ant 1.8.2</em></p> <h3>Parameters specified as nested elements</h3> @@ -56,4 +56,3 @@ You may specify many configured <code>org.apache.tools.ant.ProjectHelper</code> </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/property.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/property.html b/manual/Tasks/property.html index 7dc90a7..8ff6543 100644 --- a/manual/Tasks/property.html +++ b/manual/Tasks/property.html @@ -24,7 +24,7 @@ <body> -<h2><a name="property">Property</a></h2> +<h2 id="property">Property</h2> <h3>Description</h3> <p>Sets a <a href="../using.html#properties">property</a> (by name and value), or set of properties (from file or @@ -60,11 +60,11 @@ This also holds for properties loaded from a property file.</p> href="../properties.html#built-in-props">here</a>.</p> <p>Since Apache Ant 1.8.0 it is possible to load properties defined in xml according to <a href="http://java.sun.com/dtd/properties.dtd">Suns DTD</a>, -if Java5+ is present. For this the name of the file, resource or url has +if Java 5+ is present. For this the name of the file, resource or url has to end with <tt>.xml</tt>.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -177,7 +177,7 @@ SYSTEM). </p> <h4>Any OS except OpenVMS</h4> -<p>Starting with Ant 1.8.2 if Ant detects it is running of a Java 1.5 +<p>Starting with Ant 1.8.2 if Ant detects it is running of a Java 5 VM (or better) Ant will use <code>System.getenv</code> rather than its own OS dependent native implementation. For some OSes this causes minor differences when compared to older versions of Ant. @@ -288,58 +288,56 @@ deploy.port=8080 deploy.url=http://${deploy.server}:${deploy.port}/ </pre> - -<a name="notes-env"></a> -<h3>Notes about environment variables</h3> +<h3 id="notes-env">Notes about environment variables</h3> <p> - Ant runs on Java 1.2 therefore it cannot use Java5 features for accessing environment + Ant runs on Java 1.2 therefore it cannot use Java 5 features for accessing environment variables. So it starts a command in a new process which prints the environment variables, - analyzes the output and creates the properties. <br> + analyzes the output and creates the properties.<br> There are commands for the following operating systems implemented in <a href="https://git-wip-us.apache.org/repos/asf?p=ant.git;a=blob;f=src/main/org/apache/tools/ant/taskdefs/Execute.java;hb=24e5a0e881dba01a6f012c4a271b743946412a0d"> Execute.java</a> (method <tt>getProcEnvCommand()</tt>): +</p> <table> <tr> <th>OS</th> <th>command</th> </tr> <tr> - <td> os/2 </td> - <td> cmd /c set </td> + <td>os/2</td> + <td>cmd /c set</td> </tr> <tr> - <td colspan="2"> windows </td> + <td colspan="2"> windows</td> </tr> <tr> - <td> * win9x </td> - <td> command.com /c set </td> + <td>* win9x</td> + <td>command.com /c set</td> </tr> <tr> - <td> * other </td> - <td> cmd /c set </td> + <td>* other</td> + <td>cmd /c set</td> </tr> <tr> - <td> z/os </td> - <td> /bin/env <b>OR</b> /usr/bin/env <b>OR</b> env <i>(depending on read rights)</i> </td> + <td>z/os</td> + <td>/bin/env <b>OR</b> /usr/bin/env <b>OR</b> env <i>(depending on read rights)</i></td> </tr> <tr> - <td> unix </td> - <td> /bin/env <b>OR</b> /usr/bin/env <b>OR</b> env <i>(depending on read rights)</i> </td> + <td>unix</td> + <td>/bin/env <b>OR</b> /usr/bin/env <b>OR</b> env <i>(depending on read rights)</i></td> </tr> <tr> - <td> netware </td> - <td> env </td> + <td>netware</td> + <td>env</td> </tr> <tr> - <td> os/400 </td> - <td> env </td> + <td>os/400</td> + <td>env</td> </tr> <tr> - <td> openvms </td> - <td> show logical </td> + <td>openvms</td> + <td>show logical</td> </tr> </table> -</p> </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/propertyfile.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/propertyfile.html b/manual/Tasks/propertyfile.html index e4030f8..8714131 100644 --- a/manual/Tasks/propertyfile.html +++ b/manual/Tasks/propertyfile.html @@ -24,9 +24,8 @@ <body> <h1>PropertyFile</h1> - -<hr> -<h2><a name="introduction">Introduction</a></h2> +<hr/> +<h2 id="introduction">Introduction</h2> <p>Apache Ant provides an optional task for editing property files. This is very useful when wanting to make unattended modifications to configuration files for application servers and @@ -40,10 +39,10 @@ file are preserved.</p> In general, linefeeds of the updated file will be the same as the first linefeed found when reading it.</p> -<hr> -<h2><a name="proptask">PropertyFile Task</a></h2> +<hr/> +<h2 id="proptask">PropertyFile Task</h2> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td width="12%" valign="top"><b>Attribute</b></td> <td width="78%" valign="top"><b>Description</b></td> @@ -73,10 +72,10 @@ previous behaviour of the task, in which the layout and any comments in the properties file were lost by the task.</p> <h3>Parameters specified as nested elements</h3> -<h4><a name="entryElement">Entry</a></h4> +<h4 id="entryElement">Entry</h4> <p>Use nested <code><entry></code> elements to specify actual modifications to the property file itself.</p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -156,7 +155,6 @@ operation occurs <b>after</b> these rules are considered.</p> <li>If value and default are both specified and the property did not exist in the property file, the property is set to default.</li> </ul> -<p> </p> <h3>Examples</h3> @@ -186,7 +184,7 @@ formated.int=0014 formated.date=243 13\:47</pre> <p> -The slashes conform to the expectations of the Properties class. The file will be stored in a manner so that each character is examined and escaped if necessary. +The slashes conform to the expectations of the Properties class. The file will be stored in a manner so that each character is examined and escaped if necessary. </p> <p> @@ -228,7 +226,7 @@ Concatenation of strings :</p> <p>Each time called, a "." will be appended to "progress" </p> -<p>Pumps the project version to the next minor version (increase minor and set path=0): +<p>Pumps the project version to the next minor version (increase minor and set path=0):</p> <blockquote><pre><target name="nextMinorVersion"> <property name="header" @@ -242,8 +240,6 @@ Concatenation of strings :</p> </target> </pre></blockquote> After running this target the version changed e.g. from 3.2.2 to 3.3.0. -</p> - </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/propertyhelper.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/propertyhelper.html b/manual/Tasks/propertyhelper.html index 6c73b0b..5b4cf34 100644 --- a/manual/Tasks/propertyhelper.html +++ b/manual/Tasks/propertyhelper.html @@ -51,7 +51,7 @@ subinterface in order to do anything meaningful. is also provided:</p> <h5>Parameters</h5> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -105,4 +105,3 @@ is also provided:</p> </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/pvcstask.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/pvcstask.html b/manual/Tasks/pvcstask.html index a95b32e..726f5d9 100644 --- a/manual/Tasks/pvcstask.html +++ b/manual/Tasks/pvcstask.html @@ -14,18 +14,15 @@ See the License for the specific language governing permissions and limitations under the License. --> -<!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> <head> - <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta http-equiv="Content-Language" content="en-us"> <link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> <title>PVCS task</title> </head> <body> -<h1> -Apache Ant Pvcs Task User Manual</h1> +<h1>Apache Ant Pvcs Task User Manual</h1> <p><b>Note:</b> Before using this task, the user running Ant must have access to the @@ -47,160 +44,158 @@ Version 1.1 - 2001/06/27<br> Version 1.0 - 2001/01/31<br> <p>Initial release.</p> <hr> -<h2> -Table of Contents</h2> +<h2>Table of Contents</h2> <ul> <li><a href="#introduction">Introduction</a></li> <li><a href="#pvcs">Pvcs Task</a></li> </ul> -<hr> +<hr/> -<h2><a NAME="introduction">Introduction</a></h2> +<h2 id="introduction">Introduction</h2> The pvcs task allows the user of Ant to extract the latest edition of the source code from a PVCS repository. PVCS is a version control system developed by <a href="http://www.merant.com/products/pvcs">Merant</a>. <br> This version has been tested against PVCS version 6.5 and 6.6 under Windows and Solaris. -<hr> -<h2><a NAME="pvcs">Pvcs Task</a></h2> +<hr/> +<h2 id="pvcs">Pvcs Task</h2> <h3>Description</h3> The pvcs task is set to point at a PVCS repository and optionally a project within that repository, and can from that specification get the latest version of the files contained by the repository. -<h3> -Parameters</h3> +<h3>Parameters</h3> -<table BORDER CELLSPACING=0 CELLPADDING=2 > +<table> <tr> -<td VALIGN=TOP WIDTH="12%"><b>Attribute</b></td> +<td valign="top" width="12%"><b>Attribute</b></td> -<td VALIGN=TOP WIDTH="78%"><b>Description</b></td> +<td valign="top" width="78%"><b>Description</b></td> -<td VALIGN=TOP WIDTH="10%"><b>Required</b></td> +<td valign="top" width="10%"><b>Required</b></td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">repository</td> +<td valign="top" width="12%">repository</td> -<td VALIGN=TOP WIDTH="78%">The location of the repository (see your PVCS +<td valign="top" width="78%">The location of the repository (see your PVCS manuals)</td> -<td VALIGN=TOP WIDTH="10%">Yes</td> +<td valign="top" width="10%">Yes</td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">pvcsproject</td> +<td valign="top" width="12%">pvcsproject</td> -<td VALIGN=TOP WIDTH="78%">The project within the PVCS repository to extract +<td valign="top" width="78%">The project within the PVCS repository to extract files from ("/" is root project and that is default if this attribute isn't specified)</td> -<td VALIGN=TOP WIDTH="10%">No</td> +<td valign="top" width="10%">No</td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">label</td> +<td valign="top" width="12%">label</td> -<td VALIGN=TOP WIDTH="78%">Only files marked with this label are extracted.</td> +<td valign="top" width="78%">Only files marked with this label are extracted.</td> -<td VALIGN=TOP WIDTH="10%">No</td> +<td valign="top" width="10%">No</td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">promotiongroup</td> +<td valign="top" width="12%">promotiongroup</td> -<td VALIGN=TOP WIDTH="78%">Only files within this promotion group are extracted. Using +<td valign="top" width="78%">Only files within this promotion group are extracted. Using both the <i>label</i> and the <i>promotiongroup</i> tag will cause the files in the promotion group and with that label to be extracted. </td> -<td VALIGN=TOP WIDTH="10%">No</td> +<td valign="top" width="10%">No</td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">config</td> +<td valign="top" width="12%">config</td> -<td VALIGN=TOP WIDTH="78%">path of a non default .cfg file. +<td valign="top" width="78%">path of a non default .cfg file. Can be given absolute or relative to Ant's base directory. </td> -<td VALIGN=TOP WIDTH="10%">No</td> +<td valign="top" width="10%">No</td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">force</td> +<td valign="top" width="12%">force</td> -<td VALIGN=TOP WIDTH="78%">If set to <i>yes</i> all files that exists and are writable are overwritten. Default <i>no</i> causes the files that are writable to be ignored. This stops the PVCS command <i>get</i> to stop asking questions!</td> +<td valign="top" width="78%">If set to <i>yes</i> all files that exists and are writable are overwritten. Default <i>no</i> causes the files that are writable to be ignored. This stops the PVCS command <i>get</i> to stop asking questions!</td> -<td VALIGN=TOP WIDTH="10%">No</td> +<td valign="top" width="10%">No</td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">workspace</td> +<td valign="top" width="12%">workspace</td> -<td VALIGN=TOP WIDTH="78%">By specifying a workspace, the files are extracted to that location. A PVCS workspace is a +<td valign="top" width="78%">By specifying a workspace, the files are extracted to that location. A PVCS workspace is a name for a location of the workfiles and isn't as such the location itself. You define the location for a workspace using the PVCS GUI clients. If this isn't specified the default workspace for the current user is used.</td> -<td VALIGN=TOP WIDTH="10%">No</td> +<td valign="top" width="10%">No</td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">pvcsbin</td> +<td valign="top" width="12%">pvcsbin</td> -<td VALIGN=TOP WIDTH="78%">On some systems the PVCS executables <i>pcli</i> +<td valign="top" width="78%">On some systems the PVCS executables <i>pcli</i> and <i>get</i> are not found in the PATH. In such cases this attribute should be set to the bin directory of the PVCS installation containing the executables mentioned before. If this attribute isn't specified the tag expects the executables to be found using the PATH environment variable.</td> -<td VALIGN=TOP WIDTH="10%">No</td> +<td valign="top" width="10%">No</td> </tr> <tr> - <td VALIGN=TOP WIDTH="12%">ignorereturncode</td> - <td VALIGN=TOP WIDTH="78%">If set to <i>true</i> the return value from executing + <td valign="top" width="12%">ignorereturncode</td> + <td valign="top" width="78%">If set to <i>true</i> the return value from executing the pvcs commands are ignored.</td> - <td VALIGN=TOP WIDTH="10%">No</td> + <td valign="top" width="10%">No</td> </tr> <tr> - <td VALIGN=TOP WIDTH="12%">updateonly</td> - <td VALIGN=TOP WIDTH="78%">If set to <i>true</i> files are gotten only if + <td valign="top" width="12%">updateonly</td> + <td valign="top" width="78%">If set to <i>true</i> files are gotten only if newer than existing local files.</td> - <td VALIGN=TOP WIDTH="10%">No</td> + <td valign="top" width="10%">No</td> </tr> <tr> - <td valign="TOP">filenameformat</td> - <td valign="TOP">The format of your folder names in a + <td valign="top">filenameformat</td> + <td valign="top">The format of your folder names in a format suitable for <code>java.text.MessageFormat</code>. Defaults to <code>{0}-arc({1})</code>. Repositories where the archive extension is not <code>-arc</code> should set this.</td> - <td valign="TOP">No</td> + <td valign="top">No</td> </tr> <tr> - <td valign="TOP">linestart</td> - <td valign="TOP">Used to parse the output of the pcli + <td valign="top">linestart</td> + <td valign="top">Used to parse the output of the pcli command. It defaults to <code>"P:</code>. The parser already knows about / and \\, this property is useful in cases where the repository is accessed on a Windows platform via a drive letter mapping.</td> - <td valign="TOP">No</td> + <td valign="top">No</td> </tr> <tr> - <td valign="TOP">revision</td> - <td valign="TOP">Retrieve the specified revision.</td> - <td valign="TOP">No</td> + <td valign="top">revision</td> + <td valign="top">Retrieve the specified revision.</td> + <td valign="top">No</td> </tr> <tr> - <td valign="TOP">userid</td> - <td valign="TOP">Use the specified userid.</td> - <td valign="TOP">No</td> + <td valign="top">userid</td> + <td valign="top">Use the specified userid.</td> + <td valign="top">No</td> </tr> </table> -<h3><a name="nested">Nested Elements</a></h3> +<h3 id="nested">Nested Elements</h3> -<h3>pvcsproject element</h3> +<h4>pvcsproject element</h4> <p><code>pvcs</code> supports a nested <code><pvcsproject></code> element, that represents a project within the PVCS repository to extract files from. By nesting multiple @@ -210,21 +205,21 @@ specified.</p> <h3>Parameters</h3> -<table BORDER CELLSPACING=0 CELLPADDING=2 > +<table> <tr> -<td VALIGN=TOP WIDTH="12%"><b>Attribute</b></td> +<td valign="top" width="12%"><b>Attribute</b></td> -<td VALIGN=TOP WIDTH="78%"><b>Description</b></td> +<td valign="top" width="78%"><b>Description</b></td> -<td VALIGN=TOP WIDTH="10%"><b>Required</b></td> +<td valign="top" width="10%"><b>Required</b></td> </tr> <tr> -<td VALIGN=TOP WIDTH="12%">name</td> +<td valign="top" width="12%">name</td> -<td VALIGN=TOP WIDTH="78%">The name of the pvcs project</td> +<td valign="top" width="78%">The name of the pvcs project</td> -<td VALIGN=TOP WIDTH="10%">Yes</td> +<td valign="top" width="10%">Yes</td> </tr> </table> @@ -236,7 +231,7 @@ The following set-up extracts the latest version of the files in the pvcs reposi <!-- =================================================================== --> <target name="getlatest"> <pvcs repository="/mnt/pvcs" pvcsproject="/myprj"/> - </target></ul> + </target> </pre> <p>Now run:</p> <code>ant getlatest</code> @@ -267,7 +262,7 @@ repository from two projects using nested <code><pvcsproject></code> eleme <pvcsproject name="/myprj"/> <pvcsproject name="/myprj2"/> </pvcs> - </target></ul> + </target> </pre> <p>Now run:</p> <code>ant getlatest2</code> @@ -289,7 +284,7 @@ repository from two projects using nested <code><pvcsproject></code> eleme Total time: 22 seconds</pre> -<hr WIDTH="100%"> +<hr/> <p>PVCS is a registered trademark of MERANT.</p> </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/recorder.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/recorder.html b/manual/Tasks/recorder.html index dfbfc0d..5066887 100644 --- a/manual/Tasks/recorder.html +++ b/manual/Tasks/recorder.html @@ -24,7 +24,7 @@ <body> -<h2><a name="log">Record</a></h2> +<h2 id="log">Record</h2> <h3>Description</h3> <p>A recorder is a listener to the current build process that records the output to a file.</p> @@ -42,7 +42,7 @@ events (buildFinished, targetFinished and taskFinished), and is closed on a buildFinished event.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -115,7 +115,7 @@ recorders: one to file "records-simple.log" at logging level <code>inf <h3>Notes</h3> <p>There is some functionality that I would like to be able to add in the future. They include things like the following:</p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -164,9 +164,5 @@ future. They include things like the following:</p> </tr> </table> - - - - </body> </html> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/rename.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/rename.html b/manual/Tasks/rename.html index 330fbe3..d2442fd 100644 --- a/manual/Tasks/rename.html +++ b/manual/Tasks/rename.html @@ -24,13 +24,13 @@ <body> -<h2><a name="rename">Rename</a></h2> +<h2 id="rename">Rename</h2> <h3><i>Deprecated</i></h3> <p><i>This task has been deprecated. Use the Move task instead.</i></p> <h3>Description</h3> <p>Renames a given file.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -53,12 +53,10 @@ </tr> </table> <h3>Examples</h3> -<pre> <rename src="foo.jar" dest="${name}-${version}.jar"/></pre> +<pre> <rename src="foo.jar" dest="${name}-${version}.jar"/></pre> <p>Renames the file <code>foo.jar</code> to <code>${name}-${version}.jar</code> (assuming <code>name</code> and <code>version</code> being predefined properties). If a file named <code>${name}-${version}.jar</code> already exists, it will be removed prior to renaming <code>foo.jar</code>.</p> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/renameextensions.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/renameextensions.html b/manual/Tasks/renameextensions.html index ed3bfbb..d54d1fa 100644 --- a/manual/Tasks/renameextensions.html +++ b/manual/Tasks/renameextensions.html @@ -24,7 +24,7 @@ <body> -<h2><a name="renameexts">RenameExtensions</a></h2> +<h2 id="renameexts">RenameExtensions</h2> <h3><i>Deprecated</i></h3> <p><i>This task has been deprecated. Use the <a href="../Tasks/move.html">move</a> task with a <a href="../Types/mapper.html#glob-mapper">glob mapper</a> instead.</i></p> @@ -43,7 +43,7 @@ supports most attributes of <code><fileset></code> <code><include></code>, <code><exclude></code> and <code><patternset></code> elements.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -116,8 +116,5 @@ supports most attributes of <code><fileset></code> </p> </blockquote> - - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/replace.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/replace.html b/manual/Tasks/replace.html index 36204d0..ef8f183 100644 --- a/manual/Tasks/replace.html +++ b/manual/Tasks/replace.html @@ -24,19 +24,19 @@ <body> -<h2><a name="replace">Replace</a></h2> +<h2 id="replace">Replace</h2> <h3>Description</h3> -<p>Replace is a directory based task for replacing the occurrence of a given string with another string +<p>Replace is a directory based task for replacing the occurrence of a given string with another string in selected file.</p> <p>If you want to replace a text that crosses line boundaries, you must use a nested <code><replacetoken></code> element.</p> <p>The output file is only written if it differs from the existing file. This prevents spurious rebuilds based on unchanged files which -have been regenerated by this task.</p> +have been regenerated by this task.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -49,7 +49,7 @@ have been regenerated by this task.</p> </tr> <tr> <td valign="top">dir</td> - <td valign="top">The base directory to use when replacing a token in + <td valign="top">The base directory to use when replacing a token in multiple files.</td> </tr> <tr> @@ -72,8 +72,8 @@ have been regenerated by this task.</p> </tr> <tr> <td valign="top">summary</td> - <td valign="top">Indicates whether a summary of the replace operation - should be produced, detailing how many token occurrences + <td valign="top">Indicates whether a summary of the replace operation + should be produced, detailing how many token occurrences and files were processed </td> <td valign="top" align="center">No, by default no summary is produced</td> @@ -150,7 +150,7 @@ nested <code><include></code>, <code><exclude></code> and cross line boundaries, you can use nested elements to specify them.</p> <p>The elements support attributes:</p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -186,7 +186,7 @@ token]]></replacevalue> <h4>replacefilter</h4> <p>In addition to allowing for multiple replacements, optional nested <code><replacefilter></code> elements allow replacement values to be extracted from a property file. The name of this file is specified using the <code><replace></code> attribute <i>propertyFile</i>. </p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -214,20 +214,20 @@ token]]></replacevalue> </p> <h3>Examples</h3> <blockquote><pre> -<replace +<replace file="configure.sh" value="defaultvalue" propertyFile="src/name.properties"> - <replacefilter + <replacefilter token="@token1@"/> - <replacefilter - token="@token2@" + <replacefilter + token="@token2@" value="value2"/> - <replacefilter - token="@token3@" + <replacefilter + token="@token3@" property="property.key"/> <replacefilter> - <replacetoken>@token4@</replacetoken> + <replacetoken>@token4@</replacetoken> <replacevalue>value4</replacevalue> </replacefilter> </replace> @@ -239,4 +239,3 @@ token]]></replacevalue> </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/replaceregexp.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/replaceregexp.html b/manual/Tasks/replaceregexp.html index eed4c84..f0b612b 100644 --- a/manual/Tasks/replaceregexp.html +++ b/manual/Tasks/replaceregexp.html @@ -23,7 +23,7 @@ </head> <body> -<h2><a name="replaceregexp">ReplaceRegExp</a></h2> +<h2 id="replaceregexp">ReplaceRegExp</h2> <h3>Description</h3> <p>ReplaceRegExp is a directory based task for replacing the occurrence of a given regular expression with a substitution pattern @@ -31,16 +31,16 @@ in a selected file or set of files.</p> <p>The output file is only written if it differs from the existing file. This prevents spurious rebuilds based on unchanged files which -have been regenerated by this task.</p> +have been regenerated by this task.</p> <p>Similar to <a href="../Types/mapper.html#regexp-mapper">regexp type mappers</a> this task needs a supporting regular expression library and an implementation of <code>org.apache.tools.ant.util.regexp.Regexp</code>. -See details in the documentation of the <a href="../Types/regexp.html#implementation">Regexp Type</a>. </p> +See details in the documentation of the <a href="../Types/regexp.html#implementation">Regexp Type</a>.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -151,21 +151,20 @@ value, in all files ending in <code>.properties</code> in the current directory< </replaceregexp> </pre></blockquote> <p>replaces all whitespaces (blanks, tabs, etc) by one blank remaining the -line separator. So with input +line separator. So with input</p> <blockquote> <pre> <html> <body> -<<TAB>><h1> T E S T </h1> <<TAB>> +<<TAB>><h1> T E S T </h1> <<TAB>> <<TAB>> </body></html> </pre></blockquote> -would converted to +<p>would converted to</p> <blockquote> <pre> <html> <body> <h1> T E S T </h1> </body></html> </pre> </blockquote> -</p> <br><!-- small distance from code of the previous example --> <blockquote> @@ -174,12 +173,12 @@ would converted to </replaceregexp> </pre></blockquote> <p>replaces all <tt>\n</tt> markers (beware the quoting of the backslash) by a line break. -So with input +So with input</p> <blockquote> <pre> one\ntwo\nthree </pre></blockquote> -would converted to +<p>would converted to</p> <blockquote> <pre> one @@ -187,7 +186,7 @@ two three </pre> </blockquote> -Beware that inserting line breaks could break file syntax. For example in xml: +<p>Beware that inserting line breaks could break file syntax. For example in xml:</p> <blockquote> <pre> <root> @@ -196,10 +195,6 @@ Beware that inserting line breaks could break file syntax. For example in xml: </root> </pre> </blockquote> -</p> - - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/resourcecount.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/resourcecount.html b/manual/Tasks/resourcecount.html index a34506b..c463631 100644 --- a/manual/Tasks/resourcecount.html +++ b/manual/Tasks/resourcecount.html @@ -31,7 +31,7 @@ <a href="../Types/resources.html#collection">Resource Collection</a>. Can also be used as a condition. <b>Since Apache Ant 1.7</b></p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -101,7 +101,5 @@ in the property named <i>count.foo</i>.</p> <p>Stores the number of lines of the current buildfile in the property <tt>file.lines</tt>. Requires Ant 1.7.1+ as <concat> has to be resource.</p> - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/retry.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/retry.html b/manual/Tasks/retry.html index af68d40..360019f 100644 --- a/manual/Tasks/retry.html +++ b/manual/Tasks/retry.html @@ -29,18 +29,18 @@ its <em>retrycount</em> has been exceeded. If this happens a BuildException is t <em>Since Apache Ant 1.7.1</em></p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> - <tr> +<table> + <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> <td align="center" valign="top"><b>Required</b></td> </tr> - <tr> + <tr> <td valign="top">retrycount</td> <td valign="top">number of times to attempt to execute the nested task</td> <td valign="top" align="center">Yes</td> </tr> - <tr> + <tr> <td valign="top">retrydelay</td> <td valign="top">number of milliseconds to wait between retry attempts task. <em>Since Apache Ant 1.8.3</em></td> @@ -52,7 +52,7 @@ its <em>retrycount</em> has been exceeded. If this happens a BuildException is t <h3>Example</h3> <pre> <retry retrycount="3"> - <get src="http://www.unreliable-server.com/unreliable.tar.gz" + <get src="http://www.unreliable-server.com/unreliable.tar.gz" dest="/home/retry/unreliable.tar.gz" /> </retry> </pre> http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/rexec.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/rexec.html b/manual/Tasks/rexec.html index 02f6fe2..2aed66a 100644 --- a/manual/Tasks/rexec.html +++ b/manual/Tasks/rexec.html @@ -24,7 +24,7 @@ <body> -<h2><a name="rexec">RExec</a></h2> +<h2 id="rexec">RExec</h2> <h3>Description</h3> Task to automate a remote rexec session. Just like the Telnet task, it uses nested <tt><read></tt> to indicate strings to wait for, and @@ -39,7 +39,7 @@ attribute. If you use the command attribute, you must use the username and password attributes as well.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <th>Attribute</th> <th>Values</th> @@ -76,16 +76,16 @@ username and password attributes as well.</p> <td>No</td> </tr> </table> -<h3><a name="nested">Nested Elements</a></h3> +<h3 id="nested">Nested Elements</h3> The input to send to the server, and responses to wait for, are -described as nested elements. +described as nested elements. <h4>read</h4> <p>declare (as a text child of this element) a string to wait for. The element supports the timeout attribute, which overrides any timeout specified for the task as a whole. It also has a <tt>string</tt> -attribute, which is an alternative to specifying the string as +attribute, which is an alternative to specifying the string as a text element. </p> <i>It is not necessary to declare a closing <code><read></code> element like for the Telnet task. The connection is not broken until the command has completed and @@ -94,7 +94,7 @@ the input stream (output of the command) is terminated. <h4>write</h4> <p>describes the text to send to the server. The <tt>echo</tt> boolean -attribute controls whether the string is echoed to the local log; +attribute controls whether the string is echoed to the local log; this is "true" by default </p> <h3>Example</h3> @@ -109,8 +109,5 @@ The task can be used with other ports as well: <rexec port="80" userid="bob" password="badpass" server="localhost" command="ls"/> </pre></blockquote> - - </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/rmic.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/rmic.html b/manual/Tasks/rmic.html index fa927bf..9c59c0c 100644 --- a/manual/Tasks/rmic.html +++ b/manual/Tasks/rmic.html @@ -24,7 +24,7 @@ <body> -<h2><a name="rmic">Rmic</a></h2> +<h2 id="rmic">Rmic</h2> <h3>Description</h3> <p>Runs the rmic compiler for a certain class.</p> <p>Rmic can be run on a single class (as specified with the classname @@ -47,10 +47,9 @@ supports most attributes of <code><fileset></code> (<code>dir</code> becomes <code>base</code>) as well as the nested <code><include></code>, <code><exclude></code> and <code><patternset></code> elements.</p> -<p>It is possible to use different compilers. This can be selected +<p id="compilervalues">It is possible to use different compilers. This can be selected with the "build.rmic" property, the <code>compiler</code> -attribute. or a nested element. -<a name="compilervalues">Here are the choices</a>:</p> +attribute, or a nested element. Here are the choices:</p> <ul> <li>default -the default compiler (kaffe, sun or forking) for the platform. <li>sun (the standard compiler of the JDK < JDK 9)</li> @@ -62,12 +61,11 @@ attribute. or a nested element. <li>xnew - the sun compiler forked into a separate process, with the -Xnew option (since Ant 1.7). This is the most reliable way to use -Xnew. - <br></br>JDK9 has removed support for -Xnew and starting with Ant - 1.9.8 this option will be rejected by ant when running on JDK9.</li> - <li> "" (empty string). This has the same behaviour as not setting the compiler attribute. + <br>JDK 9 has removed support for -Xnew and starting with Ant + 1.9.8 this option will be rejected by Ant when running on JDK 9.</li> + <li> "" (empty string). This has the same behaviour as not setting the compiler attribute. First the value of <tt>build.rmic</tt> is used if defined, and if not, the default - for the platform is chosen. If build.rmic is set to this, you get the default. - + for the platform is chosen. If build.rmic is set to this, you get the default.</li> </ul> <p>The <a href="http://dione.zcu.cz/~toman40/miniRMI/">miniRMI</a> @@ -75,7 +73,7 @@ project contains a compiler implementation for this task as well, please consult miniRMI's documentation to learn how to use it.</p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -113,9 +111,9 @@ please consult miniRMI's documentation to learn how to use it.</p> <td valign="top">Specify the JDK version for the generated stub code. Specify "1.1" to pass the "-v1.1" option to rmic, "1.2" for -v12, compat for -vcompat. <br> - Since Ant1.7, if you do not specify a version, and do not ask + <em>Since Ant 1.7</em>, if you do not specify a version, and do not ask for iiop or idl files, "compat" is selected. - + </td> <td align="center" valign="top">No, default="compat"</td> </tr> @@ -162,7 +160,7 @@ please consult miniRMI's documentation to learn how to use it.</p> </tr> <tr> <td valign="top">verify</td> - <td valign="top">check that classes implement Remote before handing them + <td valign="top">check that classes implement Remote before handing them to rmic (default is false)</td> <td align="center" valign="top">No</td> </tr> @@ -192,13 +190,13 @@ please consult miniRMI's documentation to learn how to use it.</p> <td align="center" valign="top">No</td> </tr> <tr> - <td valign="top">includeAntRuntime</td> + <td valign="top">includeAntRuntime</td> <td valign="top">whether to include the Ant run-time libraries; defaults to <code>yes</code>.</td> <td align="center" valign="top">No</td> </tr> <tr> - <td valign="top">includeJavaRuntime</td> + <td valign="top">includeJavaRuntime</td> <td valign="top">whether to include the default run-time libraries from the executing VM; defaults to <code>no</code>.</td> <td align="center" valign="top">No</td> @@ -237,7 +235,7 @@ please consult miniRMI's documentation to learn how to use it.</p> </tr> </table> -<p><a name="footnote-1">*1</a>: +<p id="footnote-1">*1:</p> <ul> <li>Maintaining compatibility, <code>base</code>, when specified by itself, serves as both the parent directory for any source files @@ -249,7 +247,6 @@ please consult miniRMI's documentation to learn how to use it.</p> must be specified and exist, or a runtime error will occur.</li> </ul> -</p> <h3>Parameters specified as nested elements</h3> <h4>classpath and extdirs</h4> @@ -265,7 +262,7 @@ are specified like <a href="../using.html#arg">Command-line Arguments</a> but have an additional attribute that can be used to enable arguments only if a given compiler implementation will be used.</p> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td width="12%" valign="top"><b>Attribute</b></td> <td width="78%" valign="top"><b>Description</b></td> @@ -354,4 +351,3 @@ files below <code>${build}/classes</code> whose classname starts with </body> </html> - http://git-wip-us.apache.org/repos/asf/ant/blob/a04350e0/manual/Tasks/rpm.html ---------------------------------------------------------------------- diff --git a/manual/Tasks/rpm.html b/manual/Tasks/rpm.html index 691d391..c430f62 100644 --- a/manual/Tasks/rpm.html +++ b/manual/Tasks/rpm.html @@ -24,7 +24,7 @@ <body> -<h2><a name="rpm">Rpm</a></h2> +<h2 id="rpm">Rpm</h2> <h3>Description</h3> <p> A basic task for invoking the rpm executable to build a RedHat Package Manager Linux installation @@ -32,7 +32,7 @@ </p> <h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> +<table> <tr> <td valign="top"><b>Attribute</b></td> <td valign="top"><b>Description</b></td> @@ -73,7 +73,7 @@ </tr> <tr> <td valign="top">removeSource</td> - <td valign="top">Flag (optional, default=false) + <td valign="top">Flag (optional, default=false) to remove the sources after the build. See the the <tt>--rmsource</tt> option of rpmbuild.</td> <td align="center" valign="top">No</td> @@ -104,7 +104,7 @@ </tr> <tr> <td valign="top">failOnError</td> - <td valign="top">Stop the buildprocess if the RPM build command exits with + <td valign="top">Stop the buildprocess if the RPM build command exits with a non-zero returncode. Defaults to false</td> <td align="center" valign="top">No</td> </tr> @@ -120,4 +120,3 @@ </pre> </body> </html> -
