jhm 2003/11/25 05:31:23 Modified: docs/manual/CoreTasks Tag: ANT_16_BRANCH xmlproperty.html docs/manual/OptionalTasks Tag: ANT_16_BRANCH script.html docs/manual/CoreTypes Tag: ANT_16_BRANCH selectors.html Log: Sync with HEAD Revision Changes Path No revision No revision 1.4.2.3 +5 -4 ant/docs/manual/CoreTasks/xmlproperty.html Index: xmlproperty.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTasks/xmlproperty.html,v retrieving revision 1.4.2.2 retrieving revision 1.4.2.3 diff -u -r1.4.2.2 -r1.4.2.3 --- xmlproperty.html 24 Oct 2003 09:00:29 -0000 1.4.2.2 +++ xmlproperty.html 25 Nov 2003 13:31:23 -0000 1.4.2.3 @@ -9,7 +9,8 @@ <h2><a name="xmlproperty">XmlProperty</a></h2> <h3>Description</h3> <p> -Loads property values from a well-formed xml file. This XML property file: +Loads property values from a well-formed xml file. There are no other restrictions +than "well-formed". You can choose the layout you want. For example this XML property file: <pre> <root> <properties> @@ -96,7 +97,7 @@ <td valign="top">Keep the xml root tag as the first value in the property name.</td> <td valign="top" align="center">No, default is <i>true</i>.</td> - </tr> + </tr> <tr> <td valign="top">validate</td> <td valign="top">Validate the input file (e.g. by a DTD). Otherwise the XML must only be well-formed.</td> @@ -113,7 +114,7 @@ See the <a href="#semanticAttributes">Semantic Attributes</a> section for more information.</td> <td valign="top" align="center">No, default is <i>false</i>.</td> - </tr> + </tr> <tr> <td valign="top">includeSemanticAttribute</td> <td valign="top">Include the semantic attribute name @@ -139,7 +140,7 @@ <p>Here is an example xml file that does not have any semantic attributes.</p> -<pre> +<pre> <root-tag myattr="true"> <inner-tag someattr="val">Text</inner-tag> <a2><a3><a4>false</a4></a3></a2> No revision No revision 1.13.2.2 +2 -4 ant/docs/manual/OptionalTasks/script.html Index: script.html =================================================================== RCS file: /home/cvs/ant/docs/manual/OptionalTasks/script.html,v retrieving revision 1.13.2.1 retrieving revision 1.13.2.2 diff -u -r1.13.2.1 -r1.13.2.2 --- script.html 9 Oct 2003 21:01:11 -0000 1.13.2.1 +++ script.html 25 Nov 2003 13:31:23 -0000 1.13.2.2 @@ -162,10 +162,8 @@ <font color=blue>fs.setIncludes(includes)</font>; fs.setExcludes(excludes); - // Get the files of that fileset + // Get the files (array) of that fileset ds = fs.getDirectoryScanner(project); - - // Get the source files (array) srcFiles = ds.getIncludedFiles(); // iterate over that array @@ -187,7 +185,7 @@ </project> </pre></blockquote> <p>We want to use the Java API. Because we donīt want always typing the package signature -we do an import. Rhino knows to different methods for import statements: one for packages +we do an import. Rhino knows two different methods for import statements: one for packages and one for a single class. By default only the <i>java</i> packages are available, so <i>java.lang.System</i> can be directly imported with <code>importClass/importPackage</code>. For other packages you have to prefix the full classified name with <i>Package</i>. No revision No revision 1.15.2.3 +13 -3 ant/docs/manual/CoreTypes/selectors.html Index: selectors.html =================================================================== RCS file: /home/cvs/ant/docs/manual/CoreTypes/selectors.html,v retrieving revision 1.15.2.2 retrieving revision 1.15.2.3 diff -u -r1.15.2.2 -r1.15.2.3 --- selectors.html 9 Oct 2003 21:01:11 -0000 1.15.2.2 +++ selectors.html 25 Nov 2003 13:31:23 -0000 1.15.2.3 @@ -605,7 +605,7 @@ <a name="modified"></a> <h4>Modified Selector</h4> - <p>The <modified> computes a value for a file, compares that + <p>The <modified> selector computes a value for a file, compares that to the value stored in a cache and select the file, if these two values differ.</p> <p>Because this selector is highly configurable the order in which the selection is done @@ -614,7 +614,7 @@ <li> get the cached value from the configured cache (absolute path as key) </li> <li> get the new value from the configured algorithm </li> <li> compare these two values with the configured comparator </li> - <li> update the cache if needed and wished </li> + <li> update the cache if needed and requested </li> <li> do the selection according to the comparison result </li> </ol> The comparison, computing of the hashvalue and the store is done by implementation @@ -722,6 +722,17 @@ </ul> </td> </tr> + <tr><td colspan="2"><font size="+1"><b> Comparatorīs </b></font></td></tr> + <tr> + <td valign="top"> equal </td> + <td valign="top"> Very simple object comparison. </td> + </tr> + <tr> + <td valign="top"> rule </td> + <td valign="top"> Uses <i>java.text.RuleBasedCollator</i> for Object + comparison. + </td> + </tr> </table> <p>Here are some examples of how to use the Modified Selector:</p> @@ -1187,6 +1198,5 @@ </body> </html> -
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]