ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Baltz <KBa...@responsenetworks.com>
Subject RE: setting properties from a User defined Task.
Date Mon, 07 Aug 2000 13:22:36 GMT
Yes, but the behavior I'm seeing is ${} being expanded _after_ my getjars
task runs.

K.C.

> -----Original Message-----
> From: Peter Donald [mailto:donaldp@mad.scientist.com]
> Sent: Sunday, August 06, 2000 10:43 PM
> To: ant-user@jakarta.apache.org
> Subject: RE: setting properties from a User defined Task.
> 
> 
> At 08:27  7/8/00 -0400, you wrote:
> >What am I missing here?  Or is this a "bug/feature"?
> 
> Both :P - depending on your perspective :P. Ant replaces ${} 
> at parse time
> not at task execution time. This is going to change to be 
> done at execution
> time in the future.
> 
> Basically what that means is that when file is originally parsed the
> ${Classpath} is expanded then beofre any tasks are executed. Hence the
> behaviour.
> 
> 
> Cheers,
> 
> Pete
> 
> *------------------------------------------------------*
> | "Nearly all men can stand adversity, but if you want |
> | to test a man's character, give him power."          |
> |       -Abraham Lincoln                               |
> *------------------------------------------------------*
> 

Mime
View raw message