ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugène Adell <eugene.ad...@gmail.com>
Subject Re: [ant] branch master updated: Incorrect HTML
Date Wed, 06 Mar 2019 07:20:10 GMT
Hello Jaikiran,

if you are changing the doc, there's one bug that I opened a couple of
days ago ( https://bz.apache.org/bugzilla/show_bug.cgi?id=63226 ) and
which is trivial. Maybe could you have a look ?

best regards
E.A.

Le mer. 6 mars 2019 à 07:51, <jaikiran@apache.org> a écrit :
>
> This is an automated email from the ASF dual-hosted git repository.
>
> jaikiran pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/ant.git
>
>
> The following commit(s) were added to refs/heads/master by this push:
>      new 9e1bd14  Incorrect HTML
> 9e1bd14 is described below
>
> commit 9e1bd1445d4269320e861ed05845e48e57f6f762
> Author: twogee <g.grigelionis@gmail.com>
> AuthorDate: Fri Mar 1 22:34:05 2019 +0100
>
>     Incorrect HTML
> ---
>  manual/Tasks/conditions.html                           |  3 +--
>  manual/Tasks/ejb.html                                  |  1 -
>  manual/Tasks/javadoc.html                              | 14 +++++++-------
>  manual/Tasks/scriptdef.html                            |  2 +-
>  manual/Tasks/serverdeploy.html                         |  6 +++---
>  manual/Tasks/sshsession.html                           |  1 -
>  manual/Tasks/subant.html                               |  2 +-
>  manual/Tasks/wljspc.html                               |  2 +-
>  manual/cover.html                                      |  2 +-
>  manual/properties.html                                 |  2 +-
>  manual/targets.html                                    |  4 ++--
>  manual/tutorial-tasks-filesets-properties.html         |  9 +++------
>  src/tutorial/tasks-filesets-properties/final/find.html |  6 +++---
>  13 files changed, 24 insertions(+), 30 deletions(-)
>
> diff --git a/manual/Tasks/conditions.html b/manual/Tasks/conditions.html
> index c494a30..f995e8e 100644
> --- a/manual/Tasks/conditions.html
> +++ b/manual/Tasks/conditions.html
> @@ -217,11 +217,10 @@ URL. By default, HTTP responses errors of 400 or greater are viewed
as invalid.<
>    </tr>
>    <tr>
>      <td>readTimeout</td>
> -    <td>Read timeout, in milli second, that will be used while reading from the
target URL.
> +    <td>Read timeout, in milliseconds, that will be used while reading from the
target URL.
>        Accepts any value &ge; 0. Value of 0 implies wait indefinitely. Value &lt;
0 will be silently
>        ignored.<br/>
>        <em>since Ant 1.10.6</em></td>
> -    </td>
>      <td>No; defaults to <q>0</q></td>
>    </tr>
>  </table>
> diff --git a/manual/Tasks/ejb.html b/manual/Tasks/ejb.html
> index 9fa87b5..f5bf654 100644
> --- a/manual/Tasks/ejb.html
> +++ b/manual/Tasks/ejb.html
> @@ -1523,7 +1523,6 @@ example, <var>suffix</var>). Refer to the appropriate
documentation for more det
>        this if you prefer to run GenIC at deployment time.</td>
>        <td>No; defaults to <q>false</q></td>
>      </tr>
> -    <tr>
>    </tbody>
>  </table>
>
> diff --git a/manual/Tasks/javadoc.html b/manual/Tasks/javadoc.html
> index 2f0abe3..0ba51ae 100644
> --- a/manual/Tasks/javadoc.html
> +++ b/manual/Tasks/javadoc.html
> @@ -608,11 +608,11 @@ Same as for <code>package</code>.
>  <p>Same as one entry in the list given by <code>modulenames</code>.</p>
>
>  <h5>Parameters</h5>
> -<table width="90%" border="1" cellpadding="2" cellspacing="0">
> +<table class="attr">
>    <tr>
> -    <td scope="col"><b>Attribute</b></td>
> -    <td scope="col"><b>Description</b></td>
> -    <td scope="col"><b>Required</b></td>
> +    <th scope="col">Attribute</th>
> +    <th scope="col">Description</th>
> +    <th scope="col">Required</th>
>    </tr>
>    <tr>
>      <td>name</td>
> @@ -871,7 +871,7 @@ See <a href="../using.html#arg">Command line arguments</a>.</p>
>    &lt;group title=&quot;Group 2 Packages&quot; packages=&quot;com.dummy.test.b*:com.dummy.test.c*&quot;/&gt;
>    &lt;link offline=&quot;true&quot; href=&quot;https://docs.oracle.com/javase/8/docs/api/&quot;
packagelistLoc=&quot;C:\tmp&quot;/&gt;
>    &lt;link href=&quot;https://docs.oracle.com/javase/8/docs/api/&quot;/&gt;
> -&lt/javadoc&gt;</pre>
> +&lt;/javadoc&gt;</pre>
>
>  <p>is the same as</p>
>
> @@ -894,7 +894,7 @@ See <a href="../using.html#arg">Command line arguments</a>.</p>
>    &lt;group title=&quot;Group 2 Packages&quot; packages=&quot;com.dummy.test.b*:com.dummy.test.c*&quot;/&gt;
>    &lt;link offline=&quot;true&quot; href=&quot;https://docs.oracle.com/javase/8/docs/api/&quot;
packagelistLoc=&quot;C:\tmp&quot;/&gt;
>    &lt;link href=&quot;https://docs.oracle.com/javase/8/docs/api/&quot;/&gt;
> -&lt/javadoc&gt;</pre>
> +&lt;/javadoc&gt;</pre>
>
>  <p>or</p>
>
> @@ -917,7 +917,7 @@ See <a href="../using.html#arg">Command line arguments</a>.</p>
>    &lt;group title=&quot;Group 2 Packages&quot; packages=&quot;com.dummy.test.b*:com.dummy.test.c*&quot;/&gt;
>    &lt;link offline=&quot;true&quot; href=&quot;https://docs.oracle.com/javase/8/docs/api/&quot;
packagelistLoc=&quot;C:\tmp&quot;/&gt;
>    &lt;link href=&quot;https://docs.oracle.com/javase/8/docs/api/&quot;/&gt;
> -&lt/javadoc&gt;</pre>
> +&lt;/javadoc&gt;</pre>
>
>  </body>
>  </html>
> diff --git a/manual/Tasks/scriptdef.html b/manual/Tasks/scriptdef.html
> index 384d6c5..798d5c8 100644
> --- a/manual/Tasks/scriptdef.html
> +++ b/manual/Tasks/scriptdef.html
> @@ -226,7 +226,7 @@ through them</p>
>          + filesets.get(i).getDir(project));
>      }
>    ]]&gt;
> -&lt;/scriptdef&gt
> +&lt;/scriptdef&gt;
>
>  &lt;scripttest2&gt;
>    &lt;fileset dir=&quot;src&quot;/&gt;
> diff --git a/manual/Tasks/serverdeploy.html b/manual/Tasks/serverdeploy.html
> index 545f0b1..a09d756 100644
> --- a/manual/Tasks/serverdeploy.html
> +++ b/manual/Tasks/serverdeploy.html
> @@ -221,7 +221,7 @@ server:</p>
>  server:</p>
>
>  <pre>
> -&lt;serverdeploy action=&quot;delete&quot; source=&quot;${lib.dir}/ejb_myApp.jar&quot;/&gt
> +&lt;serverdeploy action=&quot;delete&quot; source=&quot;${lib.dir}/ejb_myApp.jar&quot;/&gt;
>      &lt;weblogic application=&quot;myapp&quot;
>                server=&quot;t3://myserver:7001&quot;
>                classpath=&quot;${weblogic.home}/lib/weblogic.jar&quot;
> @@ -292,9 +292,9 @@ server:</p>
>  server and a WebLogic server:</p>
>
>  <pre>
> -&lt;serverdeploy action=&quot;list&quot;/&gt
> +&lt;serverdeploy action=&quot;list&quot;/&gt;
>      &lt;jonas jonasroot=&quot;${jonas.root}&quot; orb=&quot;JEREMIE&quot;/&gt;
> -    &lt;weblogic application=&quot;myapp&quot
> +    &lt;weblogic application=&quot;myapp&quot;
>                server=&quot;t3://myserver:7001&quot;
>                classpath=&quot;${weblogic.home}/lib/weblogic.jar&quot;
>                username=&quot;${user.name}&quot;
> diff --git a/manual/Tasks/sshsession.html b/manual/Tasks/sshsession.html
> index f517313..b276337 100644
> --- a/manual/Tasks/sshsession.html
> +++ b/manual/Tasks/sshsession.html
> @@ -62,7 +62,6 @@ JSCh earlier than 0.1.28.</p>
>      <td>No; defaults to <q>22</q></td>
>    </tr>
>    <tr>
> -  <tr>
>      <td>localtunnels</td>
>      <td>A comma-delimited list of colon-delimited <samp>lport:rhost:rport</samp>
triplets defining
>        local port forwarding.<br/>If nested <a href="#LocalTunnel">localtunnel</a>
elements are also
> diff --git a/manual/Tasks/subant.html b/manual/Tasks/subant.html
> index b4834ad..32d81e0 100644
> --- a/manual/Tasks/subant.html
> +++ b/manual/Tasks/subant.html
> @@ -33,7 +33,7 @@ same build file it is part of.</strong></p>
>  <p><code>subant</code> uses <code>ant</code> internally
so many things said
>  in <a href="ant.html"><code>ant</code>'s manual page</a> apply
here as well.</p>
>
> -<h3 id="Use with directories">Use with directories</h3>
> +<h3 id="Use-with-directories">Use with directories</h3>
>  <p><code>subant</code> can be used with directory sets to execute
a build from different
>  directories.  2 different options are offered:</p>
>  <ul>
> diff --git a/manual/Tasks/wljspc.html b/manual/Tasks/wljspc.html
> index cef783d..d42b99f 100644
> --- a/manual/Tasks/wljspc.html
> +++ b/manual/Tasks/wljspc.html
> @@ -69,7 +69,7 @@ for dirname/fileName.jsp</samp></p>
>  <h3>Example</h3>
>  <pre>
>  &lt;target name="jspcompile" depends="compile"&gt;
> -  &lt;wljspc src="c:\\weblogic\\myserver\\public_html" dest="c:\\weblogic\\myserver\\serverclasses"
package="myapp.jsp"&gt
> +  &lt;wljspc src="c:\\weblogic\\myserver\\public_html" dest="c:\\weblogic\\myserver\\serverclasses"
package="myapp.jsp"&gt;
>      &lt;classpath&gt;
>        &lt;pathelement location="${weblogic.classpath}"/&gt;
>        &lt;pathelement path="${compile.dest}"/&gt;
> diff --git a/manual/cover.html b/manual/cover.html
> index 837f635..df6788f 100644
> --- a/manual/cover.html
> +++ b/manual/cover.html
> @@ -34,7 +34,7 @@
>    <p>Ant's manual and API documentation is part of the <a href="https://ant.apache.org/bindownload.cgi"
>       target="_top">binary</a> distributions or available as a
>       separate <a href="https://ant.apache.org/manualdownload.cgi" target="_top">archive</a>.
 Manuals for older releases
> -     are available for download <a href="https://ant.apache.org/bindownload.cgi#Old
Ant Releases" target="_top">as
> +     are available for download <a href="https://ant.apache.org/bindownload.cgi#Old%20Ant%20Releases"
target="_top">as
>       well</a>.</p>
>
>    <p class="center">Apache Ant, Apache Ivy, Ant, Ivy, Apache, the Apache feather
logo, and the Apache Ant project logos
> diff --git a/manual/properties.html b/manual/properties.html
> index 1d7119d..21958a6 100644
> --- a/manual/properties.html
> +++ b/manual/properties.html
> @@ -165,7 +165,7 @@ public class DefaultExpander implements PropertyExpander {
>          int index = pos.getIndex();
>          if (s.indexOf("${", index) == index) {
>              int end = s.indexOf('}', index);
> -            if (end < 0) {
> +            if (end &lt; 0) {
>                  throw new BuildException("Syntax error in property: " + s);
>              }
>              int start = index + 2;
> diff --git a/manual/targets.html b/manual/targets.html
> index 2b01f1c..4568540 100644
> --- a/manual/targets.html
> +++ b/manual/targets.html
> @@ -96,7 +96,7 @@
>  <pre>
>  &lt;target name="myTarget" depends="myTarget.check" if="myTarget.run"&gt;
>      &lt;echo&gt;Files foo.txt and bar.txt are present.&lt;/echo&gt;
> -&lt/target&gt;
> +&lt;/target&gt;
>
>  &lt;target name="myTarget.check"&gt;
>      &lt;condition property="myTarget.run"&gt;
> @@ -105,7 +105,7 @@
>              &lt;available file="bar.txt"/&gt;
>          &lt;/and&gt;
>      &lt;/condition&gt;
> -&lt/target&gt;</pre>
> +&lt;/target&gt;</pre>
>
>    <pre><b>Call-Graph:</b>  myTarget.check &rarr; maybe(myTarget)</pre>
>
> diff --git a/manual/tutorial-tasks-filesets-properties.html b/manual/tutorial-tasks-filesets-properties.html
> index a211826..22946fd 100644
> --- a/manual/tutorial-tasks-filesets-properties.html
> +++ b/manual/tutorial-tasks-filesets-properties.html
> @@ -806,21 +806,18 @@ open a GitHub pull request. For both we need some information:</p>
>
>  <table>
>  <tr>
> -<!-- this is an empty "table head" -->
> -</tr>
> -<tr>
> -  <th scope="col">subject</th>
> +  <th scope="row">subject</th>
>    <td><em>short description</em></td>
>    <td>Task for finding files in a path</td>
>  </tr>
>  <tr>
> -  <th scope="col">body</th>
> +  <th scope="row">body</th>
>    <td><em>more details about the path</em></td>
>    <td>This new task looks inside a nested <code>&lt;path/&gt;</code>
for occurrences of a file and stores all locations
>        as a property. See the included manual for details.</td>
>  </tr>
>  <tr>
> -  <th scope="col">pull request reference</th>
> +  <th scope="row">pull request reference</th>
>    <td><em>GitHub pull request URL</em></td>
>    <td>https://github.com/apache/ant/pull/0</td>
>  </tr>
> diff --git a/src/tutorial/tasks-filesets-properties/final/find.html b/src/tutorial/tasks-filesets-properties/final/find.html
> index 19e4cb9..8c1f21f 100644
> --- a/src/tutorial/tasks-filesets-properties/final/find.html
> +++ b/src/tutorial/tasks-filesets-properties/final/find.html
> @@ -31,9 +31,9 @@ If delimiter is set this task returns all found locations.</p>
>  <h3>Parameters</h3>
>  <table class="attr">
>    <tr>
> -    <td><b>Attribute</b></td>
> -    <td><b>Description</b></td>
> -    <td><b>Required</b></td>
> +    <th scope="col">Attribute</th>
> +    <th scope="col">Description</th>
> +    <th scope="col">Required</th>
>    </tr>
>    <tr>
>      <td>file</td>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message