Project

General

Profile

Actions

Bug #642

closed

Automatic update of config.xml needed when new version installed

Added by Dan Higgins about 22 years ago. Updated about 22 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?)

Actions #1

Updated by Matt Jones about 22 years ago

Definitely needed. Reassigning to jones.

Actions #2

Updated by Matt Jones about 22 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.

Actions #3

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 642

Actions

Also available in: Atom PDF