git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@271836 13f79535-47bb-0310-9956-ffa450edef68master
@@ -490,9 +490,9 @@ Implicit tasks can be used to initialise the project. For example:</p> | |||||
</td></tr> | </td></tr> | ||||
<tr><td> | <tr><td> | ||||
<blockquote> | <blockquote> | ||||
<p>Targets have the same format as in Ant 1.x, though some of the behaviour | |||||
is different. A <code><target></code> element takes the following | |||||
attributes:</p> | |||||
<p>Targets have a similar format to targets in Ant 1.x, though some of the | |||||
behaviour is different. A <code><target></code> element takes the | |||||
following attributes:</p> | |||||
<table> | <table> | ||||
<tr> | <tr> | ||||
<td bgcolor="#039acc" colspan="" rowspan="" | <td bgcolor="#039acc" colspan="" rowspan="" | ||||
@@ -553,48 +553,6 @@ attributes:</p> | |||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | <font color="#000000" size="-1" face="arial,helvetica,sanserif"> | ||||
None | None | ||||
</font> | </font> | ||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td bgcolor="#a0ddf0" colspan="" rowspan="" | |||||
valign="top" align="left"> | |||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | |||||
if | |||||
</font> | |||||
</td> | |||||
<td bgcolor="#a0ddf0" colspan="" rowspan="" | |||||
valign="top" align="left"> | |||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | |||||
Only execute this target if the specified property is set, and not | |||||
equal to <code>false</code>. | |||||
</font> | |||||
</td> | |||||
<td bgcolor="#a0ddf0" colspan="" rowspan="" | |||||
valign="top" align="left"> | |||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | |||||
None | |||||
</font> | |||||
</td> | |||||
</tr> | |||||
<tr> | |||||
<td bgcolor="#a0ddf0" colspan="" rowspan="" | |||||
valign="top" align="left"> | |||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | |||||
unless | |||||
</font> | |||||
</td> | |||||
<td bgcolor="#a0ddf0" colspan="" rowspan="" | |||||
valign="top" align="left"> | |||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | |||||
Do not execute this target if the specified property is set, and not | |||||
equal to <code>false</code>. | |||||
</font> | |||||
</td> | |||||
<td bgcolor="#a0ddf0" colspan="" rowspan="" | |||||
valign="top" align="left"> | |||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | |||||
None | |||||
</font> | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
@@ -317,12 +317,6 @@ | |||||
<li>Fire ProjectListener events projectStarted() and projectFinished() | <li>Fire ProjectListener events projectStarted() and projectFinished() | ||||
events on start and finish of referenced projects, adding indicator methods | events on start and finish of referenced projects, adding indicator methods | ||||
to ProjectEvent.</li> | to ProjectEvent.</li> | ||||
<li>Validate project and target names in DefaultProjectBuilder - reject dodgy | |||||
names like "," or "", or " ". Probably want to reject names that start or | |||||
end with white-space (though internal whitespace is probably fine). We also | |||||
want to reserve certain punctuation characters like , : ? $ [ ] { } < >, etc for | |||||
future use.</li> | |||||
<li>Similarly, validate property names, using the same rules.</li> | |||||
<li>Detect duplicate type names.</li> | <li>Detect duplicate type names.</li> | ||||
<li>Add fully qualified type names, based on antlib name and type shorthand name. | <li>Add fully qualified type names, based on antlib name and type shorthand name. | ||||
Allow these to be used in build files in addition to the shorthand names.</li> | Allow these to be used in build files in addition to the shorthand names.</li> | ||||
@@ -333,6 +327,10 @@ | |||||
<li>Split up <code><is-set></code> condition into is-set and is-true conditions.</li> | <li>Split up <code><is-set></code> condition into is-set and is-true conditions.</li> | ||||
<li>Allow the <code><if></code> task to take any condition implementation.</li> | <li>Allow the <code><if></code> task to take any condition implementation.</li> | ||||
<li>Add an else block to the <code><if></code> task.</li> | <li>Add an else block to the <code><if></code> task.</li> | ||||
<li>Split the <code><available></code> condition into separate conditions | |||||
that test for the availability of a class, or a resource.</li> | |||||
<li>Move <code>crimson.jar</code> to <code>bin/lib</code> in the distribution, | |||||
and make to other jars via the extension mechanism.</li> | |||||
<li>Unit tests.</li> | <li>Unit tests.</li> | ||||
</ul> | </ul> | ||||
</blockquote> | </blockquote> | ||||
@@ -136,14 +136,13 @@ | |||||
valign="top" align="left"> | valign="top" align="left"> | ||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | <font color="#000000" size="-1" face="arial,helvetica,sanserif"> | ||||
The contents of Zip files (and Jar, War, and Ear files). | The contents of Zip files (and Jar, War, and Ear files). | ||||
Currently, the VFS supports read-only access to Zip file contents, | |||||
and only for local Zip files. | |||||
Currently, the VFS supports read-only access to Zip file contents. | |||||
</font> | </font> | ||||
</td> | </td> | ||||
<td bgcolor="#a0ddf0" colspan="" rowspan="" | <td bgcolor="#a0ddf0" colspan="" rowspan="" | ||||
valign="top" align="left"> | valign="top" align="left"> | ||||
<font color="#000000" size="-1" face="arial,helvetica,sanserif"> | <font color="#000000" size="-1" face="arial,helvetica,sanserif"> | ||||
<code>zip://</code> <i>zip-file-path</i> [<code>!</code><i>absolute-path</i>] | |||||
<code>zip:</code> <i>zip-file-uri</i> [<code>!</code><i>absolute-path</i>] | |||||
</font> | </font> | ||||
</td> | </td> | ||||
</tr> | </tr> | ||||
@@ -188,12 +187,14 @@ | |||||
</td> | </td> | ||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<p>Both forward or backward slashes can be used to separate the elements of | |||||
a URL.</p> | |||||
<p>Here are some example URLs:</p> | <p>Here are some example URLs:</p> | ||||
<ul> | <ul> | ||||
<li><code>build/classes</code></li> | <li><code>build/classes</code></li> | ||||
<li><code>c:\program files\ant\bin</code></li> | <li><code>c:\program files\ant\bin</code></li> | ||||
<li><code>file://C:/program files/ant</code></li> | <li><code>file://C:/program files/ant</code></li> | ||||
<li><code>zip://build/lib/ant.jar!/org/apache/tools</code></li> | |||||
<li><code>zip:build/lib/ant.jar!/org/apache/tools</code></li> | |||||
<li><code>ftp://adam@somehost/pub/downloads</code></li> | <li><code>ftp://adam@somehost/pub/downloads</code></li> | ||||
<li><code>smb://password:adam@somehost/home/adam</code></li> | <li><code>smb://password:adam@somehost/home/adam</code></li> | ||||
</ul> | </ul> | ||||
@@ -168,9 +168,9 @@ Implicit tasks can be used to initialise the project. For example:</p> | |||||
<subsection name="Targets"> | <subsection name="Targets"> | ||||
<p>Targets have the same format as in Ant 1.x, though some of the behaviour | |||||
is different. A <code><target></code> element takes the following | |||||
attributes:</p> | |||||
<p>Targets have a similar format to targets in Ant 1.x, though some of the | |||||
behaviour is different. A <code><target></code> element takes the | |||||
following attributes:</p> | |||||
<table> | <table> | ||||
<tr><th>Attribute</th><th>Description</th><th>Default Value</th></tr> | <tr><th>Attribute</th><th>Description</th><th>Default Value</th></tr> | ||||
@@ -185,18 +185,6 @@ attributes:</p> | |||||
This list can contain targets from referenced projects.</td> | This list can contain targets from referenced projects.</td> | ||||
<td>None</td> | <td>None</td> | ||||
</tr> | </tr> | ||||
<tr> | |||||
<td>if</td> | |||||
<td>Only execute this target if the specified property is set, and not | |||||
equal to <code>false</code>.</td> | |||||
<td>None</td> | |||||
</tr> | |||||
<tr> | |||||
<td>unless</td> | |||||
<td>Do not execute this target if the specified property is set, and not | |||||
equal to <code>false</code>.</td> | |||||
<td>None</td> | |||||
</tr> | |||||
</table> | </table> | ||||
</subsection> | </subsection> | ||||
@@ -219,6 +219,10 @@ | |||||
<li>Split up <code><is-set></code> condition into is-set and is-true conditions.</li> | <li>Split up <code><is-set></code> condition into is-set and is-true conditions.</li> | ||||
<li>Allow the <code><if></code> task to take any condition implementation.</li> | <li>Allow the <code><if></code> task to take any condition implementation.</li> | ||||
<li>Add an else block to the <code><if></code> task.</li> | <li>Add an else block to the <code><if></code> task.</li> | ||||
<li>Split the <code><available></code> condition into separate conditions | |||||
that test for the availability of a class, or a resource.</li> | |||||
<li>Move <code>crimson.jar</code> to <code>bin/lib</code> in the distribution, | |||||
and make to other jars via the extension mechanism.</li> | |||||
<li>Unit tests.</li> | <li>Unit tests.</li> | ||||
</ul> | </ul> | ||||
@@ -31,9 +31,8 @@ | |||||
<tr> | <tr> | ||||
<td>Zip Files</td> | <td>Zip Files</td> | ||||
<td>The contents of Zip files (and Jar, War, and Ear files). | <td>The contents of Zip files (and Jar, War, and Ear files). | ||||
Currently, the VFS supports read-only access to Zip file contents, | |||||
and only for local Zip files.</td> | |||||
<td><code>zip://</code> <i>zip-file-path</i> [<code>!</code><i>absolute-path</i>]</td> | |||||
Currently, the VFS supports read-only access to Zip file contents.</td> | |||||
<td><code>zip:</code> <i>zip-file-uri</i> [<code>!</code><i>absolute-path</i>]</td> | |||||
</tr> | </tr> | ||||
<tr> | <tr> | ||||
<td>FTP</td> | <td>FTP</td> | ||||
@@ -47,13 +46,16 @@ | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<p>Both forward or backward slashes can be used to separate the elements of | |||||
a URL.</p> | |||||
<p>Here are some example URLs:</p> | <p>Here are some example URLs:</p> | ||||
<ul> | <ul> | ||||
<li><code>build/classes</code></li> | <li><code>build/classes</code></li> | ||||
<li><code>c:\program files\ant\bin</code></li> | <li><code>c:\program files\ant\bin</code></li> | ||||
<li><code>file://C:/program files/ant</code></li> | <li><code>file://C:/program files/ant</code></li> | ||||
<li><code>zip://build/lib/ant.jar!/org/apache/tools</code></li> | |||||
<li><code>zip:build/lib/ant.jar!/org/apache/tools</code></li> | |||||
<li><code>ftp://adam@somehost/pub/downloads</code></li> | <li><code>ftp://adam@somehost/pub/downloads</code></li> | ||||
<li><code>smb://password:adam@somehost/home/adam</code></li> | <li><code>smb://password:adam@somehost/home/adam</code></li> | ||||
</ul> | </ul> | ||||