Oops. My mistake. I took the target out of context and pasted it into another build file. It was complaining that "squares" and "main" were undefined, but now I see that those are the names of the project and another target. If I grab the whole project the example works fine.
Thanks for your help, Stefan. --Alex Stefan Bodewig <[EMAIL PROTECTED]> 02/17/2005 09:31 AM Please respond to "Ant Users List" To: user@ant.apache.org cc: Subject: Re: Trouble getting script and scriptdef tasks to work On Thu, 17 Feb 2005, alexander buccino <[EMAIL PROTECTED]> wrote: > It's a little cryptic. It says that if you are using bsf-2.3.0-rc1 > you must use rhino-1.5R3 but that later versions of BSF work with > rhino-1.5R4. As far as I can tell, there are no versions of bsf > after bsf-2.3.0-rc1. Unless you build one from BSF's CVS sources yourself, true. But we don't want to modify the manual every time an external library has a new release 8-) > In any case, installing bsf-2.3.0-rc1 and rhino-1.5R3 work, although > the example provided in the Ant manual under the Script task gives > syntax errors. This is strange, since we use the exact same code in our unit tests. Do you remember ther syntax error message? Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]