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 2015/07/03 06:58:17 UTC
svn commit: r1688944 - in /ant/site/ant/production: ./ manual/ manual/Tasks/
manual/Types/
Author: bodewig
Date: Fri Jul 3 04:58:16 2015
New Revision: 1688944
URL: http://svn.apache.org/r1688944
Log:
publish information about 1.9.6
Modified:
ant/site/ant/production/antnews.html
ant/site/ant/production/bindownload.html
ant/site/ant/production/doap_Ant.rdf
ant/site/ant/production/faq.html
ant/site/ant/production/index.html
ant/site/ant/production/manual/Tasks/makeurl.html
ant/site/ant/production/manual/Tasks/replaceregexp.html
ant/site/ant/production/manual/Tasks/schemavalidate.html
ant/site/ant/production/manual/Tasks/setproxy.html
ant/site/ant/production/manual/Tasks/signjar.html
ant/site/ant/production/manual/Tasks/subant.html
ant/site/ant/production/manual/Tasks/tempfile.html
ant/site/ant/production/manual/Types/antlib.html
ant/site/ant/production/manual/Types/resources.html
ant/site/ant/production/manual/cover.html
ant/site/ant/production/manual/credits.html
ant/site/ant/production/manual/developlist.html
ant/site/ant/production/manual/tutorial-tasks-filesets-properties.html
ant/site/ant/production/manual/using.html
ant/site/ant/production/manualdownload.html
ant/site/ant/production/srcdownload.html
Modified: ant/site/ant/production/antnews.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/antnews.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/antnews.html (original)
+++ ant/site/ant/production/antnews.html Fri Jul 3 04:58:16 2015
@@ -214,6 +214,16 @@
<div class="content">
<h1 class="title">Apache Ant™ Project News</h1>
<h3 class="section">
+ <a name="Apache Ant 1.9.6"></a>
+ Apache Ant 1.9.6
+ </h3>
+ <h3>Jul 2, 2015 - Apache Ant 1.9.6 Released</h3>
+ <p>Apache Ant 1.9.6 is now available for download as source or
+ binary from
+ <a href="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</a>.</p>
+ <p>Ant 1.9.6 fixes a regression in the zip package introduced with
+ Ant 1.9.5.</p>
+ <h3 class="section">
<a name="Apache Ant 1.9.5"></a>
Apache Ant 1.9.5
</h3>
Modified: ant/site/ant/production/bindownload.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/bindownload.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/bindownload.html (original)
+++ ant/site/ant/production/bindownload.html Fri Jul 3 04:58:16 2015
@@ -259,11 +259,11 @@ Other mirrors: <select name="Preferred">
<a name="Current Release of Ant"></a>
Current Release of Ant
</h3>
- <p>Currently, Apache Ant 1.9.5 is the best available version, see the
+ <p>Currently, Apache Ant 1.9.6 is the best available version, see the
<a href="[preferred]/ant/README.html">release notes</a>.</p>
<div class="warning">
<div class="label">Note</div>
-<div class="content">Ant 1.9.5 was released on 03-Jun-2015 and
+<div class="content">Ant 1.9.6 was released on 02-Jul-2015 and
may not be available on all mirrors for a few days.</div>
</div>
<br />
@@ -274,25 +274,25 @@ may not be available on all mirrors for
</div>
<ul>
<li><code>.zip</code> archive:
-<a href="[preferred]/ant/binaries/apache-ant-1.9.5-bin.zip">apache-ant-1.9.5-bin.zip</a>
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.zip.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.zip.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.zip.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.zip.md5">MD5</a>]</li>
+<a href="[preferred]/ant/binaries/apache-ant-1.9.6-bin.zip">apache-ant-1.9.6-bin.zip</a>
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.zip.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.zip.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.zip.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.zip.md5">MD5</a>]</li>
<li><code>.tar.gz</code> archive:
-<a href="[preferred]/ant/binaries/apache-ant-1.9.5-bin.tar.gz">apache-ant-1.9.5-bin.tar.gz</a>
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.tar.gz.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.tar.gz.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.tar.gz.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.tar.gz.md5">MD5</a>]</li>
+<a href="[preferred]/ant/binaries/apache-ant-1.9.6-bin.tar.gz">apache-ant-1.9.6-bin.tar.gz</a>
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.tar.gz.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.tar.gz.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.tar.gz.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.tar.gz.md5">MD5</a>]</li>
<li><code>.tar.bz2</code> archive:
-<a href="[preferred]/ant/binaries/apache-ant-1.9.5-bin.tar.bz2">apache-ant-1.9.5-bin.tar.bz2</a>
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.tar.bz2.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.tar.bz2.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.tar.bz2.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.5-bin.tar.bz2.md5">MD5</a>]</li>
+<a href="[preferred]/ant/binaries/apache-ant-1.9.6-bin.tar.bz2">apache-ant-1.9.6-bin.tar.bz2</a>
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.tar.bz2.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.tar.bz2.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.tar.bz2.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/binaries/apache-ant-1.9.6-bin.tar.bz2.md5">MD5</a>]</li>
</ul>
<h3 class="section">
<a name="Old Ant Releases"></a>
@@ -315,17 +315,17 @@ directory</a>, rather than from a mirror
using</p>
<p><code>
% pgpk -a KEYS<br />
-% pgpv apache-ant-1.9.5-bin.tar.gz.asc<br />
+% pgpv apache-ant-1.9.6-bin.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% pgp -ka KEYS<br />
-% pgp apache-ant-1.9.5-bin.tar.gz.asc<br />
+% pgp apache-ant-1.9.6-bin.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% gpg --import KEYS<br />
-% gpg --verify apache-ant-1.9.5-bin.tar.gz.asc
+% gpg --verify apache-ant-1.9.6-bin.tar.gz.asc
</code></p>
<p>A command line version of <a href="http://www.gnupg.org/download/">GnuPG</a>
is also available for Windows users. Follow the
Modified: ant/site/ant/production/doap_Ant.rdf
URL: http://svn.apache.org/viewvc/ant/site/ant/production/doap_Ant.rdf?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/doap_Ant.rdf (original)
+++ ant/site/ant/production/doap_Ant.rdf Fri Jul 3 04:58:16 2015
@@ -36,6 +36,13 @@
<release>
<Version>
<name>Apache Ant 1.9.5</name>
+ <created>2015-07-02</created>
+ <revision>1.9.6</revision>
+ </Version>
+ </release>
+ <release>
+ <Version>
+ <name>Apache Ant 1.9.5</name>
<created>2015-06-03</created>
<revision>1.9.5</revision>
</Version>
Modified: ant/site/ant/production/faq.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/faq.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/faq.html (original)
+++ ant/site/ant/production/faq.html Fri Jul 3 04:58:16 2015
@@ -837,6 +837,16 @@
03 Jun 2015
</td>
</tr>
+ <tr>
+ <td colspan="1" rowspan="1"
+ valign="top" align="left">
+ 1.9.6
+ </td>
+ <td colspan="1" rowspan="1"
+ valign="top" align="left">
+ 02 Jul 2015
+ </td>
+ </tr>
</table>
<p class="faq">
<a name="java-version"></a>
Modified: ant/site/ant/production/index.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/index.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/index.html (original)
+++ ant/site/ant/production/index.html Fri Jul 3 04:58:16 2015
@@ -241,15 +241,15 @@
the <a href="http://www.apache.org/">Apache Software
Foundation</a>.</p>
<h3 class="section">
- <a name="Apache Ant 1.9.5"></a>
- Apache Ant 1.9.5
+ <a name="Apache Ant 1.9.6"></a>
+ Apache Ant 1.9.6
</h3>
- <h3>Jun 3, 2015 - Apache Ant 1.9.5 Released</h3>
- <p>Apache Ant 1.9.5 is now available for download as source or
+ <h3>Jul 2, 2015 - Apache Ant 1.9.6 Released</h3>
+ <p>Apache Ant 1.9.6 is now available for download as source or
binary from
<a href="http://ant.apache.org/bindownload.cgi">http://ant.apache.org/bindownload.cgi</a>.</p>
- <p>Ant 1.9.5 contains several bug fixes and improvements compared to Ant 1.9.4,
- most importantly bug in the <tar> family of tasks and types.</p>
+ <p>Ant 1.9.6 fixes a regression in the zip package introduced with
+ Ant 1.9.5.</p>
<h3 class="section">
<a name="Apache IvyDE 2.2.0"></a>
Apache IvyDE 2.2.0
@@ -330,7 +330,7 @@
Documentation
</h3>
<p>
-You can view the documentation for the current release (Apache Ant 1.9.5)
+You can view the documentation for the current release (Apache Ant 1.9.6)
<a href="manual/index.html">online</a>
</p>
<p>
Modified: ant/site/ant/production/manual/Tasks/makeurl.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/makeurl.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/makeurl.html (original)
+++ ant/site/ant/production/manual/Tasks/makeurl.html Fri Jul 3 04:58:16 2015
@@ -18,8 +18,7 @@
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
- <title>Makeurl
- Task</title>
+ <title>Makeurl Task</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76"
@@ -32,13 +31,12 @@
<td>
<table border="0" width="100%"><tr>
<td valign="bottom">
- <font size="+3" face="arial,helvetica,sanserif"><strong>Makeurl
- Task</strong></font>
+ <font size="+3" face="arial,helvetica,sanserif"><strong>Makeurl Task</strong></font>
</td>
<td>
<!-- PROJECT LOGO -->
<a href="http://ant.apache.org/">
- <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
+ <img src="../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0"/>
</a>
</td>
</tr></table>
Modified: ant/site/ant/production/manual/Tasks/replaceregexp.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/replaceregexp.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/replaceregexp.html (original)
+++ ant/site/ant/production/manual/Tasks/replaceregexp.html Fri Jul 3 04:58:16 2015
@@ -126,7 +126,10 @@ value, in the file <code>${src}/build.pr
<substitution id="id" expression="beta\1alpha"/><br>
<substitution refid="id"/>
</blockquote>
+
+
<h3>Examples</h3>
+
<blockquote>
<pre>
<replaceregexp byline="true">
@@ -141,6 +144,7 @@ value, in the file <code>${src}/build.pr
with "NewProperty" in a properties file, preserving the existing
value, in all files ending in <code>.properties</code> in the current directory</p>
+<br>
<blockquote>
<pre><replaceregexp match="\s+" replace=" " flags="g" byline="true">
<fileset dir="${html.dir}" includes="**/*.html"/>
@@ -148,7 +152,6 @@ value, in all files ending in <code>.pro
</pre></blockquote>
<p>replaces all whitespaces (blanks, tabs, etc) by one blank remaining the
line separator. So with input
-
<blockquote>
<pre>
<html> <body>
@@ -156,13 +159,47 @@ line separator. So with input
<<TAB>> </body></html>
</pre></blockquote>
would converted to
+<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>
+<pre><replaceregexp match="\\n" replace="${line.separator}" flags="g" byline="true">
+ <fileset dir="${dir}"/>
+</replaceregexp>
+</pre></blockquote>
+<p>replaces all <tt>\n</tt> markers (beware the quoting of the backslash) by a line break.
+So with input
+<blockquote>
+<pre>
+one\ntwo\nthree
+</pre></blockquote>
+would converted to
+<blockquote>
+<pre>
+one
+two
+three
+</pre>
+</blockquote>
+Beware that inserting line breaks could break file syntax. For example in xml:
+<blockquote>
+<pre>
+<root>
+ <text>line breaks \n should work in text</text>
+ <attribute value="but breaks \n attributes" />
+</root>
+</pre>
+</blockquote>
</p>
+
</body>
</html>
Modified: ant/site/ant/production/manual/Tasks/schemavalidate.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/schemavalidate.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/schemavalidate.html (original)
+++ ant/site/ant/production/manual/Tasks/schemavalidate.html Fri Jul 3 04:58:16 2015
@@ -26,7 +26,7 @@
<h2><a name="schemavalidate">SchemaValidate</a></h2>
<h3>Description</h3>
-<p>This task validates XML files described by an XML Schema.
+<p>This <tt>schemavalidate</tt> task validates XML files described by an XML Schema.
The task extends the XmlValidate task with XSD-specific features.</p>
<ol>
<li>The parser is created validating and namespace aware
@@ -253,7 +253,7 @@ Validate a document against an XML schem
any schema itself, which is why the <tt>noNamespaceFile</tt> is needed.
<pre>
<presetdef name="validate-soap">
- <schemavalidate >
+ <schemavalidate>
<schema namespace="http://schemas.xmlsoap.org/ws/2003/03/addressing"
file="${soap.dir}/ws-addressing.xsd" />
<schema namespace="http://www.w3.org/2003/05/soap-envelope"
Modified: ant/site/ant/production/manual/Tasks/setproxy.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/setproxy.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/setproxy.html (original)
+++ ant/site/ant/production/manual/Tasks/setproxy.html Fri Jul 3 04:58:16 2015
@@ -18,8 +18,7 @@
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
- <title>Setproxy
- Task</title>
+ <title>Setproxy Task</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76"
@@ -32,14 +31,13 @@
<td>
<table border="0" width="100%"><tr>
<td valign="bottom">
- <font size="+3" face="arial,helvetica,sanserif"><strong>Setproxy
- Task</strong></font>
+ <font size="+3" face="arial,helvetica,sanserif"><strong>Setproxy Task</strong></font>
<br><font face="arial,helvetica,sanserif">Sets Java's web proxy properties, so that tasks and code run in the same JVM can have through-the-firewall access to remote web sites, and remote ftp sites.</font>
</td>
<td>
<!-- PROJECT LOGO -->
<a href="http://ant.apache.org/">
- <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0">
+ <img src="../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0">
</a>
</td>
</tr></table>
Modified: ant/site/ant/production/manual/Tasks/signjar.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/signjar.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/signjar.html (original)
+++ ant/site/ant/production/manual/Tasks/signjar.html Fri Jul 3 04:58:16 2015
@@ -153,7 +153,7 @@ block</td>
<td valign="top" align="center">No</td>
</tr>
<tr>
- <td valign="top">getTsaproxyport</td>
+ <td valign="top">tsaproxyport</td>
<td valign="top">proxy port to be used when connecting to TSA server</td>
<td valign="top" align="center">No</td>
</tr>
Modified: ant/site/ant/production/manual/Tasks/subant.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/subant.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/subant.html (original)
+++ ant/site/ant/production/manual/Tasks/subant.html Fri Jul 3 04:58:16 2015
@@ -18,8 +18,7 @@
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
- <title>Subant
- Task</title>
+ <title>Subant Task</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76"
@@ -32,14 +31,13 @@
<td>
<table border="0" width="100%"><tr>
<td valign="bottom">
- <font size="+3" face="arial,helvetica,sanserif"><strong>Subant
- Task</strong></font>
+ <font size="+3" face="arial,helvetica,sanserif"><strong>Subant Task</strong></font>
<br><font face="arial,helvetica,sanserif">Calls a given target for all defined sub-builds.</font>
</td>
<td>
<!-- PROJECT LOGO -->
<a href="http://ant.apache.org/">
- <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0">
+ <img src="../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0">
</a>
</td>
</tr></table>
Modified: ant/site/ant/production/manual/Tasks/tempfile.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/tempfile.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/tempfile.html (original)
+++ ant/site/ant/production/manual/Tasks/tempfile.html Fri Jul 3 04:58:16 2015
@@ -18,8 +18,7 @@
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
- <title>Tempfile
- Task</title>
+ <title>Tempfile Task</title>
</head>
<body bgcolor="#ffffff" text="#000000" link="#525D76"
@@ -32,14 +31,13 @@
<td>
<table border="0" width="100%"><tr>
<td valign="bottom">
- <font size="+3" face="arial,helvetica,sanserif"><strong>Tempfile
- Task</strong></font>
+ <font size="+3" face="arial,helvetica,sanserif"><strong>Tempfile Task</strong></font>
<br><font face="arial,helvetica,sanserif">This task sets a property to the name of a temporary file.</font>
</td>
<td>
<!-- PROJECT LOGO -->
<a href="http://ant.apache.org/">
- <img src="../../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0">
+ <img src="../images/ant_logo_large.gif" align="right" alt="Apache Ant" border="0">
</a>
</td>
</tr></table>
Modified: ant/site/ant/production/manual/Types/antlib.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Types/antlib.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Types/antlib.html (original)
+++ ant/site/ant/production/manual/Types/antlib.html Fri Jul 3 04:58:16 2015
@@ -19,7 +19,7 @@
<head>
<meta http-equiv="Content-Language" content="en-us"></meta>
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css">
-<title>AntLib</title>
+ <title>AntLib</title>
</head>
<body>
@@ -30,8 +30,7 @@
<p>
An antlib file is an xml file with a root element of "antlib".
Antlib's elements are Apache Ant definition tasks - like
-
- and <a href="../Tasks/taskdef.html">Taskdef</a>,
+ <a href="../Tasks/taskdef.html">Taskdef</a>
or any Ant task that extends
<code>org.apache.tools.ant.taskdefs.AntlibDefinition</code>.
</p>
Modified: ant/site/ant/production/manual/Types/resources.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Types/resources.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/Types/resources.html (original)
+++ ant/site/ant/production/manual/Types/resources.html Fri Jul 3 04:58:16 2015
@@ -43,6 +43,8 @@ explicit use beginning in <b>Ant 1.7</b>
<li><a href="#gzipresource">gzipresource</a> - a GZip compressed resource.</li>
<li><a href="#javaresource">javaresource</a> - a resource loadable
via a Java classloader.</li>
+ <li><a href="#javaconstant">javaconstant</a> - a constant in a class loadable
+ via a Java classloader.</li>
<li><a href="#propertyresource">propertyresource</a> - an Ant property.</li>
<li><a href="#string">string</a> - a text string.</li>
<li><a href="#tarentry">tarentry</a> - an entry in a tar file.</li>
@@ -164,9 +166,49 @@ implementations are also usable as singl
where <b><classpath></b> is a <a
href="../using.html#path">path-like structure</a>.</p>
+
+<h4><a name="javaconstant">javaconstant</a></h4>
+<p>Loads the value of a java constant. As a specialisation of
+<a href="#javaresource">javaresource</a> all of its attributes and nested elements are
+supported. A constant must be specified as <tt>public static</tt> otherwise it could not be loaded.</p>
+
+<table border="1" cellpadding="2" cellspacing="0">
+ <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">name</td>
+ <td valign="top">The name of the resource. Must be specified as full qualified
+ field name.
+ </td>
+ <td align="center" valign="top">Yes</td>
+ </tr>
+</table>
+<h5>Examples</h5>
+This loads the value of the constant <tt>VERSION</tt> of the <tt>org.acme.Main</tt> class
+into the <tt>version</tt>-property. The classpath for finding that class is provided via
+nested classpath element.
+<pre><code><loadresource property="version">
+ <javaconstant name="org.acme.Main.VERSION">
+ <classpath>
+ <pathelement location="${acme.lib.dir}"/>
+ </classpath>
+ </javaconstant>
+ </loadresource>
+</code></pre>
+
+Create a new file <tt>c:/temp/org.apache.tools.ant.Main.DEFAULT_BUILD_FILENAME</tt> with the content
+of that constant (<tt>build.xml</tt>).
+<pre><code><copy todir="c:/temp">
+ <javaconstant name="org.apache.tools.ant.Main.DEFAULT_BUILD_FILENAME"/>
+</copy></code></pre>
+
+
<h4><a name="zipentry">zipentry</a></h4>
-<p>Represents an entry in a ZIP archive. The archive can be specified
+<p>Represents an entry in a ZIP archive. The archive can be specified
using the archive attribute or a nested single-element resource
collection. <code>zipentry</code> only supports file system resources
as nested elements.</p>
Modified: ant/site/ant/production/manual/cover.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/cover.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/cover.html (original)
+++ ant/site/ant/production/manual/cover.html Fri Jul 3 04:58:16 2015
@@ -19,14 +19,14 @@
<head>
<meta http-equiv="Content-Language" content="en-us">
<link rel="stylesheet" type="text/css" href="stylesheets/style.css">
-<title>Apache Ant 1.9.5 User Manual</title>
+<title>Apache Ant 1.9.6 User Manual</title>
</head>
<body bgcolor="#FFFFFF">
<div align="center">
<h1><img src="images/ant_logo_large.gif" width="190" height="120"></h1>
- <h1>Apache Ant™ 1.9.5 Manual</h1>
- <p align="left">This is the manual for version 1.9.5 of
+ <h1>Apache Ant™ 1.9.6 Manual</h1>
+ <p align="left">This is the manual for version 1.9.6 of
<a target="_top" href="http://ant.apache.org/index.html">Apache Ant</a>.
If your version
of Ant (as verified with <tt>ant -version</tt>) is older or newer than this
Modified: ant/site/ant/production/manual/credits.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/credits.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/credits.html (original)
+++ ant/site/ant/production/manual/credits.html Fri Jul 3 04:58:16 2015
@@ -62,7 +62,7 @@
</ul>
<center>
-<p>Version: 1.9.5</p>
+<p>Version: 1.9.6</p>
</center>
Modified: ant/site/ant/production/manual/developlist.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/developlist.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/developlist.html (original)
+++ ant/site/ant/production/manual/developlist.html Fri Jul 3 04:58:16 2015
@@ -30,8 +30,8 @@
<h3>Developing with Apache Ant</h3>
<ul class="inlinelist">
-<li><a href="../ant_in_anger.html">Ant in Anger</a></li>
-<li><a href="../ant_task_guidelines.html">Ant Task Guidelines</a></li>
+<li><a href="http://ant.apache.org/ant_in_anger.html">Ant in Anger</a> <small>(online)</small></li>
+<li><a href="http://ant.apache.org/ant_task_guidelines.html">Ant Task Guidelines</a> <small>(online)</small></li>
<li><a href="develop.html#writingowntask">Writing Your Own Task</a></li>
<li><a href="base_task_classes.html">Tasks Designed for Extension</a></li>
<li><a href="develop.html#buildevents">Build Events</a></li>
Modified: ant/site/ant/production/manual/tutorial-tasks-filesets-properties.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/tutorial-tasks-filesets-properties.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/tutorial-tasks-filesets-properties.html (original)
+++ ant/site/ant/production/manual/tutorial-tasks-filesets-properties.html Fri Jul 3 04:58:16 2015
@@ -713,7 +713,7 @@ If we decide to contribute our task, we
<li>create a patch file</li>
<li>publishing that patch file</li>
</ul>
-The <a href="../ant_task_guidelines.html">Ant Task Guidelines [6]</a> support additional
+The <a href="http://ant.apache.org/ant_task_guidelines.html">Ant Task Guidelines [6]</a> support additional
information on that.</p>
<p>Now we will check the "Checklist before submitting a new task" described in that guideline.
@@ -864,7 +864,7 @@ and run <tt>ant test</tt> (like above).<
<h3>Checkstyle</h3>
<p>There are many things we have to ensure. Indentation with 4 spaces, blanks here and there, ...
-(all described in the <a href="../ant_task_guidelines.html">Ant Task Guidelines [6]</a> which
+(all described in the <a href="http://ant.apache.org/ant_task_guidelines.html">Ant Task Guidelines [6]</a> which
includes the <a href="http://www.oracle.com/technetwork/java/codeconvtoc-136057.html">Sun code style
[9]</a>). Because there are so many things we would be happy to have a tool for do the checks.
There is one: checkstyle. Checkstyle is available at <a href="http://checkstyle.sourceforge.net/">
@@ -904,7 +904,7 @@ cvs access). As a result we get a file <
<h3>Publish the task</h3>
-<p>Finally we publish that archive. As described in the <a href="../ant_task_guidelines.html">
+<p>Finally we publish that archive. As described in the <a href="http://ant.apache.org/ant_task_guidelines.html">
Ant Task Guidelines [7]</a> we can post it on the developer mailinglist or we create a BugZilla
entry. For both we need some information:</p>
Modified: ant/site/ant/production/manual/using.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/using.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manual/using.html (original)
+++ ant/site/ant/production/manual/using.html Fri Jul 3 04:58:16 2015
@@ -568,8 +568,7 @@ For the declaration there are several wa
If you need a special function, you should
<ol>
<li>have a look at this manual, because Ant provides lot of tasks</li>
- <li>have a look at the external task page in the <a href="../external.html">manual</a>
- (or better <a href="http://ant.apache.org/external.html">online</a>)</li>
+ <li>have a look at the external task page <a href="http://ant.apache.org/external.html">online</a></li>
<li>have a look at the external task <a href="http://wiki.apache.org/ant/AntExternalTaskdefs">wiki
page</a></li>
<li>ask on the <a href="http://ant.apache.org/mail.html#User%20List">Ant user</a> list</li>
Modified: ant/site/ant/production/manualdownload.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manualdownload.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/manualdownload.html (original)
+++ ant/site/ant/production/manualdownload.html Fri Jul 3 04:58:16 2015
@@ -253,11 +253,11 @@ Other mirrors: <select name="Preferred">
<a name="Current Release of Ant"></a>
Current Release of Ant
</h3>
- <p>Currently, Apache Ant 1.9.5 is the best available version, see the
+ <p>Currently, Apache Ant 1.9.6 is the best available version, see the
<a href="[preferred]/ant/README.html">release notes</a>.</p>
<div class="warning">
<div class="label">Note</div>
-<div class="content">Ant 1.9.5 was released on 03-Jun-2015 and
+<div class="content">Ant 1.9.6 was released on 02-Jul-2015 and
may not be available on all mirrors for a few days.</div>
</div>
<br />
@@ -268,25 +268,25 @@ may not be available on all mirrors for
</div>
<ul>
<li><code>.zip</code> archive:
-<a href="[preferred]/ant/manual/apache-ant-1.9.5-manual.zip">apache-ant-1.9.5-manual.zip</a>
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.zip.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.zip.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.zip.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.zip.md5">MD5</a>]</li>
+<a href="[preferred]/ant/manual/apache-ant-1.9.6-manual.zip">apache-ant-1.9.6-manual.zip</a>
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.zip.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.zip.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.zip.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.zip.md5">MD5</a>]</li>
<li><code>.tar.gz</code> archive:
-<a href="[preferred]/ant/manual/apache-ant-1.9.5-manual.tar.gz">apache-ant-1.9.5-manual.tar.gz</a>
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.tar.gz.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.tar.gz.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.tar.gz.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.tar.gz.md5">MD5</a>]</li>
+<a href="[preferred]/ant/manual/apache-ant-1.9.6-manual.tar.gz">apache-ant-1.9.6-manual.tar.gz</a>
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.tar.gz.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.tar.gz.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.tar.gz.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.tar.gz.md5">MD5</a>]</li>
<li><code>.tar.bz2</code> archive:
-<a href="[preferred]/ant/manual/apache-ant-1.9.5-manual.tar.bz2">apache-ant-1.9.5-manual.tar.bz2</a>
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.tar.bz2.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.tar.bz2.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.tar.bz2.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.5-manual.tar.bz2.md5">MD5</a>]</li>
+<a href="[preferred]/ant/manual/apache-ant-1.9.6-manual.tar.bz2">apache-ant-1.9.6-manual.tar.bz2</a>
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.tar.bz2.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.tar.bz2.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.tar.bz2.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/manual/apache-ant-1.9.6-manual.tar.bz2.md5">MD5</a>]</li>
</ul>
<h3 class="section">
<a name="Old Ant Releases"></a>
@@ -309,17 +309,17 @@ directory</a>, rather than from a mirror
using</p>
<p><code>
% pgpk -a KEYS<br />
-% pgpv apache-ant-1.9.5-manual.tar.gz.asc<br />
+% pgpv apache-ant-1.9.6-manual.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% pgp -ka KEYS<br />
-% pgp apache-ant-1.9.5-manual.tar.gz.asc<br />
+% pgp apache-ant-1.9.6-manual.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% gpg --import KEYS<br />
-% gpg --verify apache-ant-1.9.5-manual.tar.gz.asc
+% gpg --verify apache-ant-1.9.6-manual.tar.gz.asc
</code></p>
<p>A command line version of <a href="http://www.gnupg.org/download/">GnuPG</a>
is also available for Windows users. Follow the
Modified: ant/site/ant/production/srcdownload.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/srcdownload.html?rev=1688944&r1=1688943&r2=1688944&view=diff
==============================================================================
--- ant/site/ant/production/srcdownload.html (original)
+++ ant/site/ant/production/srcdownload.html Fri Jul 3 04:58:16 2015
@@ -257,11 +257,11 @@ Other mirrors: <select name="Preferred">
<a name="Current Release of Apache Ant"></a>
Current Release of Apache Ant
</h3>
- <p>Currently, Apache Ant 1.9.5 is the best available version, see the
+ <p>Currently, Apache Ant 1.9.6 is the best available version, see the
<a href="[preferred]/ant/README.html">release notes</a>.</p>
<div class="warning">
<div class="label">Note</div>
-<div class="content">Ant 1.9.5 was released on 03-Jun-2015 and
+<div class="content">Ant 1.9.6 was released on 02-Jul-2015 and
may not be available on all mirrors for a few days.</div>
</div>
<br />
@@ -272,25 +272,25 @@ may not be available on all mirrors for
</div>
<ul>
<li><code>.zip</code> archive:
-<a href="[preferred]/ant/source/apache-ant-1.9.5-src.zip">apache-ant-1.9.5-src.zip</a>
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.zip.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.zip.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.zip.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.zip.md5">MD5</a>]</li>
+<a href="[preferred]/ant/source/apache-ant-1.9.6-src.zip">apache-ant-1.9.6-src.zip</a>
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.zip.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.zip.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.zip.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.zip.md5">MD5</a>]</li>
<li><code>.tar.gz</code> archive:
-<a href="[preferred]/ant/source/apache-ant-1.9.5-src.tar.gz">apache-ant-1.9.5-src.tar.gz</a>
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.gz.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.gz.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.gz.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.gz.md5">MD5</a>]</li>
+<a href="[preferred]/ant/source/apache-ant-1.9.6-src.tar.gz">apache-ant-1.9.6-src.tar.gz</a>
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.gz.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.gz.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.gz.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.gz.md5">MD5</a>]</li>
<li><code>.tar.bz2</code> archive:
-<a href="[preferred]/ant/source/apache-ant-1.9.5-src.tar.bz2">apache-ant-1.9.5-src.tar.bz2</a>
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2.asc">PGP</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2.sha1">SHA1</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2.sha512">SHA512</a>]
-[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.5-src.tar.bz2.md5">MD5</a>]</li>
+<a href="[preferred]/ant/source/apache-ant-1.9.6-src.tar.bz2">apache-ant-1.9.6-src.tar.bz2</a>
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.bz2.asc">PGP</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.bz2.sha1">SHA1</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.bz2.sha512">SHA512</a>]
+[<a href="https://www.apache.org/dist/ant/source/apache-ant-1.9.6-src.tar.bz2.md5">MD5</a>]</li>
</ul>
<h3 class="section">
<a name="Old Ant Releases"></a>
@@ -313,17 +313,17 @@ directory</a>, rather than from a mirror
using</p>
<p><code>
% pgpk -a KEYS<br />
-% pgpv apache-ant-1.9.5-src.tar.gz.asc<br />
+% pgpv apache-ant-1.9.6-src.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% pgp -ka KEYS<br />
-% pgp apache-ant-1.9.5-src.tar.gz.asc<br />
+% pgp apache-ant-1.9.6-src.tar.gz.asc<br />
</code>
<em>or</em><br />
<code>
% gpg --import KEYS<br />
-% gpg --verify apache-ant-1.9.5-src.tar.gz.asc
+% gpg --verify apache-ant-1.9.6-src.tar.gz.asc
</code></p>
<p>Alternatively, you can verify the checksums on the files. Unix
programs called <code>md5</code>/<code>sha1</code>/<code>sha512</code> or