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

Jean-Noel Rouvignac
21.09.2015 ca93f75b7faa22c0f0a6e79d68dbc6a2f5aef4f1
refs
author Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, January 21, 2015 12:09 +0100
committer Jean-Noel Rouvignac <jean-noel.rouvignac@forgerock.com>
Wednesday, January 21, 2015 12:09 +0100
commitca93f75b7faa22c0f0a6e79d68dbc6a2f5aef4f1
tree 9181acff92d4c50e67c1465608f14732d248e51b tree | zip | gz
parent c8e287af7a5c354d7cea4ddf31991d71686fcedc view | diff
OPENDJ-1734 (CR-5811) V/-version option does not work for some tools

Copied the fix for OPENDJ-1656 in r11469.

All tools are working except for dsconfig (which is now in the SDK) where I did not know what to display. For the moment I did this:
$ ./build/package/OpenDJ-3.0.0_auto/bin/dsconfig --version
3.0.0-SNAPSHOT
$

ArgumentParser.java, SubCommandArgumentParser.java:
Made SubCommandArgumentParser use more ArgumentParser fields.
Big code cleanup.


DSConfig.java:
Did a hack to display something. Please review.

DirectoryServer.java:
Changed anonymous class into DirectoryServerVersionHandler inner class.

*.java:
Set the version handler after creating the argument parser.

ReplicationCliArgumentParser.java:
Code cleanup.

Base64.java:
Removed code redundant with the VersionHandler.
1 files modified
158 ■■■■■ changed files
opendj-sdk/opendj3-server-dev/src/server/org/opends/server/tools/InstallDSArgumentParser.java 158 ●●●●● diff | view | raw | blame | history