diff --git a/docs/manual/OptionalTasks/script.html b/docs/manual/OptionalTasks/script.html index 3ef8a12ef..12ac8cf04 100644 --- a/docs/manual/OptionalTasks/script.html +++ b/docs/manual/OptionalTasks/script.html @@ -161,10 +161,8 @@ filesizes of all files a <fileset/> caught.
fs.setIncludes(includes); 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 @@ filesizes of all files a <fileset/> caught. </project>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 java packages are available, so
java.lang.System can be directly imported with importClass/importPackage
.
For other packages you have to prefix the full classified name with Package.