[ 
http://issues.apache.org/jira/browse/JDO-300?page=comments#action_12368836 ] 

Michelle Caisse commented on JDO-300:
-------------------------------------

(1) I will make the file name an argument.

(2) I thought we decided to get all the system information from Java system 
properties instead of using commands that are OS-specific.  Java provides some 
host and OS information, though perhaps not always as detailed as uname -a 
output.  On my machine I get this from uname -a:

CYGWIN_NT-5.0 michelle-home 1.5.18(0.132/4/2) 2005-07-02 20:30 i686 unknown 
unknown Cygwin

and this as output of SystemCfgSummary:

java.runtime.name:  Java(TM) 2 Runtime Environment, Standard Edition
sun.boot.library.path:  C:\Program Files\Java\jdk1.5.0_05\jre\bin
java.vm.version:  1.5.0_05-b05
java.vm.vendor:  Sun Microsystems Inc.
java.vendor.url:  http://java.sun.com/
path.separator:  ;
java.vm.name:  Java HotSpot(TM) Client VM
file.encoding.pkg:  sun.io
user.country:  US
sun.os.patch.level:  Service Pack 4
java.vm.specification.name:  Java Virtual Machine Specification
user.dir:  C:\svn0\jdo\trunk\tck20\target
java.runtime.version:  1.5.0_05-b05
java.awt.graphicsenv:  sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs:  C:\Program Files\Java\jdk1.5.0_05\jre\lib\endorsed
os.arch:  x86
java.io.tmpdir:  c:\DOCUME~1\michelle\LOCALS~1\Temp\
line.separator:  

java.vm.specification.vendor:  Sun Microsystems Inc.
user.variant:  
os.name:  Windows 2000
sun.jnu.encoding:  Cp1252
java.library.path:  C:\Program 
Files\Java\jdk1.5.0_05\jre\bin;.;C:\WINNT\system32;C:\WINNT;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;c:\WINNT\system32;c:\WINNT;c:\WINNT\system32\WBEM;c:\Program
 Files\Soundruler\bin\win32;c:\Program 
Files\Java\jdk1.5.0_05\bin;c:\PROGRA~1\svn-win32-1.2.3\bin;c:\maven 
1.0.2\bin;c:\cvs;c:\apache-ant-1.6.2\bin;c:\jikes-1.14\bin;C:\cygwin\bin;c:\Program
 Files\cvsnt;c:\maven-2.0\bin;.\
java.specification.name:  Java Platform API Specification
java.class.version:  49.0
sun.management.compiler:  HotSpot Client Compiler
os.version:  5.0
user.home:  C:\Documents and Settings\michelle
user.timezone:  
java.awt.printerjob:  sun.awt.windows.WPrinterJob
file.encoding:  Cp1252
java.specification.version:  1.5
user.name:  michelle

> Log system and jvm version information with test results
> --------------------------------------------------------
>
>          Key: JDO-300
>          URL: http://issues.apache.org/jira/browse/JDO-300
>      Project: JDO
>         Type: Improvement
>   Components: tck20
>     Versions: JDO 2 beta
>     Reporter: Michelle Caisse
>     Assignee: Michelle Caisse
>      Fix For: JDO 2 final
>  Attachments: JDO-300.patch
>
> In order to capture complete environment information with a test run for 
> certification and debugging, capture information about the host system and 
> the jvm and write to the log/.../configuration directory for the test run. 
> This could be implemented in maven using java -version and uname calls, or 
> could be implemented as a special-purpose junit test where the latter records 
> the values of the relevant java system properties, such as java.version, 
> os.name... The latter approach is more easily made independent of the OS the 
> test run is performed on.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to