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

chebrard
04.52.2009 532463a23dac7820a1804985595a18aac58711e1
refs
author chebrard <chebrard@localhost>
Monday, May 4, 2009 14:52 +0200
committer chebrard <chebrard@localhost>
Monday, May 4, 2009 14:52 +0200
commit532463a23dac7820a1804985595a18aac58711e1
tree f92e0d8255a90fb9b210c546ef6196a5ea8d0fea tree | zip | gz
parent e0dcbe0d17e7fccc9741dd4bdb1252c2c885aad8 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
opends/src/quicksetup/org/opends/quicksetup/upgrader/Upgrader.java 18 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/configurator/CheckInstance.java 29 ●●●● diff | view | raw | blame | history