Browse Source

strip trailing whitespace

master
Stefan Bodewig 7 years ago
parent
commit
7cdc6d19e5
2 changed files with 52 additions and 52 deletions
  1. +35
    -35
      WHATSNEW
  2. +17
    -17
      manual/Tasks/symlink.html

+ 35
- 35
WHATSNEW View File

@@ -17,18 +17,18 @@ Fixed bugs:
* bootstrapping Ant on Windows failed * bootstrapping Ant on Windows failed
Bugzilla Report 61027 Bugzilla Report 61027


* Fixed the issue where the SCP based tasks would try to change
* Fixed the issue where the SCP based tasks would try to change
the permissions on the parent directory of a transferred file, the permissions on the parent directory of a transferred file,
instead of changing it on the transferred file itself. instead of changing it on the transferred file itself.
Bugzilla Reports 59648 and 43271 Bugzilla Reports 59648 and 43271


* Fixed the issue where the source file being copied could end
up being corrupted if the target of the copy happened to be
* Fixed the issue where the source file being copied could end
up being corrupted if the target of the copy happened to be
the same source file (symlinked back to itself). the same source file (symlinked back to itself).
Bugzilla Report 60644 Bugzilla Report 60644


* Fixed the issue where symlink creation with "overwrite=false", * Fixed the issue where symlink creation with "overwrite=false",
on existing symlink whose target was a directory, would end
on existing symlink whose target was a directory, would end
up creating a new symlink under the target directory. up creating a new symlink under the target directory.
Bugzilla Report 58683 Bugzilla Report 58683


@@ -66,15 +66,15 @@ Other changes:
* Bugzilla Report 58589 - SCP task, when configured to use SFTP * Bugzilla Report 58589 - SCP task, when configured to use SFTP
protocol, now preserves last modified timestamp on files that protocol, now preserves last modified timestamp on files that
it uploads, if the preserveLastModified attribute is set to it uploads, if the preserveLastModified attribute is set to
true for that task
true for that task


* zip and the related tasks can now set the modfication time of all * zip and the related tasks can now set the modfication time of all
entries to a fixed timestamp. entries to a fixed timestamp.
Github Pull Request #36 Github Pull Request #36


* Bugzilla report 61718 - Jsch library dependency has now been * Bugzilla report 61718 - Jsch library dependency has now been
upgraded to 0.1.54. Jsch is the library behind the sshexec
and scp Ant tasks.
upgraded to 0.1.54. Jsch is the library behind the sshexec
and scp Ant tasks.


* Added a new <javaversion> condition. * Added a new <javaversion> condition.


@@ -820,11 +820,11 @@ Fixed bugs:


* Updated documentation to fix spelling errors / broken links. * Updated documentation to fix spelling errors / broken links.
Bugzilla Reports 53215, 53291, 53202 Bugzilla Reports 53215, 53291, 53202
* Unable to override system properties. It was not possible not to override * Unable to override system properties. It was not possible not to override
system properties from the command line (or from a property file). system properties from the command line (or from a property file).
Bugzilla Report 51792 Bugzilla Report 51792
* <javac> by default fails when run on JDK 8. * <javac> by default fails when run on JDK 8.
Bugzilla Report 53347. Bugzilla Report 53347.


@@ -1001,7 +1001,7 @@ Fixed bugs:
* Exec task may mix the stderr and stdout output while logging it * Exec task may mix the stderr and stdout output while logging it
Bugzilla Report 50507. Bugzilla Report 50507.


* Missing space between "finished" and timestamp in task/target
* Missing space between "finished" and timestamp in task/target
finish message from ProfileLogger. finish message from ProfileLogger.
Bugzilla Report 51109. Bugzilla Report 51109.


@@ -1015,10 +1015,10 @@ Fixed bugs:
Bugzilla Report 42696. Bugzilla Report 42696.


* quiet attribute added to the copy and move tasks, to be used together * quiet attribute added to the copy and move tasks, to be used together
with failonerror=false, so warnings won't get logged
with failonerror=false, so warnings won't get logged
Bugzilla Report 48789. Bugzilla Report 48789.


* System.in was closed and not readable anymore by the DefaultInputHandler
* System.in was closed and not readable anymore by the DefaultInputHandler
when Ant is used via its Java API. when Ant is used via its Java API.
Bugzilla Report 51161 Bugzilla Report 51161


@@ -1182,10 +1182,10 @@ Changes that could break older environments:
Fixed bugs: Fixed bugs:
----------- -----------


* hostinfo now prefers addresses with a hostname over addresses without
* hostinfo now prefers addresses with a hostname over addresses without
a hostname, provided the addresses have the same scope. a hostname, provided the addresses have the same scope.
For local lookup, no IP address will be put in NAME / DOMAIN anymore. For local lookup, no IP address will be put in NAME / DOMAIN anymore.
For remote lookup, if a host name was provided and only an IP address is
For remote lookup, if a host name was provided and only an IP address is
found, the IP address will no longer overwrite the host name provided to the found, the IP address will no longer overwrite the host name provided to the
task. task.
Bugzilla Report 49513 Bugzilla Report 49513
@@ -1193,8 +1193,8 @@ Fixed bugs:
* mmap-based file copy problems under JDK 1.4 on Linux. * mmap-based file copy problems under JDK 1.4 on Linux.
Bugzilla Report 49430. Bugzilla Report 49430.


* The Sun JVM tries to mmap the entire file during a copy.
For large files this is not feasible.
* The Sun JVM tries to mmap the entire file during a copy.
For large files this is not feasible.
We now explicitly request to copy at most 16 MiB per request. We now explicitly request to copy at most 16 MiB per request.
Bugzilla Report 49326. Bugzilla Report 49326.


@@ -1347,7 +1347,7 @@ Other changes:
The wildcards are not expanded or even evaluated by Ant and will be The wildcards are not expanded or even evaluated by Ant and will be
used literally. The resulting path may be unusable as a CLASSPATH used literally. The resulting path may be unusable as a CLASSPATH
for Java versions prior to Java6 and likely doesn't mean anything for Java versions prior to Java6 and likely doesn't mean anything
when used in any other way than a CLASSPATH for a forked Java VM.
when used in any other way than a CLASSPATH for a forked Java VM.
Bugzilla Report 46842. Bugzilla Report 46842.


* A new attribute allows targets to deal with nonexistent extension * A new attribute allows targets to deal with nonexistent extension
@@ -1417,7 +1417,7 @@ Other changes:
should also benefit any operation that scans directories in Ant. should also benefit any operation that scans directories in Ant.
Bugzilla Report 50200. Bugzilla Report 50200.


Changes from Ant 1.8.0 TO Ant 1.8.1
Changes from Ant 1.8.0 TO Ant 1.8.1
=================================== ===================================


Changes that could break older environments: Changes that could break older environments:
@@ -1477,7 +1477,7 @@ Fixed bugs:
1.7.1 1.7.1
Bugzilla Report 48853 Bugzilla Report 48853


* ANT_CMD_LINE_ARGS are rippling through lower level Ant usage
* ANT_CMD_LINE_ARGS are rippling through lower level Ant usage
Bugzilla Report 48876 Bugzilla Report 48876


* email : IO error sending mail with plain mimetype * email : IO error sending mail with plain mimetype
@@ -1541,7 +1541,7 @@ Other changes:
equals condition allowed Object args, but Ant 1.8.x+ property equals condition allowed Object args, but Ant 1.8.x+ property
evaluation may yield values of any type. evaluation may yield values of any type.


* BuildFileTest.assertPropertyUnset() fails with a slightly more
* BuildFileTest.assertPropertyUnset() fails with a slightly more
meaningful error message meaningful error message
Bugzilla Report 48834 Bugzilla Report 48834


@@ -1581,7 +1581,7 @@ Fixed bugs:
* stack traces were not reported at all by <junit/> * stack traces were not reported at all by <junit/>
when filtertrace="on", which is the default. when filtertrace="on", which is the default.


* ant.bat can now also process the -noclasspath switch when it is
* ant.bat can now also process the -noclasspath switch when it is
the first switch on a command line. the first switch on a command line.
Bugzilla Report 48186. Bugzilla Report 48186.


@@ -1777,7 +1777,7 @@ Changes that could break older environments:
* A new property syntax can be used to set attributes from * A new property syntax can be used to set attributes from
references: ${ant.ref:some-reference} references: ${ant.ref:some-reference}


In most cases this will yield the exact same result as
In most cases this will yield the exact same result as
${toString:some-reference} - only when an attribute setter method ${toString:some-reference} - only when an attribute setter method
accepts an object type other than string and the project's accepts an object type other than string and the project's
reference is an Object of matching type the new syntax will pass in reference is an Object of matching type the new syntax will pass in
@@ -1814,12 +1814,12 @@ Fixed bugs:
* RPM task needed an inserted space between the define and the value. * RPM task needed an inserted space between the define and the value.
Bugzilla Report 46659. Bugzilla Report 46659.


* Got rid of deadlock between in, out and err in the Redirector.
* Got rid of deadlock between in, out and err in the Redirector.
Bugzilla Report 44544. Bugzilla Report 44544.


* Caused by AssertionError no longer filtered. * Caused by AssertionError no longer filtered.
Bugzilla Report 45631. Bugzilla Report 45631.
* <zip> would sometimes recreate JARs unnecessarily. * <zip> would sometimes recreate JARs unnecessarily.
Bugzilla Report 45902. Bugzilla Report 45902.


@@ -1869,7 +1869,7 @@ Fixed bugs:
* <sql> would fail if the executed statement didn't return a result * <sql> would fail if the executed statement didn't return a result
set with some JDBC driver that dissalow Statement.getResultSet to set with some JDBC driver that dissalow Statement.getResultSet to
be called in such a situation. be called in such a situation.
Bugzilla Report 36265
Bugzilla Report 36265


* if the executed statement in <sql> returned a result set and an * if the executed statement in <sql> returned a result set and an
update count, the count would be lost. update count, the count would be lost.
@@ -2076,7 +2076,7 @@ Fixed bugs:
Bugzilla Report 29731. Bugzilla Report 29731.


* <record> didn't work properly with nested builds. * <record> didn't work properly with nested builds.
Bugzilla Report 41368.
Bugzilla Report 41368.


* <jar> with filesetmanifest different from skip didn't work if the * <jar> with filesetmanifest different from skip didn't work if the
update attribute has been set to true. update attribute has been set to true.
@@ -2130,7 +2130,7 @@ Fixed bugs:
* The tar task failed to recognize that the archive had to be * The tar task failed to recognize that the archive had to be
(re-)created in some cases where the sources are filesystem based (re-)created in some cases where the sources are filesystem based
resources but not filesets. resources but not filesets.
Bugzilla Report 48035.
Bugzilla Report 48035.


* <sshexec>'s outputproperty was prefixed by the executed command * <sshexec>'s outputproperty was prefixed by the executed command
when the command attribute has been used, breaking backwards when the command attribute has been used, breaking backwards
@@ -2151,8 +2151,8 @@ Other changes:
* The get task now also follows redirects from http to https * The get task now also follows redirects from http to https
Bugzilla Report 47433 Bugzilla Report 47433


* A HostInfo task was added performing information on hosts, including info on
the host ant is running on.
* A HostInfo task was added performing information on hosts, including info on
the host ant is running on.
Bugzilla Reports 45861 and 31164. Bugzilla Reports 45861 and 31164.


* There is now a FileProvider interface for resources that act as a source * There is now a FileProvider interface for resources that act as a source
@@ -2271,7 +2271,7 @@ Other changes:
expression. expression.
Bugzilla Report 45284 Bugzilla Report 45284


* Enhanced performance of Project.fireMessageLoggedEvent and DirectoryScanner
* Enhanced performance of Project.fireMessageLoggedEvent and DirectoryScanner
Bugzilla Reports 45651 and 45665 Bugzilla Reports 45651 and 45665


* The package list location for offline links can now be specified as * The package list location for offline links can now be specified as
@@ -2424,7 +2424,7 @@ Other changes:
process proceed if an error occurs. process proceed if an error occurs.
Bugzilla Report 36260. Bugzilla Report 36260.


* <xslt> has a new attribute failOnNoResources that can be used to
* <xslt> has a new attribute failOnNoResources that can be used to
make the build fail/continue if the collection of resources to make the build fail/continue if the collection of resources to
transform is empty. transform is empty.
Bugzilla Report 46274. Bugzilla Report 46274.
@@ -2671,7 +2671,7 @@ Changes that could break older environments:
incoming (OutputStream) content. incoming (OutputStream) content.


* <java> with fork now returns gives -1 instead of 0 as result when failonerror * <java> with fork now returns gives -1 instead of 0 as result when failonerror
is false and some exception (including timeout) occurs. Br 42377.
is false and some exception (including timeout) occurs. Br 42377.


* ant-type attribute has been marked as deprecated and a warning has been * ant-type attribute has been marked as deprecated and a warning has been
issued if it is encountered in the build file. issued if it is encountered in the build file.
@@ -2747,7 +2747,7 @@ Fixed bugs:
* Synchonization issues in PropertyHelper. Bugzilla 41353. * Synchonization issues in PropertyHelper. Bugzilla 41353.


* <concat binary="true" append="true"> did not append. Bugzilla 41399. * <concat binary="true" append="true"> did not append. Bugzilla 41399.
* -autoproxy turns Java1.5+ automatic proxy support on. Bugzilla 41904 * -autoproxy turns Java1.5+ automatic proxy support on. Bugzilla 41904


* Handle null result of system getProperty(). Bugzilla 42334. * Handle null result of system getProperty(). Bugzilla 42334.
@@ -2973,10 +2973,10 @@ Changes that could break older environments:
* IContract optional task removed as the required library is no * IContract optional task removed as the required library is no
longer available. longer available.


* Metamata (maudit, mmetrics, and mparse tasks) removed as the required
* Metamata (maudit, mmetrics, and mparse tasks) removed as the required
library is no longer available. library is no longer available.


* Sitraka (jpcoverage, jpcovmerge, jpcovreport) tasks suppressed as the
* Sitraka (jpcoverage, jpcovmerge, jpcovreport) tasks suppressed as the
required library is no longer available. required library is no longer available.


* <fixcrlf> used \r (Mac) line endings on OS X, whose proper line separator * <fixcrlf> used \r (Mac) line endings on OS X, whose proper line separator


+ 17
- 17
manual/Tasks/symlink.html View File

@@ -27,8 +27,8 @@
<h2><a name="symlink">Symlink</a></h2> <h2><a name="symlink">Symlink</a></h2>
<h3>Description</h3> <h3>Description</h3>
<p> Manages symbolic links on platforms where Java supports symbolic links. <p> Manages symbolic links on platforms where Java supports symbolic links.
Can be used to make an individual link, delete a link, create multiple links
from properties files, or create properties files describing links in the
Can be used to make an individual link, delete a link, create multiple links
from properties files, or create properties files describing links in the
specified directories. Existing links are not overwritten by default. specified directories. Existing links are not overwritten by default.


<p><a href="../Types/fileset.html">FileSet</a>s are used to select a <p><a href="../Types/fileset.html">FileSet</a>s are used to select a
@@ -42,7 +42,7 @@ set of links to record, or a set of property files to create links from. </p>
</tr> </tr>
<tr> <tr>
<td valign="top">action</td> <td valign="top">action</td>
<td valign="top">The type of action to perform, may be "single",
<td valign="top">The type of action to perform, may be "single",
"record", "recreate" or "delete".</td> "record", "recreate" or "delete".</td>
<td valign="top" align="center">No, defaults to single.</td> <td valign="top" align="center">No, defaults to single.</td>
</tr> </tr>
@@ -55,7 +55,7 @@ set of links to record, or a set of property files to create links from. </p>
absolute path or a path like <code>${basedir}/some-path</code> absolute path or a path like <code>${basedir}/some-path</code>
as its value. as its value.
</td> </td>
<td valign="center" align="center" >required for
<td valign="center" align="center" >required for
action="single" or "delete". Ignored in other actions.</td> action="single" or "delete". Ignored in other actions.</td>
</tr> </tr>
<tr> <tr>
@@ -65,9 +65,9 @@ set of links to record, or a set of property files to create links from. </p>
</tr> </tr>
<tr> <tr>
<td valign="top">linkfilename</td> <td valign="top">linkfilename</td>
<td valign="top">The name of the properties file to create in
<td valign="top">The name of the properties file to create in
each included directory.</td> each included directory.</td>
<td valign="top" align="center">required for action="record".
<td valign="top" align="center">required for action="record".
Ignored in other actions.</td> Ignored in other actions.</td>
</tr> </tr>
<tr> <tr>
@@ -84,21 +84,21 @@ set of links to record, or a set of property files to create links from. </p>
</tr> </tr>
</table> </table>
<h3>Parameters specified as nested elements</h3> <h3>Parameters specified as nested elements</h3>
<h4>fileset</h4> <h4>fileset</h4>
<p><a href="../Types/fileset.html">FileSet</a>s <p><a href="../Types/fileset.html">FileSet</a>s
are used when action = "record" to select directories and linknames to be recorded.
They are also used when action = "recreate" to specify both the name of the property
files to be processed, and the directories in which they can be found. At least one
are used when action = "record" to select directories and linknames to be recorded.
They are also used when action = "recreate" to specify both the name of the property
files to be processed, and the directories in which they can be found. At least one
fileset is required for each case.</p> fileset is required for each case.</p>
<h3>Examples</h3> <h3>Examples</h3>


<p> Make a link named "foo" to a resource named "bar.foo" in subdir:</p> <p> Make a link named "foo" to a resource named "bar.foo" in subdir:</p>
<pre> <pre>
&lt;symlink link="${dir.top}/foo" resource="${dir.top}/subdir/bar.foo"/&gt; &lt;symlink link="${dir.top}/foo" resource="${dir.top}/subdir/bar.foo"/&gt;
</pre> </pre>
<p> Record all links in subdir and it's descendants in files named <p> Record all links in subdir and it's descendants in files named
"dir.links"</p> "dir.links"</p>
<pre> <pre>
@@ -106,14 +106,14 @@ set of links to record, or a set of property files to create links from. </p>
&lt;fileset dir="${dir.top}" includes="subdir&#47;**"/&gt; &lt;fileset dir="${dir.top}" includes="subdir&#47;**"/&gt;
&lt;/symlink&gt; &lt;/symlink&gt;
</pre> </pre>
<p> Recreate the links recorded in the previous example:</p> <p> Recreate the links recorded in the previous example:</p>
<pre> <pre>
&lt;symlink action="recreate"&gt; &lt;symlink action="recreate"&gt;
&lt;fileset dir="${dir.top}" includes="subdir&#47;**&#47;dir.links"/&gt;
&lt;fileset dir="${dir.top}" includes="subdir&#47;**&#47;dir.links"/&gt;
&lt;/symlink&gt; &lt;/symlink&gt;
</pre> </pre>
<p> Delete a link named "foo": <p> Delete a link named "foo":
<pre> <pre>
&lt;symlink action="delete" link="${dir.top}/foo"/&gt; &lt;symlink action="delete" link="${dir.top}/foo"/&gt;
@@ -121,12 +121,12 @@ set of links to record, or a set of property files to create links from. </p>


<p><strong>Java 1.2 and earlier:</strong> Due to limitations on executing system <p><strong>Java 1.2 and earlier:</strong> Due to limitations on executing system
level commands in Java versions earlier than 1.3 this task may have difficulty level commands in Java versions earlier than 1.3 this task may have difficulty
operating with a relative path in ANT_HOME. The typical symptom is an
operating with a relative path in ANT_HOME. The typical symptom is an
IOException where Apache Ant can't find /some/working/directory${ANT_HOME}/bin/antRun IOException where Apache Ant can't find /some/working/directory${ANT_HOME}/bin/antRun
or something similar. The workaround is to change your ANT_HOME environment or something similar. The workaround is to change your ANT_HOME environment
variable to an absolute path, which will remove the /some/working/directory portion variable to an absolute path, which will remove the /some/working/directory portion
of the above path and allow ant to find the correct commandline execution script. of the above path and allow ant to find the correct commandline execution script.
<p><strong>NOTE:</strong> Starting Ant version 1.10.2, this task relies on the symbolic <p><strong>NOTE:</strong> Starting Ant version 1.10.2, this task relies on the symbolic
link support introduced in Java 7 through the java.nio.file.Files APIs</p> link support introduced in Java 7 through the java.nio.file.Files APIs</p>




Loading…
Cancel
Save