Hi there,

i have problems in big environments where different versions of Apache Commons projects exists, some older and others newer. I think in this case a version class is pretty, contains the version of the project. So a simple version request at runtime would be possible and it's not needed to read manifest informations. I searched about version classes in Apache Commons projects but i dont find anything.

Here is a simple code fragment:

package org.apache.commons.lang;
public final class Version {
    private Version() {
        super();
    }
    private final static String VERSION = "2.4";
    public static String getVersion() {
        return VERSION;
    }
}

What you think about it?

Best regards

Michael.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to