Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 80533 invoked by uid 500); 21 Apr 2001 02:53:22 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 80521 invoked by uid 500); 21 Apr 2001 02:53:22 -0000 Delivered-To: apmail-jakarta-avalon-cvs@apache.org Date: 21 Apr 2001 02:53:22 -0000 Message-ID: <20010421025322.80515.qmail@apache.org> From: donaldp@apache.org To: jakarta-avalon-cvs@apache.org Subject: cvs commit: jakarta-avalon/src/java/org/apache/avalon/util Version.java donaldp 01/04/20 19:53:22 Modified: src/java/org/apache/avalon/util Version.java Log: Updated the documentation. Revision Changes Path 1.2 +10 -94 jakarta-avalon/src/java/org/apache/avalon/util/Version.java Index: Version.java =================================================================== RCS file: /home/cvs/jakarta-avalon/src/java/org/apache/avalon/util/Version.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- Version.java 2001/02/24 03:59:37 1.1 +++ Version.java 2001/04/21 02:53:21 1.2 @@ -8,123 +8,39 @@ package org.apache.avalon.util; /** - * This document is NOT RIGHT. + * This class is used to hold version information pertaining to a Component or interface. *

* - * The version number of a Block is made up of three + * The version number of a Component is made up of three * dot-separated fields: *

* "major.minor.patchlevel" *

- * and (optionally) by a fourth field (always "-dev") - * specifying that this version is under development. - *

* The major, minor and patchlevel fields are * integer numbers represented in decimal notation and have the * following meaning: *

    + * *

  • major - When the major version changes (in ex. from * "1.5.12" to "2.0.0"), then backward compatibility - * with previous releases is not granted (this usually happens this - * Block is implementing a new major version of an interface - * specified in org.apache.avalon.blocks package). - *
  • + * with previous releases is not granted.

    + * *

  • minor - When the minor version changes (in ex. from * "1.5.12" to "1.6.0"), then backward compatibility * with previous releases is granted, but something changed in the - * implementation (in ex. new features were added, the configuration - * syntax may be different, or the Block is implementing a - * new minor version of an interface specified in - * org.apache.avalon.blocks package). - *
  • + * implementation of the Component. (ie it methods could have been added)

    + * *

  • patchlevel - When the patchlevel version changes (in ex. - * from "1.5.12" to "1.5.13"), then the only changed - * things are fixes in the code implementation, but no new features or - * changes were made to the behaviour of the code. + * from "1.5.12" to "1.5.13"), then the the changes are + * small forward compatible bug fixes or documentation modifications etc. *
  • *
- *

- * The fourth field, optional and always "-dev" (in ex. - * "1.5.12-dev") specifies that current Block - * implementation is under development, and so may contain not-working - * code or not all features were implemented. - *

- *

- * NOTE: The absence of the "-dev" tag does not endorse - * any warranty of particular stability, safety or compliancy. - * The only source for such informations is the (usually provided) license - * file accompaining the block itself. - * - * The class defining versioning pattern. - *

- *

- * Any interface in org.apache.avalon.blocks package MUST provides - * a Version instance containing versioning informations on this interface.

- * Any BlockInfo returned by a Block implementation MUST provides a - * Version instances containing versioning informations on this implementation. - *

- * Version numbers are:

- * "major.minor.revision.dev" - *

- * The major , minor and revisionfields are integer - * numbers represented in decimal notation and have the following meaning: - *

    - Refering to an interface - *
      - *
    • major - When the major version changes (in ex. from - * "1.5" to "2.0"), then backward compatibility with - * previous releases is not granted. - *
    • - *

    • minor - When the minor version changes (in ex. from - * "1.5" to "1.6"), then backward compatibility - * with previous releases is granted, but something changed in the - * interface (in ex. new methods were added). - *
    • - *

    • revision - When refering to an interface may represent a change - * in documentation or other minor changes. If some methods are modified a minor - * version changes is needed.

      - * - When refering to a Block implementation this represent minor changes in - * implementation like bugs fix. - *

    • - *

    • dev - The boolean dev field specify if this Block or interface - * is under development and not yet approved by the Java Apache org.apache.avalon.interfaces; - * developers group (mailing-list). - *
    • - *

    - *
- *
    - Refering to a Block - *
      - *
    • major - When the major version changes (in ex. from - * "1.5" to "2.0"), then backward compatibility with - * previous releases is not granted. - *
    • - *

    • minor - When the minor version changes (in ex. from - * "1.5" to "1.6"), then backward compatibility - * with previous releases is granted, but something changed in the - * interface (in ex. new methods were added). - *
    • - *

    • revision - When refering to an interface may represent a change - * in documentation or other minor changes. If some methods are modified a minor - * version changes is needed.

      - * - When refering to a Block implementation this represent minor changes in - * implementation like bugs fix. - *

    • - *

    • dev - The boolean dev field specify if this Block or interface - * is under development and not yet approved by the Java Apache org.apache.avalon.interfaces; - * developers group (mailing-list). - *
    • - *

    - *
- * The third field, optional and always "-dev" (in ex. - * "1.5-dev") specifies that the interface is currently under - * development, or it was not yet approved by the Java Apache org.apache.avalon.interfaces; - * developers group (mailing-list) and so, not yet integrated with the - * org.apache.avalon.interfaces; distributions. * * @author Federico Barbieri * @author Pierpaolo Fumagalli * @author Stefano Mazzocchi * @author Roberto Lo Giacco - * @author Java Apache Project + * @author Peter Donald */ public final class Version --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org