ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "RADEMAKERS Tanguy" <>
Subject RE: How to RENAME a file in ANT 1.6.2
Date Fri, 22 Jun 2007 14:06:14 GMT
Hello Satheesh,

You should use a <copy> task with a nested <mapper> - probably a
<globmapper> or a <regexpmapper> depending on how you want to rename the

Check the documentation for the <mapper> in the Core Types section of
the documentation.


>-----Original Message-----
>From: Satheesh [] 
>Sent: Friday, June 22, 2007 3:12 PM
>To: Ant Users List
>Subject: How to RENAME a file in ANT 1.6.2
>I need to copy a file and rename it and store it in some other folder.
>What tag should i use..
>Is that <rename> or <move> or <file>//
>Am not clear in it.
>Satheesh . J
>99450 31654
>Lisle Technology Partners India Pvt Ltd
>1134, 4th Floor, 100 Feet Road
>HAL 2nd Stage, Indiranagar
>Bangalore 560 038, India
>Telefax. +91-80-2521 0604/05

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message