ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <>
Subject Re: [PATCH] Script enhancement to standardize the "project" object exposed
Date Fri, 28 Sep 2001 15:36:57 GMT

----- Original Message -----
From: "Peter Donald" <>
To: <>
Sent: Friday, September 28, 2001 8:08 AM
Subject: Re: [PATCH] Script enhancement to standardize the "project" object

> What is the reason for allowing script access to itself and it's target?
> value does it add? Access to project is required because currently you
> 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?


View raw message