Have I ever said that IKVM.NET is cool? I should.

Octavo:/tmp bodewig$ cat > build.xml
<project>
  <echo>os.name = ${os.name}</echo>
  <echo>java.home = ${java.home}</echo>
  <echo>ant.java.version = ${ant.java.version}</echo>
  <echo>java.vendor = ${java.vendor}</echo>
  <echo>java.version = ${java.version}</echo>
</project>
^D
Octavo:/tmp bodewig$ ant
Buildfile: build.xml
     [echo] os.name = Mac OS X
     [echo] java.home = /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home
     [echo] ant.java.version = 1.4
     [echo] java.vendor = Apple Computer, Inc.
     [echo] java.version = 1.4.2_05

BUILD SUCCESSFUL
Total time: 2 seconds


Octavo:/tmp bodewig$ JAVACMD=/usr/bin/mono ANT_OPTS=/Users/bodewig/ikvm/bin/ikvm.exe ant
Unable to locate tools.jar. Expected to find it in /Users/bodewig/ikvm/bin/lib/tools.jar
Buildfile: build.xml
     [echo] os.name = Unix 7.8.0.0
     [echo] java.home = /Users/bodewig/ikvm/bin
     [echo] ant.java.version = 1.5
     [echo] java.vendor = Jeroen Frijters
     [echo] java.version = 1.4

BUILD SUCCESSFUL
Total time: 23 seconds

More experiments to come.

The difference between in java.version and ant.java.version means, GNU CLASSPATH already has java.lang.Readable

path: /en/dotNet/ikvmnet | #