[josm-dev] slippymap plugin not wanting to make render requests
openstreetmap at dstoecker.de
Mon Aug 25 22:07:17 BST 2008
On Mon, 25 Aug 2008, Robin Rattay wrote:
> Dirk Stöcker schrieb:
>> On Mon, 25 Aug 2008, Robin Rattay wrote:
>>> Has this actually worked at all or only on specific environments? It
>>> seems that the update mechanism needs to be changed.
>> Works on Linux, but probably you're right and it wont work on Windows due
>> to the strange Windows file locking. Anyway I seldom use Windows, so
>> that's not my problem :-)
>> Maybe a solution would be to store files with an intermediate name in
>> case of copy failure and copy these on restart before plugins get loaded.
> Here you go...
Nah, that always creates a usually useless directory and also always
creates the temporaryfile-on-start-copy. Both is not useful on non-Windows
a) Temporary filename is final name+".tmp".
b) Do the move as is done now. When move fails, leave the tmp file.
c) On start check if there is a temp file and move it when possible.
If not, inform the user.
http://www.dstoecker.eu/ (PGP key available)
More information about the josm-dev