----- Original Message -----
From: "Peter Donald" <donaldp@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Friday, September 28, 2001 8:08 AM
Subject: Re: [PATCH] Script enhancement to standardize the "project" object
exposed
> What is the reason for allowing script access to itself and it's target?
What
> value does it add? Access to project is required because currently you
need
> it to create tasks and uniformlly access properties.
The reason would be so that <script> can be used to write "ad hoc" Tasks
more easily and get directly at its Task instance rather than going through
a roundabout way of hardcoding in an arbitrary reference name.
You don't need Project access to get at properties - they are added as well
as references.
What problems do you see with allowing uniformly named access to the Task
instance given that it could already be reached in a more obtuse way?
Erik
|