ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: Scope of Types
Date Tue, 05 Jun 2001 10:39:04 GMT
At 11:20 AM 6/5/01 +0200, Stefan Bodewig wrote:
>Peter Donald <donaldp@apache.org> wrote:
>
>> At 09:36 AM 6/5/01 +0200, Stefan Bodewig wrote:
>>>Your counterargument is sharing values via the ${} syntax doesn't
>>>require sharing types - but what if you want to share IDs?
>> 
>> whats the difference between IDs and property values?
>
>Using something via refid implies a typed value, using ${} does not -
>especially if the defining project doesn't know the type project B
>will be using.

okay - in that case I would just treat it as a normal proeprty and if it
can not be resolved (and possibly converted) to be of correct type then it
throws a TaskException. Thoughtts?

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message