Changeset 13919 for trunk/abcl/build.xml


Ignore:
Timestamp:
04/22/12 11:46:01 (10 years ago)
Author:
Mark Evenson
Message:

build: Use the 'abcl.diagnostic' Ant target to describe the hosting JVM as plist :key value pairs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/abcl/build.xml

    r13913 r13919  
    960960      <echo>Finished recording test output in ${abcl.test.log.file}.</echo>
    961961    </target>
    962    
     962
     963
     964<target name="abcl.diagnostic" description="Emit diagnostics describing available hosting JVM properties."
     965        depends="abcl.build.diagnostic"/>
     966<!--
     967
     968Possible JVM values from http://docs.oracle.com/javase/6/docs/api/java/lang/System.html#getProperties
     969
     970java.version  Java Runtime Environment version
     971java.vendor   Java Runtime Environment vendor
     972java.vendor.url   Java vendor URL
     973java.home   Java installation directory
     974java.vm.specification.version   Java Virtual Machine specification version
     975java.vm.specification.vendor  Java Virtual Machine specification vendor
     976java.vm.specification.name  Java Virtual Machine specification name
     977java.vm.version   Java Virtual Machine implementation version
     978java.vm.vendor  Java Virtual Machine implementation vendor
     979java.vm.name  Java Virtual Machine implementation name
     980java.specification.version  Java Runtime Environment specification version
     981java.specification.vendor   Java Runtime Environment specification vendor
     982java.specification.name   Java Runtime Environment specification name
     983java.class.version  Java class format version number
     984java.class.path   Java class path
     985java.library.path   List of paths to search when loading libraries
     986java.io.tmpdir  Default temp file path
     987java.compiler   Name of JIT compiler to use
     988java.ext.dirs   Path of extension directory or directories
     989os.name   Operating system name
     990os.arch   Operating system architecture
     991os.version  Operating system version
     992file.separator  File separator ("/" on UNIX)
     993path.separator  Path separator (":" on UNIX)
     994line.separator  Line separator ("\n" on UNIX)
     995user.name   User's account name
     996user.home   User's home directory
     997user.dir
     998
     999-->
     1000
     1001<target name="abcl.build.diagnostic" description="Emit diagnostics describing available hosting JVM properties.">
     1002  <echo>:java.version    ${java.version}</echo>
     1003  <echo>:java.vendor     ${java.vendor}</echo>
     1004  <echo>:java.vm.vendor  ${java.vm.vendor}</echo>
     1005  <echo>:java.vm.name    ${java.vm.name}</echo>
     1006
     1007  <echo>:os.name    ${os.name}</echo>
     1008  <echo>:os.arch    ${os.arch}</echo>
     1009  <echo>:os.version ${os.version}</echo>
     1010 
     1011  <echo>:java.specification.version       ${java.specification.version}</echo>
     1012  <echo>:java.vm.specification.version    ${java.vm.specification.version}</echo>
     1013</target>
     1014
    9631015    <target name="abcl.release"
    9641016            depends="abcl.binary.tar,abcl.source.tar,abcl.binary.zip,abcl.source.zip">
Note: See TracChangeset for help on using the changeset viewer.