Patch committed; thanks.
-Matt
--- "Shatzer, Larry"
<[EMAIL PROTECTED]> wrote:
> It is supposed to be importClass(Packages.org...)
> not
> importClass(Package.org...).
>
> Also fix spot to use ' and not "�"
>
> -- Larry
>
> > Index: docs/manual/OptionalTasks/script.html
>
===================================================================
> RCS file:
>
/home/cvspublic/ant/docs/manual/OptionalTasks/script.html,v
> retrieving revision 1.21
> diff -u -r1.21 script.html
> --- docs/manual/OptionalTasks/script.html 19 Nov
> 2004 09:07:11 -0000 1.21
> +++ docs/manual/OptionalTasks/script.html 1 Mar 2005
> 23:00:01 -0000
> @@ -237,13 +237,13 @@
> </target>
> </project>
> </pre></blockquote>
> -<p>We want to use the Java API. Because we don�t
> want always typing the package signature
> +<p>We want to use the Java API. Because we don't
> want always typing the package signature
> 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>.
> +For other packages you have to prefix the full
> classified name with <i>Packages</i>.
> For example ant�s <i>FileUtil</i> class can be
> imported with
>
-<code>importClass(<b>Package</b>.org.apache.tools.ant.util.FileUtils)</code>
>
+<code>importClass(<b>Packages</b>.org.apache.tools.ant.util.FileUtils)</code>
> <br>
> The <code><script></code> task populates the
> Project instance under
> the name <i>project</i>, so we can use that
> reference. Another way is to use its given name
>
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]
__________________________________
Do you Yahoo!?
Yahoo! Sports - Sign up for Fantasy Baseball.
http://baseball.fantasysports.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]