Author: bodewig Date: Wed Jun 17 20:11:31 2026 New Revision: 1935460 Log: make props antlib page match antlib's content
Modified: ant/site/ant/production/.well-known/security.txt ant/site/ant/production/antlibs/props/index.html ant/site/ant/sources/antlibs/props/index.xml Modified: ant/site/ant/production/.well-known/security.txt ============================================================================== --- ant/site/ant/production/.well-known/security.txt Wed Jun 17 18:45:04 2026 (r1935459) +++ ant/site/ant/production/.well-known/security.txt Wed Jun 17 20:11:31 2026 (r1935460) @@ -1,4 +1,4 @@ Contact: https://ant.apache.org/security.html -Expires: 2027-05-04T00:00:00.000Z +Expires: 2027-05-17T00:00:00.000Z Preferred-Languages: en Policy: https://ant.apache.org/security.html Modified: ant/site/ant/production/antlibs/props/index.html ============================================================================== --- ant/site/ant/production/antlibs/props/index.html Wed Jun 17 18:45:04 2026 (r1935459) +++ ant/site/ant/production/antlibs/props/index.html Wed Jun 17 20:11:31 2026 (r1935460) @@ -243,7 +243,7 @@ <tr> <td colspan="1" rowspan="1" valign="top" align="left"> - refs + types </td> <td colspan="1" rowspan="1" valign="top" align="left"> @@ -251,14 +251,16 @@ </td> <td colspan="1" rowspan="1" valign="top" align="left"> - Given <code>ref:<em>refid</em></code>, - resolves reference <code><em>refid</em></code>. + Given <code><em>type</em>(<em>arg</em>)</code>, attempts + to invoke + <code><em>type</em></code> constructor <code>(<em>project, arg</em>)</code>, + then <code>(<em>arg</em>)</code>. </td> </tr> <tr> <td colspan="1" rowspan="1" valign="top" align="left"> - types + conditions </td> <td colspan="1" rowspan="1" valign="top" align="left"> @@ -266,10 +268,27 @@ </td> <td colspan="1" rowspan="1" valign="top" align="left"> - Given <code><em>type</em>(<em>arg</em>)</code>, attempts - to invoke - <code><em>type</em></code> constructor <code>(<em>project, arg</em>)</code>, - then <code>(<em>arg</em>)</code>. + Given <code><em>condition</em>([<em>arg1=value1</em>,<em>arg2=value2</em>,...])</code>, + attempts to invoke an Ant condition of the given name + setting the given attibute values and evaluates to either + Boolean.TRUE or Boolean.FALSE. Usage looks + like <em>${os(family=unix)}</em> / <em>${!os(family=unix)}</em>. + </td> + </tr> + <tr> + <td colspan="1" rowspan="1" + valign="top" align="left"> + encodeURL + </td> + <td colspan="1" rowspan="1" + valign="top" align="left"> + PropertyEvaluator + </td> + <td colspan="1" rowspan="1" + valign="top" align="left"> + Given <code>encodeURL:<em>arg</em></code>, attempts to encode <em>arg</em> + as a URL per the suggested approach in the javadoc API of <code>java.net.URL</code>. + </td> </tr> </table> @@ -278,7 +297,7 @@ </div> <p class="copyright"> - Copyright © 1999-2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. + Copyright © 1999-2026 The Apache Software Foundation, Licensed under the Apache License, Version 2.0. </p> <p class="copyright"> Apache Ant, Apache Ivy, Apache EasyAnt, Ant, Ivy, EasyAnt, Apache, the Apache feather logo, and the Apache Ant project logos are trademarks of The Apache Software Foundation. Modified: ant/site/ant/sources/antlibs/props/index.xml ============================================================================== --- ant/site/ant/sources/antlibs/props/index.xml Wed Jun 17 18:45:04 2026 (r1935459) +++ ant/site/ant/sources/antlibs/props/index.xml Wed Jun 17 20:11:31 2026 (r1935460) @@ -52,12 +52,6 @@ <td>Implements *nix shell-inspired string operations.</td> </tr> <tr> - <td align="center">refs</td> - <td align="center">PropertyEvaluator</td> - <td>Given <code>ref:<em>refid</em></code>, - resolves reference <code><em>refid</em></code>.</td> - </tr> - <tr> <td align="center">types</td> <td align="center">PropertyEvaluator</td> <td>Given <code><em>type</em>(<em>arg</em>)</code>, attempts @@ -65,6 +59,22 @@ <code><em>type</em></code> constructor <code>(<em>project, arg</em>)</code>, then <code>(<em>arg</em>)</code>.</td> </tr> + <tr> + <td align="center">conditions</td> + <td align="center">PropertyEvaluator</td> + <td>Given <code><em>condition</em>([<em>arg1=value1</em>,<em>arg2=value2</em>,...])</code>, + attempts to invoke an Ant condition of the given name + setting the given attibute values and evaluates to either + Boolean.TRUE or Boolean.FALSE. Usage looks + like <em>${os(family=unix)}</em> / <em>${!os(family=unix)}</em>.</td> + </tr> + <tr> + <td align="center">encodeURL</td> + <td align="center">PropertyEvaluator</td> + <td>Given <code>encodeURL:<em>arg</em></code>, attempts to encode <em>arg</em> + as a URL per the suggested approach in the javadoc API of <code>java.net.URL</code>. + </td> + </tr> </table> </section> </body>
