ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: [PATCH] Script enhancement to standardize the "project" object exposed
Date Sun, 30 Sep 2001 03:52:54 GMT
On Sun, 30 Sep 2001 12:57, Sam Ruby wrote:
> Peter Donald wrote:
> > When Ant2 arrives the script task will hopefully only have acccess to to
>
> the
>
> > TaskContext and zero other objects (unless we want to make it easier for
> > usability to access property values in different scopes but thats
> > another thing altogether).
>
> Decloaking...  ;-)
>
> Might as well deprecate the Script task now.  Or do you plan to limit Java
> implementation of tasks similarly?

Tasks are different. The majority of tasks used by the majority of users are 
controlled by ant-dev. Thus the users of ant rarely have to be aware of 
changes in underlying system. The contract is at the XML representation level 
rather than at the code level.

Now if the original writer of Script task had added reasonable abstractions 
for functionality rather than binding directly to an implementation we would 
have been able to migrate people easily without them noticing. Unfortunately 
this is not the case and BSF binds directly to implementation and thus Ant2 
could not be implemented without breaking backwards compatability.

-- 
Cheers,

Pete

*----------------------------------------------*
| The best defense against logic is ignorance. |
*----------------------------------------------*


Mime
View raw message