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

jvergara
09.27.2009 a1869180d5499a5f0c3d69c84e6ed010a7015fa6
refs
author jvergara <jvergara@localhost>
Thursday, April 9, 2009 10:27 +0200
committer jvergara <jvergara@localhost>
Thursday, April 9, 2009 10:27 +0200
commita1869180d5499a5f0c3d69c84e6ed010a7015fa6
tree 417babea8b2c767d9c0e09b782b147442cdc8b02 tree | zip | gz
parent 8a7c405f89a1dce7e553c446b4c683e6f485ca6b 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
opendj-sdk/opends/src/messages/messages/utility.properties 3 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/cli/SecureConnectionCliArgs.java 270 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/BackUpDB.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/ExportLDIF.java 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/ImportLDIF.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/ManageTasks.java 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/RestoreDB.java 9 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsconfig/LDAPManagementContextFactory.java 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliArgumentParser.java 21 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/dsreplication/ReplicationCliMain.java 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/tools/status/StatusCli.java 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/args/ArgumentParser.java 11 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/args/SubCommandArgumentParser.java 18 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/util/cli/LDAPConnectionConsoleInteraction.java 106 ●●●● diff | view | raw | blame | history