ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: debugging path problems
Date Mon, 23 Apr 2001 00:09:25 GMT
At 07:51  22/4/01 -0400, David Corbin wrote:
>Peter Donald wrote:
>> 
>> At 07:27  22/4/01 -0400, David Corbin wrote:
>> >Nico Seessle wrote:
>> >> > Anyway, that having been said, does ant make this decision when the
path
>> >> > is declared, or used?
>> >>
>> >> When it's declared.
>> >
>> >Well, if I can be sold bold, I think that's a mistake.  Isn't it
>> >reasonable to think that the path-element in question might be created
>> >during the execution of the build script?  It would seem the current
>> >design would have problems with this.
>> 
>> I used to think that but I was convinced otherwise by this list ;) The way
>> I ended up looking at it was to think of path being assigned to a name. It
>> is *interpreted* at assignment time - and all values are resolved.
>> Unfortunately due to placement *issues* of datatypes the only time they can
>> be assigned is during startup. This will change for ant2 though I assume.
>
>
>So what would happen if specified all the pathelements directly in the
>task?  The same thing?

Not sure what you mean ;)

If you mean what would happen if you declared path element in a task - in
ant2 it would mean it would be evaluated and assigned when it is
interpreted (with variables expanded at that time).
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