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

neil_a_wilson
11.45.2006 d9b2b9b7578edb367174b1a516f38feb6eb028ae
refs
author neil_a_wilson <neil_a_wilson@localhost>
Saturday, November 11, 2006 00:45 +0100
committer neil_a_wilson <neil_a_wilson@localhost>
Saturday, November 11, 2006 00:45 +0100
commitd9b2b9b7578edb367174b1a516f38feb6eb028ae
tree 85a8433f8606cc2db931822b5bed771769903882 tree | zip | gz
parent 26ff1f0755680cbce7b5bdb136750b2b1bc9e4ed view | diff
Make a number of changes to administrative tools provided with OpenDS.  These
are all made under the umbrella of issue #994, but there are individual issues
for each change.

- Issue #979 -- Re-order LDAP tool arguments
When displaying usage information for many of the LDAP tools (e.g.,
ldapsearch, ldapmodify, etc.), the arguments were not provided in any kind of
logical grouping. This has been corrected so that the arguments are listed
in a more logical ordering.

- Issue #983 -- Add tool description to argument parser
When displaying usage information for administrative tools, it now includes a
small summary of what the tool does at the top of the argument list.

- Issue #984 -- Make tool usage more compact
Previously, the tool usage included a blank line between each argument, which
made the usage information seem too verbose, especially for tools like
ldapsearch with a lot of arguments. This extra space has been removed.
Also, many of the argument descriptions have been rewritten in an attempt to
avoid requiring multiple lines.

- Issue #985 -- Wrap long output in administrative tools when appropriate
Update most of the output for the administrative tools so that it is easier
to read on 80-column displays. This primarily impacts error message, and
cases in which the format of the output is important (e.g., LDIF output from
ldapsearch) no changes were made.

- Issue #986 -- Eliminate hard-coded strings in tools
Some of the tools had hard-coded strings used for error and warning messages.
They have been replaced with localizeable output from the messages files.

- Issue #990 -- LDAP tools don't use trust store password
The LDAP tools didn't provide any mechanism for specifying the PIN needed to
access the contents of an SSL trust store. Some types of trust stores may
require a PIN to access them, so it is now possible to either directly
specify the PIN or to provide the path to a PIN file.

- Issue #991 -- Disconnect when running stop-ds shouldn't be an error
When using the stop-ds script, if the server began shutting down before it
returned a response to the client, the client would provide an error message
making it sound like something went wrong. The output has now been updated
to indicate that the server is likely in the course of shutting down.

- Issue #992 -- Tool usage should include the tool name rather than the class
When displaying usage information for the administrative tools, the
fully-qualified class name for the Java class was displayed, where the name
of the shell script or batch file would have been more useful.
69 files modified
3139 ■■■■■ changed files
opends/resource/bin/_client-script.bat 2 ●●● diff | view | raw | blame | history
opends/resource/bin/_client-script.sh 2 ●●● diff | view | raw | blame | history
opends/resource/bin/_server-script.bat 2 ●●● diff | view | raw | blame | history
opends/resource/bin/_server-script.sh 2 ●●● diff | view | raw | blame | history
opends/resource/bin/backup 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/backup.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/configure-ds 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/configure-ds.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/encode-password 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/encode-password.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/export-ldif 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/export-ldif.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/import-ldif 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/import-ldif.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldapcompare 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/ldapcompare.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldapdelete 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/ldapdelete.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldapmodify 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/ldapmodify.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldappasswordmodify 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/ldappasswordmodify.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldapsearch 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/ldapsearch.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldif-diff 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/ldif-diff.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldifmodify 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/ldifmodify.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/ldifsearch 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/ldifsearch.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/makeldif 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/makeldif.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/restore 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/restore.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/start-ds 9 ●●●● diff | view | raw | blame | history
opends/resource/bin/start-ds.bat 2 ●●●●● diff | view | raw | blame | history
opends/resource/bin/stop-ds 8 ●●●● diff | view | raw | blame | history
opends/resource/bin/stop-ds.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/bin/verify-index 3 ●●●●● diff | view | raw | blame | history
opends/resource/bin/verify-index.bat 1 ●●●● diff | view | raw | blame | history
opends/resource/setup.bat 2 ●●● diff | view | raw | blame | history
opends/resource/setup.sh 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/core/DirectoryServer.java 5 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/CoreMessages.java 29 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/PluginMessages.java 12 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/messages/ToolMessages.java 907 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/plugins/profiler/ProfileViewer.java 3 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/BackUpDB.java 43 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ConfigureDS.java 34 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/EncodePassword.java 65 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ExportLDIF.java 39 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/ImportLDIF.java 49 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/InstallDS.java 12 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPCompare.java 325 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPDelete.java 280 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPModify.java 372 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPPasswordModify.java 31 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDAPSearch.java 523 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDIFDiff.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDIFModify.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/LDIFSearch.java 4 ●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/RestoreDB.java 32 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/StopDS.java 45 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/VerifyIndex.java 37 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/WaitForFileDelete.java 12 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/tools/makeldif/MakeLDIF.java 12 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/ServerConstants.java 15 ●●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/args/ArgumentParser.java 68 ●●●● diff | view | raw | blame | history
opends/src/server/org/opends/server/util/args/SubCommandArgumentParser.java 80 ●●●● diff | view | raw | blame | history