You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2012/12/10 23:20:33 UTC
[Bug 34633] ReplaceRegExp periodically errors out with "Couldn't
rename temporary file"
https://issues.apache.org/bugzilla/show_bug.cgi?id=34633
--- Comment #32 from David S <da...@gmail.com> ---
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
following:
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
C:\build\nightly\files\product_20121210_1600\file.txt
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.