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

jvergara
09.27.2009 26cba063b15bd0d0925e2290800d9a661961530b
refs
author jvergara <jvergara@localhost>
Thursday, April 9, 2009 10:27 +0200
committer jvergara <jvergara@localhost>
Thursday, April 9, 2009 10:27 +0200
commit26cba063b15bd0d0925e2290800d9a661961530b
tree 45a1f77d74b14cdee337dc713e9691d8a173af7f tree | zip | gz
parent 6705948cf506af3d9fcc7bb5b1bf8bbb08c18093 view | diff
Fix for issue 2017 (tools usage should disclose default value for options)

The changes include the required modifications to set the default values of the configuration file in the arguments. The main modifications affect the classes LDAPConnectionConsoleInteraction and SecureConnectionCliArgs. Most of the code in charge of reading the configuration has been moved to SecureConnectionCliArgs in order the arguments to be updated with those default values before the arguments are actually parsed. This makes sense also since SecureConnectionCliArgs was already in charge of providing the trustmanager. LDAPConnectionConsoleInteraction depends on SecureConnectionCliArgs but the latter does not rely on the former, so this change does not have a negative impact in terms of dependencies.
14 files modified
507 ■■■■■ changed files
opends/src/messages/messages/utility.properties 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java 270 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/BackUpDB.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ExportLDIF.java 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ImportLDIF.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ManageTasks.java 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/RestoreDB.java 9 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java 11 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliArgumentParser.java 21 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliMain.java 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/status/StatusCli.java 10 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/args/ArgumentParser.java 11 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/args/SubCommandArgumentParser.java 18 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/cli/LDAPConnectionConsoleInteraction.java 106 ●●●● diff | view | raw | blame | history