Depot Version
Home
Ant Tasks
Tools
API
Integration
 Apache Incubator > Depot > Version 

Depot Version Examples

java org.apache.depot.version.tool.VersionTool -e

The -e option on VersionTool displays the current environment. First it shows the release of the JVM, then it displays classloader hierarchy and classpath, then it shows versions and constraints.

java org.apache.depot.version.tool.VersionTool -e

	
Java : (jdk:java:1.4)

sun.misc.Launcher$AppClassLoader : sun.misc.Launcher$AppClassLoader@12f6684
  sun.misc.Launcher$ExtClassLoader : sun.misc.Launcher$ExtClassLoader@f38798

Name : SystemAndBootClasspaths
(
  F:\apps\j2sdk1.4.1\jre\lib\rt.jar
  F:\apps\j2sdk1.4.1\jre\lib\sunrsasign.jar
  F:\apps\j2sdk1.4.1\jre\lib\jsse.jar
  F:\apps\j2sdk1.4.1\jre\lib\jce.jar
  F:\apps\j2sdk1.4.1\jre\lib\charsets.jar
  F:\Apache\Testing\.
  F:\apps\apache\jakarta-regexp1.2\jakarta-regexp-1.2.jar
  F:\data\OSS\apache-version\build\ide\eclipse
  F:\data\OSS\apache-ruper\build\ide\eclipse
  F:\data\OSS\commons-logging\build\ide\eclipse
  F:\data\OSS\commons-httpclient\build\ide\eclipse
  F:\data\OSS\apache-centipede\build\ide\eclipse
)

Registry :VersionRegistry
  (
    product:jakarta-regexp : 1.2
    sun.util.calendar : 1.4.1.rc
    sun.text.resources : 1.4.1.rc
    sun.security.util : 1.4.1.rc
    sun.security.action : 1.4.1.rc
    sun.reflect : 1.4.1.rc
    sun.nio.cs : 1.4.1.rc
    sun.net.www.protocol.jar : 1.4.1.rc
    sun.net.www.protocol.file : 1.4.1.rc
    sun.net.www : 1.4.1.rc
    sun.misc : 1.4.1.rc
    sun.io : 1.4.1.rc
    org.w3c.dom : 1.4.1.rc
    org.apache.depot.version.interfacing.field : 6.6.6.d
    org.apache.depot.version.interfacing.complex : 1.2.3.d.4.5.200307299)
    org.apache.depot.version.impl.sample : 0.1.d.1
    org.apache.depot.version.eclipse : 1.0.0.a.0.1
    org.apache.depot.version : 0.9.ea.1
    org.apache.depot.update : 0.6.0.d.1.10007
    javax.net.ssl : 1.4.1
    java.util.zip : 1.4.1.rc
    java.util.logging : 1.4.1.rc
    java.util.jar : 1.4.1.rc
    java.util : 1.4.1.rc
    java.text : 1.4.1.rc
    java.security.cert : 1.4.1.rc
    java.security : 1.4.1.rc
    java.nio.charset.spi : 1.4.1.rc
    java.nio.charset : 1.4.1.rc
    java.nio : 1.4.1.rc
    java.net : 1.4.1.rc
    java.lang.reflect : 1.4.1.rc
    java.lang.ref : 1.4.1.rc
    java.lang : 1.4.1.rc
    java.io : 1.4.1.rc
    java.beans : 1.4.1.rc
  )

Registry :ConstraintRegistry
  (
    Name : File:.\test.constraints
    (
      Constraint: VersionComparisonConstraint
      Identifier: org.apache.depot.version
      Comparison: = 1.0

      Constraint: VersionComparisonConstraint
      Identifier: org.apache.depot.version
      Comparison: >= 1.0

    )
  )
	    	

by Adam R. B. Jack