ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 34633] ReplaceRegExp periodically errors out with "Couldn't rename temporary file"
Date Mon, 10 Dec 2012 22:20:33 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=34633

--- Comment #32 from David S <daimonion@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.

Mime
View raw message