Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Commit

Permalink
Client-side warning of end of VCell public beta program.
Browse files Browse the repository at this point in the history
  • Loading branch information
jcschaff committed May 14, 2018
1 parent d57aa04 commit 78bf001
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import org.vcell.util.VCellThreadChecker;
import org.vcell.util.document.User;
import org.vcell.util.document.VCellSoftwareVersion;
import org.vcell.util.document.VCellSoftwareVersion.VCellSite;
import org.vcell.util.document.UserLoginInfo.DigestedPassword;

import cbit.rmi.event.MessageEvent;
Expand Down Expand Up @@ -302,6 +303,11 @@ private void checkClientServerSoftwareVersion(InteractiveContext requester, Clie
if (serverSoftwareVersion != null && !serverSoftwareVersion.equals(clientSoftwareVersion)) {
VCellSoftwareVersion clientVersion = VCellSoftwareVersion.fromString(clientSoftwareVersion);
VCellSoftwareVersion serverVersion = VCellSoftwareVersion.fromString(serverSoftwareVersion);
if (clientVersion.getSite()==VCellSite.beta) {
requester.showWarningDialog("VCell Public Beta program has been discontinued - please use our Release VCell version\n\n"
+ "We have adopted a Release Early, Release Often software development approach\n\n"
+ "\nPlease exit VCell and download the latest client from VCell Software page (http://vcell.org).");
}
if (clientVersion.getMajorVersion()!=serverVersion.getMajorVersion() ||
clientVersion.getMinorVersion()!=serverVersion.getMinorVersion() ||
clientVersion.getPatchVersion()!=serverVersion.getPatchVersion()) {
Expand Down

0 comments on commit 78bf001

Please sign in to comment.