You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2017/12/10 09:45:13 UTC
ant git commit: strip trailing whitespace
Repository: ant
Updated Branches:
refs/heads/master cefdbd398 -> 7cdc6d19e
strip trailing whitespace
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/7cdc6d19
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/7cdc6d19
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/7cdc6d19
Branch: refs/heads/master
Commit: 7cdc6d19e5f7487e55884a5e1ba2e9a8e3661239
Parents: cefdbd3
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sun Dec 10 10:22:07 2017 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sun Dec 10 10:22:07 2017 +0100
----------------------------------------------------------------------
WHATSNEW | 70 +++++++++++++++++++++---------------------
manual/Tasks/symlink.html | 34 ++++++++++----------
2 files changed, 52 insertions(+), 52 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/7cdc6d19/WHATSNEW
----------------------------------------------------------------------
diff --git a/WHATSNEW b/WHATSNEW
index 52387d1..7593b0e 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -17,18 +17,18 @@ Fixed bugs:
* bootstrapping Ant on Windows failed
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,
instead of changing it on the transferred file itself.
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).
Bugzilla Report 60644
* 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.
Bugzilla Report 58683
@@ -66,15 +66,15 @@ Other changes:
* Bugzilla Report 58589 - SCP task, when configured to use SFTP
protocol, now preserves last modified timestamp on files that
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
entries to a fixed timestamp.
Github Pull Request #36
* 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.
@@ -820,11 +820,11 @@ Fixed bugs:
* Updated documentation to fix spelling errors / broken links.
Bugzilla Reports 53215, 53291, 53202
-
+
* Unable to override system properties. It was not possible not to override
system properties from the command line (or from a property file).
Bugzilla Report 51792
-
+
* <javac> by default fails when run on JDK 8.
Bugzilla Report 53347.
@@ -1001,7 +1001,7 @@ Fixed bugs:
* Exec task may mix the stderr and stdout output while logging it
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.
Bugzilla Report 51109.
@@ -1015,10 +1015,10 @@ Fixed bugs:
Bugzilla Report 42696.
* 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.
- * 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.
Bugzilla Report 51161
@@ -1182,10 +1182,10 @@ Changes that could break older environments:
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.
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
task.
Bugzilla Report 49513
@@ -1193,8 +1193,8 @@ Fixed bugs:
* mmap-based file copy problems under JDK 1.4 on Linux.
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.
Bugzilla Report 49326.
@@ -1347,7 +1347,7 @@ Other changes:
The wildcards are not expanded or even evaluated by Ant and will be
used literally. The resulting path may be unusable as a CLASSPATH
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.
* 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.
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:
@@ -1477,7 +1477,7 @@ Fixed bugs:
1.7.1
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
* 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
evaluation may yield values of any type.
- * BuildFileTest.assertPropertyUnset() fails with a slightly more
+ * BuildFileTest.assertPropertyUnset() fails with a slightly more
meaningful error message
Bugzilla Report 48834
@@ -1581,7 +1581,7 @@ Fixed bugs:
* stack traces were not reported at all by <junit/>
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.
Bugzilla Report 48186.
@@ -1777,7 +1777,7 @@ Changes that could break older environments:
* A new property syntax can be used to set attributes from
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
accepts an object type other than string and the project's
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.
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.
* Caused by AssertionError no longer filtered.
Bugzilla Report 45631.
-
+
* <zip> would sometimes recreate JARs unnecessarily.
Bugzilla Report 45902.
@@ -1869,7 +1869,7 @@ Fixed bugs:
* <sql> would fail if the executed statement didn't return a result
set with some JDBC driver that dissalow Statement.getResultSet to
be called in such a situation.
- Bugzilla Report 36265
+ Bugzilla Report 36265
* if the executed statement in <sql> returned a result set and an
update count, the count would be lost.
@@ -2076,7 +2076,7 @@ Fixed bugs:
Bugzilla Report 29731.
* <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
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
(re-)created in some cases where the sources are filesystem based
resources but not filesets.
- Bugzilla Report 48035.
+ Bugzilla Report 48035.
* <sshexec>'s outputproperty was prefixed by the executed command
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
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.
* There is now a FileProvider interface for resources that act as a source
@@ -2271,7 +2271,7 @@ Other changes:
expression.
Bugzilla Report 45284
- * Enhanced performance of Project.fireMessageLoggedEvent and DirectoryScanner
+ * Enhanced performance of Project.fireMessageLoggedEvent and DirectoryScanner
Bugzilla Reports 45651 and 45665
* The package list location for offline links can now be specified as
@@ -2424,7 +2424,7 @@ Other changes:
process proceed if an error occurs.
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
transform is empty.
Bugzilla Report 46274.
@@ -2671,7 +2671,7 @@ Changes that could break older environments:
incoming (OutputStream) content.
* <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
issued if it is encountered in the build file.
@@ -2747,7 +2747,7 @@ Fixed bugs:
* Synchonization issues in PropertyHelper. Bugzilla 41353.
* <concat binary="true" append="true"> did not append. Bugzilla 41399.
-
+
* -autoproxy turns Java1.5+ automatic proxy support on. Bugzilla 41904
* 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
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.
-* Sitraka (jpcoverage, jpcovmerge, jpcovreport) tasks suppressed as the
+* Sitraka (jpcoverage, jpcovmerge, jpcovreport) tasks suppressed as the
required library is no longer available.
* <fixcrlf> used \r (Mac) line endings on OS X, whose proper line separator
http://git-wip-us.apache.org/repos/asf/ant/blob/7cdc6d19/manual/Tasks/symlink.html
----------------------------------------------------------------------
diff --git a/manual/Tasks/symlink.html b/manual/Tasks/symlink.html
index 331bd79..af14949 100644
--- a/manual/Tasks/symlink.html
+++ b/manual/Tasks/symlink.html
@@ -27,8 +27,8 @@
<h2><a name="symlink">Symlink</a></h2>
<h3>Description</h3>
<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.
<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>
<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>
<td valign="top" align="center">No, defaults to single.</td>
</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>
as its value.
</td>
- <td valign="center" align="center" >required for
+ <td valign="center" align="center" >required for
action="single" or "delete". Ignored in other actions.</td>
</tr>
<tr>
@@ -65,9 +65,9 @@ set of links to record, or a set of property files to create links from. </p>
</tr>
<tr>
<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>
- <td valign="top" align="center">required for action="record".
+ <td valign="top" align="center">required for action="record".
Ignored in other actions.</td>
</tr>
<tr>
@@ -84,21 +84,21 @@ set of links to record, or a set of property files to create links from. </p>
</tr>
</table>
<h3>Parameters specified as nested elements</h3>
-
+
<h4>fileset</h4>
<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>
-
+
<h3>Examples</h3>
<p> Make a link named "foo" to a resource named "bar.foo" in subdir:</p>
<pre>
<symlink link="${dir.top}/foo" resource="${dir.top}/subdir/bar.foo"/>
</pre>
-
+
<p> Record all links in subdir and it's descendants in files named
"dir.links"</p>
<pre>
@@ -106,14 +106,14 @@ set of links to record, or a set of property files to create links from. </p>
<fileset dir="${dir.top}" includes="subdir/**"/>
</symlink>
</pre>
-
+
<p> Recreate the links recorded in the previous example:</p>
<pre>
<symlink action="recreate">
- <fileset dir="${dir.top}" includes="subdir/**/dir.links"/>
+ <fileset dir="${dir.top}" includes="subdir/**/dir.links"/>
</symlink>
</pre>
-
+
<p> Delete a link named "foo":
<pre>
<symlink action="delete" link="${dir.top}/foo"/>
@@ -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
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
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
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
link support introduced in Java 7 through the java.nio.file.Files APIs</p>