[Bluej-discuss] Backup file error messages
Michael Kölling
M.Kolling at kent.ac.uk
Thu Sep 13 09:32:15 BST 2007
On 13 Sep 2007, at 02:47, Hedley Finger wrote:
> 6 Make another class, change a method and compile.
>
> 7 Add another method and compile, then quit BlueJ.
>
> Created *.java, *.java# and *.java~ files.
I think I know what might be going on. I think it has to do with the
SECOND edit. The first save succeeds and leaves the ~ file. The
second save fails.
This might be because the rename to a file name that exists might
fail. It is OS dependent how the file system reacts when trying to
rename a file, and the target file name already exists...
We should just delete old backup files before creating new ones.
If this is indeed the problem, we would have to fix this in the next
BlueJ release. In the meantime, people who experience this problem
should switch backup off.
Michael
More information about the bluej-discuss
mailing list