ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raja Nagendra Kumar <nagendra.r...@tejasoft.com>
Subject Re: Copy task not to overwrite but rename the file as _1 _2 etc..
Date Mon, 07 Oct 2013 14:13:38 GMT
Hi Matt,

Are there any pre-packaged mappers in ant.. which does this mapping by 
default.. For flattening there is one already.. but do not see any for 
rename when file already exists.. requirement of mine..

Regards,
Nagendra
On 10/7/2013 7:25 PM, Matt Benson wrote:
> It sounds like you want the functionality provided by filename mappers.
>
> Matt
> On Oct 7, 2013 4:20 AM, "Raja Nagendra Kumar"<nagendra.raja@tejasoft.com>
> wrote:
>
>> Hi
>>
>> Does copy task have any option to rename to be copie file as
>> existing_file_1.xx etc.. just like windows does rename the existing files..
>>
>> Regards,
>> Nagendra
>>
>>
>>
>> --
>> View this message in context:
>> http://ant.1045680.n5.nabble.com/Copy-task-not-to-overwrite-but-rename-the-file-as-1-2-etc-tp5714507.html
>> Sent from the Ant - Users mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>> For additional commands, e-mail: user-help@ant.apache.org
>>
>>

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


Mime
View raw message