ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: how to copy/move a file to dynamically generated file name
Date Thu, 13 Jun 2002 04:18:05 GMT
--- "Chabbewal, Navjeet" <navjeet.chabbewal@us.didata.com> wrote:
> I forgot to mention one thing, the environment name used in properties
> file (dev in this case) is passed in to ant as -D property deployEnv. So
> I tried ${${deployEnv}.hostname}_${${deployEnv}.realm}.xml but that does
> not seem to work.

The ant-contrib <propertycopy> task allows you to do that sort of thing.

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message