[josm-dev] problems with saving files in JOSM

Petr Nejedly Petr.Nejedly at Sun.COM
Thu Jan 3 21:29:03 GMT 2008


Petr Nejedly napsal(a):
> Igor Brejc napsal(a):
>> As I'm no expert on Java in combination with Windows, I'm wondering:
>> - is this a Vista issue?
> 
> Well, the issue is trvially and 100% reproducible even on linux:
> 1. New file
> 2. create two nodes (1 way)
> 3. Save (enter some name)
> 4. create another way (another 2 nodes)
> 5. Save -> now the file is not really saved
> 
> 6. Save as (another file name) -> thie file is saved correctly.

So I have debugged it and the problem is simple.
The data is saved correctly, but then the (preserved, according to my settings)
backup file is copied back over the new save (as if the save had failed).
The fix should be trivial...

-- 
Petr "Nenik" Nejedly, NetBeans/Sun Microsystems, http://www.netbeans.org
355/113 -- Not the famous irrational number PI, but an incredible simulation!




More information about the josm-dev mailing list