Return-Path: X-Original-To: apmail-bval-commits-archive@www.apache.org Delivered-To: apmail-bval-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A941C9DCE for ; Thu, 23 Feb 2012 21:49:24 +0000 (UTC) Received: (qmail 29832 invoked by uid 500); 23 Feb 2012 21:49:24 -0000 Delivered-To: apmail-bval-commits-archive@bval.apache.org Received: (qmail 29814 invoked by uid 500); 23 Feb 2012 21:49:24 -0000 Mailing-List: contact commits-help@bval.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: bval-dev@bval.apache.org Delivered-To: mailing list commits@bval.apache.org Received: (qmail 29806 invoked by uid 500); 23 Feb 2012 21:49:24 -0000 Delivered-To: apmail-incubator-bval-commits@incubator.apache.org Received: (qmail 29803 invoked by uid 99); 23 Feb 2012 21:49:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 21:49:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Feb 2012 21:49:23 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id q1NLn3Ze028606 for ; Thu, 23 Feb 2012 21:49:03 GMT Date: Thu, 23 Feb 2012 16:49:03 -0500 (EST) From: confluence@apache.org To: bval-commits@incubator.apache.org Message-ID: <31351653.46565.1330033743148.JavaMail.confluence@thor> Subject: [CONF] Apache BVal > Apache BVal Version Info MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Auto-Submitted: auto-generated Space: Apache BVal (https://cwiki.apache.org/confluence/display/BeanValidation) Page: Apache BVal Version Info (https://cwiki.apache.org/confluence/display/BeanValidation/Apache+BVal+Version+Info) Edited by Matt Benson: --------------------------------------------------------------------- h3. Command-line To determine the BVal version and revision you are using, run the following command from a cmdline: {noformat} java -jar ./bval-core-0.1-incubating-SNAPSHOT.jar {noformat} Which should display the project version, svn revision and your local runtime environment, like: {code} Project: Apache BVal Version: 0.1-incubating-SNAPSHOT Revision: 943245 os.name: Mac OS X os.version: 10.6.3 os.arch: x86_64 java.version: 1.6.0_17 java.vendor: Apple Inc. java.class.path: ./bval-core-0.1-incubating-SNAPSHOT.jar user.dir: /Users/xxxxx/validation/apache-bval/trunk/bval-core/target {code} h3. Programmatic For programmatic access, take a look at the public getters in: {noformat} bval-core/src/main/java/org/apache/bval/util/BValVersion.java {noformat} including the following, which will returns the strings above: {code} getName() == "Apache BVal" getVersion() == "0.1-incubating-SNAPSHOT" getRevision() == "943245" {code} Change your notification preferences: https://cwiki.apache.org/confluence/users/viewnotifications.action