Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
scriptdef context

scriptdef context

2004-02-13       - By Arthur Allen
Reply:     1     2     3     4  

I'm trying to reference a task or target from a beanshell scriptdef.
There appears to be a difference between the context of an inline script and
a scriptdef with respect to access to such objects. In the former case, i
can use constructs like

theEcho.setMessage(...);

where theEcho serves as the id of an existing task, and in the latter case I
cannot:
theEcho comes up as undefined!

What should I do?

Thanks, Arthur

_________________________________________________________________
Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up
Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.