ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: 'nother question (was: Re: Quick question wrt JAVA_HOME)
Date Tue, 09 Jan 2001 08:09:30 GMT
--- Stefan Bodewig <bodewig@apache.org> wrote:
> <task id="sometask" />
> 
> The id attribute has the value sometask. You can refer to the
> corresponding task object in scripts or other tasks via this name. In
> scripts you could do
> 
> <script ...>
>   sometask.setFoo("bar");
> </script>
> 
> to set the foo attribute of this particular task instance. In another
> task (written in Java) you can access the instance via
> project.getReference("sometask").

Really? I had no idea you could do that. You can do that for any task? --
it's not an aspect of the individual tasks themselves, but rather
something taken care of in Task.java?

I'll scoop up what you've written here and stick it in the doc.

Thanks,
Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/

Mime
View raw message