99faa045b6241c1d2843cce1b7a9d9c97055beae 1695 |
|
25-Apr-2007 |
neil_a_wilson |
Make several significant changes to the OpenDS code base, including:
- Narrow down the set of packages that external developers will need to access
in order to write a plugin or other type of extension. Hopefully, for most
things developers will only need to interact with the following packages (and
their sub-packages):
* org.opends.server.admin
* org.opends.server.api
* org.opends.server.config
* org.opends.server.protocols.internal
* org.opends.server.types
* org.opends.server.util
- As part of the attempted narrowing of packages that external developers need
to access, I have moved the org.opends.server.core.Operation and
org.opends.server.protocols.ldap.LDAPException classes to the
org.opends.server.types package. I have also created
org.opends.server.types.RawAttribute to wrap the
org.opends.server.protocols.ldap.LDAPAttribute class, and
org.opends.server.types.RawModification to wrap the
org.opends.server.protocols.ldap.LDAPModification class.
- I have updated the internal operations API to add a few new convenience
methods when performing internal operations.
- I have updated all of our message strings so that none of them end in periods
(except those that end with an ellipsis). This will help us avoid the
problem in which we see multiple periods due to embedding one message in
another.
- I have moved a message file from a synchronizaiton package to the messages
package and resolved conflicts with existing message IDs.
- I have updated a number of cases in which
StaticUtils.stackTraceToSingleLineString() was used in client-facing code to
replace those calls with StaticUtils.getExceptionMessage() instead. This
should provide a more user-friendly message that will hopefully not reduce
our ability to debug problems that may arise.
- I have cleaned up some of the code in the org.opends.server.api package so
that all of the classes use consistent formatting, and to fix a couple of
potential Javadoc problems.
- I have moved the build-tools/src directory to src/build-tools to be more
consistent with other components of the server.
- I have updated the build script so that the xslt task will no longer dump
lots of output to the terminal when generating code. I have also gotten rid
of warnings about run.classpath not being set properly. |