Getting the source, Building the trunks
To get the source, build the trunks and get along with Maven, follow the instruction given in this page: AUG : 0.2. Building trunks
The version number of ApacheDS has the following form:
This scheme has three number components:
- The major number increases when there are incompatible changes in the API.
- The minor number increases when a new feature is introduced.
- The micro number increases when a bug or a trivial change is made.
and an optional label that indicates the maturity of a release:
- M (Milestone) means the feature set can change at any time in the next milestone releases. The last milestone release becomes the first release candidate after a vote.
- RC (Release Candidate) means the feature set is frozen and the next RC releases will focus on fixing problems unless there is a serious flaw in design. The last release candidate becomes the first GA release after a vote.
- No label implies GA (General Availability), which means the release is stable enough and therefore ready for production environment.
Although we may add new features between two milestones, and the data structure may change, which may imply that the data have to be extracted and reimported in order for the server to be operational.
The configuration might also evolve between two versions.
The applicable coding standards for ADS 1.5 are described in Coding Standards
There are some more rules, as we are using Java 5 now :
- Use generics as much as you can. Generic are a good way to avoid casting, and it enforce the usage of the correct type.
- If you can avoid Iterators, do so. There is this cool construction with a for( Type t:
): use it !
- Use assert. It's usefull, especially instead of a bunch of if (
)then throw Exception* when controlling incoming parameters
- Use the new Enum type !