Project

General

Profile

Bug #642

Automatic update of config.xml needed when new version installed

Added by Dan Higgins over 16 years ago. Updated over 16 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
morpho - general
Target version:
Start date:
10/21/2002
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
642

Description

'config.xml' file now stored in the user's home directory. We need Morpho to
automatically update this file when a new version of Morpho is installed.

(Perhaps replace when the version number changes?)

History

#1 Updated by Matt Jones over 16 years ago

Definitely needed. Reassigning to jones.

#2 Updated by Matt Jones over 16 years ago

Finished code to automatically upgrade the config.xml file for users. Now,
when you update the morpho version, you must do so in two places (the
lib/config.xml file, and the Morpho.java VERSION field). At runtime, these
two fields are compared and, if they don't match, the existing config.xml
is saved as a backup and the new one from the jar file is copied to the
user's config directory. If the user has made changes to the config.xml file,
they will need to remake those changes in the new copy that is now in their
configDir.

#3 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 642

Also available in: Atom PDF