From 6b0fce797c1f3103c099d86b1686097b96d2405c Mon Sep 17 00:00:00 2001
From: Jan Materne
Date: Tue, 25 Nov 2003 11:30:45 +0000
Subject: [PATCH] spell check
git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275686 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/OptionalTasks/script.html | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
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.