mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

chebrard
04.52.2009 d972f874237bd1b677a85163ce0a7bb351811eda
refs
author chebrard <chebrard@localhost>
Monday, May 4, 2009 14:52 +0200
committer chebrard <chebrard@localhost>
Monday, May 4, 2009 14:52 +0200
commitd972f874237bd1b677a85163ce0a7bb351811eda
tree dbd6faa813e3baeb01ec17ac63445a02ee178884 tree | zip | gz
parent 57d3d83517080dfde5cd7cda297f3dca3459041f view | diff
Fix for issue #3958: Upgrade should support products built on top of OpenDS

OpenDS can be customized: quicksetup splashscreen / product name ... But upgrade CLI fails as soon as current version and target version are the same. This change allows upgrade to a same version as soon as the product names are different so allows upgrading from an OpenDS to a customized OpenDS.

This also fixes issue #3959 (Add a way to have the version of the instance) for Unix platform. For that, we add a file in the instance files (config/buildinfo) that contains the version number of the instance. This file were already created in SVR4 and pkg(5) deliveries context. This change creates the file in ZIP delivery context.
For Windows platform, some changes are required in the .bat files to solve issue #3959 (Add a way to have the version of the instance). These changes will be handled by another commit.

2 files modified
47 ■■■■ changed files
opendj-sdk/opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 18 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/configurator/CheckInstance.java 29 ●●●● diff | view | raw | blame | history