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

Jean-Noel Rouvignac
21.09.2015 8c323f960b774edfc8c197fb784ab045816884a7
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
commit8c323f960b774edfc8c197fb784ab045816884a7
tree dc2301c5318b565df88df1d7ccfc7ab1672f4e29 tree | zip | gz
parent 80b26cfdd420150ac7e9f0eaff7bf2924374b6d0 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
opendj3-server-dev/src/server/org/opends/server/tools/InstallDSArgumentParser.java 158 ●●●●● diff | view | raw | blame | history