incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [CONF] Apache Bean Validation > Version Info
Date Tue, 11 May 2010 19:55:00 GMT
Space: Apache Bean Validation (
Page: Version Info (

Added by Donald Woods:
h3. Command-line

To determine the Bean Validation version and revision you are using, run the following command
from a cmdline:
java -jar ./bval-core-0.1-incubating-SNAPSHOT.jar
Which should display the project version, svn revision and your local runtime environment,
Project: Apache Bean Validation
Version: 0.1-incubating-SNAPSHOT
Revision: 943245 Mac OS X
os.version: 10.6.3
os.arch: x86_64

java.version: 1.6.0_17
java.vendor: Apple Inc.


user.dir: /Users/xxxxx/validation/apache-incubator-bval/trunk/bval-core/target

h3. Programmatic

For programmatic access, take a look at the public getters in:
including the following, which will returns the strings above:
getName() == "Apache Bean Validation"
getVersion() == "0.1-incubating-SNAPSHOT"
getRevision() == "943245"

Change your notification preferences:

View raw message