| | |
| | | import static org.opends.server.tools.upgrade.FormattedNotificationCallback.*; |
| | | import static org.opends.server.tools.upgrade.UpgradeTasks.*; |
| | | import static org.opends.server.tools.upgrade.LicenseFile.*; |
| | | import static org.opends.server.util.ServerConstants.EOL; |
| | | |
| | | import java.io.File; |
| | | import java.io.FileWriter; |
| | |
| | | { |
| | | if (LicenseFile.exists()) |
| | | { |
| | | context.notify(Message.raw("\n" + LicenseFile.getText())); |
| | | context.notify(Message.raw(EOL + LicenseFile.getText())); |
| | | context.notify(INFO_LICENSE_DETAILS_CLI_LABEL.get()); |
| | | if (!context.isAcceptLicenseMode()) |
| | | { |