Return-Path:
createUnicodeExtraFields
Whether to create unicode extra fields to store
the file names a second time inside the entry's metadata.
-
Possible values are "never", "always" and "not-encodable"
+
Possible values are "never", "always" and "not-encodeable"
which will only add Unicode extra fields if the file name cannot
be encoded using the specified encoding.
Since Ant 1.8.0.
@@ -264,6 +264,15 @@ to a value other than its default, Since Ant 1.8.0.
No, default is false
+
+
zip64Mode
+ When to use Zip64 extensions for entries. The
+ possible values are "never", "always" and "as-needed".
+ Since Ant 1.9.1.
+
+
See also the discussion in the
+ zip task pageNo, default is "never"
+ Nested elements
Modified: ant/site/ant/production/manual/Tasks/echoxml.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/echoxml.html?rev=1485180&r1=1485179&r2=1485180&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/echoxml.html (original)
+++ ant/site/ant/production/manual/Tasks/echoxml.html Wed May 22 12:21:11 2013
@@ -48,10 +48,11 @@
namespacePolicy
Sets the namespace policy as defined
- by
- org.apache.tools.ant.util.DOMElementWriter.XmlNamespacePolicy
. Valid
- values are "ignore," "elementsOnly," or "all." Default is
- "ignore".No
+ by org.apache.tools.ant.util.DOMElementWriter.XmlNamespacePolicy
.
+ Valid values are ignore
, elementsOnly
, or all
.
+ Since Apache Ant 1.8
+
+ No, default
ignore
Parameters specified as nested elements
Propchange: ant/site/ant/production/manual/Tasks/include.html
------------------------------------------------------------------------------
Merged /ant/core/tags/ANT_191/manual/Tasks/include.html:r1483159-1485178
Merged /ant/core/trunk/manual/Tasks/include.html:r1453159-1483158
Modified: ant/site/ant/production/manual/Tasks/jar.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/jar.html?rev=1485180&r1=1485179&r2=1485180&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/jar.html (original)
+++ ant/site/ant/production/manual/Tasks/jar.html Wed May 22 12:21:11 2013
@@ -283,7 +283,7 @@ to a value other than its default, createUnicodeExtraFields
Whether to create unicode extra fields to store
the file names a second time inside the entry's metadata.
-
Possible values are "never", "always" and "not-encodable"
+
Possible values are "never", "always" and "not-encodeable"
which will only add Unicode extra fields if the file name cannot
be encoded using the specified encoding.
Since Ant 1.8.0.
@@ -320,6 +320,15 @@ to a value other than its default, Since Ant 1.8.0.
No, default is false
+
+
zip64Mode
+ When to use Zip64 extensions for entries. The
+ possible values are "never", "always" and "as-needed".
+ Since Ant 1.9.1.
+
+
See also the discussion in the
+ zip task pageNo, default is "never"
+ Nested elements
Modified: ant/site/ant/production/manual/Tasks/parallel.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/parallel.html?rev=1485180&r1=1485179&r2=1485180&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/parallel.html (original)
+++ ant/site/ant/production/manual/Tasks/parallel.html Wed May 22 12:21:11 2013
@@ -197,7 +197,6 @@ if the <wljspc>
task
(it may), concurrency problems may arise.
<wljspc>
task
</sequential>
</macrodef>
-<parallel threadCount='4'>
+<parallel threadCount="4">
<dbpurge file="db/one" />
<dbpurge file="db/two" />
<dbpurge file="db/three" />
Modified: ant/site/ant/production/manual/Tasks/signjar.html
URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Tasks/signjar.html?rev=1485180&r1=1485179&r2=1485180&view=diff
==============================================================================
--- ant/site/ant/production/manual/Tasks/signjar.html (original)
+++ ant/site/ant/production/manual/Tasks/signjar.html Wed May 22 12:21:11 2013
@@ -100,6 +100,11 @@ and lazy is false, the JAR is s
createUnicodeExtraFields
Whether to create unicode extra fields to store
the file names a second time inside the entry's metadata.
-
Possible values are "never", "always" and "not-encodable"
+
Possible values are "never", "always" and "not-encodeable"
which will only add Unicode extra fields if the file name cannot
be encoded using the specified encoding.
Since Ant 1.8.0.
@@ -267,6 +267,15 @@ to a value other than its default, Since Ant 1.8.0.
No, default is false
Zip64 extensions provide a way to create archives bigger than 4GB + or holding more than 65535 entries - or add individual entries + bigger than 4GB using the ZIP extension field mechanism. These + extensions are supported by most modern ZIP implementations.
+ +When Ant writes compressed entries into the archive it creates it + doesn't know the compressed size of an entry before it has been + written. Unfortunately the decision whether a Zip64 extra field + will be written has to be made before writing the entry's + content.
+ +Starting with Ant 1.9.0 Ant supports Zip64 extensions but didn't
+ provide any control over their usage, starting with Ant 1.9.1 a
+ new zip64mode attribute was added to the zip
+ family of tasks. It supports three values:
+
+
jar
, ear
+ and war
starting with Ant 1.9.1.zip
task.as-needed provides a good compromise if you don't know
+ whether you archive will exceed the limits of traditional zip files
+ but don't want to waste too much space (the Zip64 extensions take up
+ extra space). Unfortunately some ZIP implementations don't
+ understand Zip64 extra fields or fail to parse archives with extra
+ fields in local file headers that are not present in the central
+ directory, one such implementation is the java.util.zip package of
+ Java5, that's why the jar
tasks default
+ to never. Archives created with as-needed can be
+ read without problems with Java6 and later.
Convenience method: Modified: ant/site/ant/production/manual/Types/namespace.html URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/Types/namespace.html?rev=1485180&r1=1485179&r2=1485180&view=diff ============================================================================== --- ant/site/ant/production/manual/Types/namespace.html (original) +++ ant/site/ant/production/manual/Types/namespace.html Wed May 22 12:21:11 2013 @@ -152,6 +152,10 @@<tstamp/> +<!-- just for explaining the use of the properties --> +<property name="src.file" value="orders.csv"/> +<property name="src.file.replaced" value="orders.replaced"/> + +<!-- do the loading and filtering --> <loadfile srcfile="${src.file}" property="${src.file.replaced}"> <filterchain> <filterreader classname="org.apache.tools.ant.filters.ReplaceTokens"> @@ -594,6 +600,9 @@ with today's date and stores it in the p </filterreader> </filterchain> </loadfile> + +<!-- just for explaining the use of the properties --> +<echo message="${orders.replaced}"/>
+ In Ant 1.9.1 two attribute namespaces ant:if and ant:unless are added in order to allow to insert elements + conditionally +
+Other attributes are simply ignored.
Modified: ant/site/ant/production/manual/conceptstypeslist.html URL: http://svn.apache.org/viewvc/ant/site/ant/production/manual/conceptstypeslist.html?rev=1485180&r1=1485179&r2=1485180&view=diff ============================================================================== --- ant/site/ant/production/manual/conceptstypeslist.html (original) +++ ant/site/ant/production/manual/conceptstypeslist.html Wed May 22 12:21:11 2013 @@ -35,6 +35,7 @@
This is the manual for version 1.9.0 of +
This is the manual for version 1.9.1 of Apache Ant. If your version of Ant (as verified with ant -version) 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=1485180&r1=1485179&r2=1485180&view=diff ============================================================================== --- ant/site/ant/production/manual/credits.html (original) +++ ant/site/ant/production/manual/credits.html Wed May 22 12:21:11 2013 @@ -62,7 +62,7 @@
Version: 1.9.0
+Version: 1.9.1