jhm 2003/11/25 03:30:45 Modified: docs/manual/OptionalTasks script.html Log: spell check Revision Changes Path 1.14 +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 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- script.html 12 Sep 2003 14:15:17 -0000 1.13 +++ script.html 25 Nov 2003 11:30:45 -0000 1.14 @@ -161,10 +161,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 @@ -186,7 +184,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>.
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]