Diane Holt <[EMAIL PROTECTED]> wrote:
> Here's another question... From the "Writing a Simple Buildfile"
> section: Each element of the buildfile can have an id attribute and
> can later be referred to by the value supplied to this. The value
> has to be unique. What is this referring to?
<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").
Stefan