Package org.apache.env
Which is a simple utility that inspects your JVM's environment and reports simple info about versions of classes found.
WhichProject | Simple interface for getting version info about a project. |
Which | General environment checking and version finding service;
main external entrypoints and command line interface. |
WhichAnt | Get Version information about jakarta-ant. |
WhichClass | Class finding service. |
WhichConstant | Simple static constants used throughout org.apache.env package. |
WhichCrimson | Get Version information about xml-crimson. |
WhichFactory | Simple factory class for WhichProject implementations. |
WhichJar | Static worker methods to find version info about jars and classpaths. |
WhichSaxon | Get Version information about Saxon from http://saxon.sourceforge.net/. |
WhichXalan | Get Version information about xml-xalan. |
WhichXerces | Get Version information about xml-xerces. |
WhichXmlCommons | Get Version information about xml-commons code. |
Which is a simple utility that inspects your JVM's environment and reports simple info about versions of classes found.
- Author:
- curcuru@apache.org
- See:
- xml-commons project
- Usage:
set CLASSPATH=%CLASSPATH%;which.jar
java org.apache.env.Which [project;WhichProject] [-options]
- Usage:
Which
This package is a somewhat simplistic environment checking
utility. It allows users in various environments to self-test
their specific deployed environment to ensure that they have the
correct classes present. Which is currently focused on various
XML issues but is architected to be generic and easily extensible.
Most of the documentation is included in the Javadocs for the
various classes. Which is a framework into which various 'checkers'
or WhichProject implementations can be plugged; it then asks each
implementation to fill in whatever information it can into a common
Hashtable, which it then reports back to the user in one of a number
of formats.
Most useful for reporting environments in automated builds or
for a self-help system version detection for users reporting bugs.
Copyright B) 2001 Apache Software Foundation. All Rights Reserved.