ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 34633] ReplaceRegExp periodically errors out with "Couldn't rename temporary file"
Date Mon, 10 Dec 2012 22:20:33 GMT

--- Comment #32 from David S <> ---
I just faced the same problem, but got it fixed very easily.

Turns out that apparently, it is related to the path/filename of the file to
which the regexp replacement is being done.

So, instead of trying to do the regexp directly to thefile (located in a path
like C:\build\nightly\files\product_20121210_1600\file.txt), I just tried the

1)copy the file to C:\Temp
2)attempt the regexp to that file (C:\Temp\file.txt)
3)copy the file from C:\Temp to

and that's it. Worked like a charm.

I was using ANT 1.7.1, then moved to 1.8.4 to see if it solved the problem
(which didn't). However, I'm assuming it should work with 1.7.1 as well.

You are receiving this mail because:
You are the assignee for the bug.

View raw message