Re: Print exact version of jvm (java -version)

2006-06-08 Thread Steve Loughran
Mikael Petterson (KI/EAB) wrote: Since I am using cross compilation I don't get the correct java version. With 'java -version' I get the java version that ant is started with ( jdk1.4.2) and not the version I use to crosscompile with ,1.3.1_11. (a) no, there is nothing in javac or it would be

RE: Print exact version of jvm (java -version)

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
[mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 13:02 To: Ant Users List Subject: Re: Print exact version of jvm (java -version) For versions of JDK prior to 1.5... I just executed javac -version using JDK 1.5... Mikael Petterson (KI/EAB) wrote: > By the way there is no javac -version :-)

Re: Print exact version of jvm (java -version)

2006-06-08 Thread Hakan Koseoglu
On 6/8/06, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: How can I print what compiler is used ( exact version like 'java -version') when compiling? Probably the easiest way is creating a new task stuffed with all sorts of information you want to log and calling it as a task: The followi

Re: Print exact version of jvm (java -version)

2006-06-08 Thread Scot P. Floess
iles for specific VM version -help Print a synopsis of standard options Cheers, //mikael -Original Message- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 13:02 To: Ant Users List Subject: Re: Print exact version of jvm (java -version) For vers

RE: Print exact version of jvm (java -version)

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
- From: Scot P. Floess [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 13:02 To: Ant Users List Subject: Re: Print exact version of jvm (java -version) For versions of JDK prior to 1.5... I just executed javac -version using JDK 1.5... Mikael Petterson (KI/EAB) wrote: > By the way there is

Re: Print exact version of jvm (java -version)

2006-06-08 Thread Scot P. Floess
: den 8 juni 2006 10:02 To: Ant Users List Subject: RE: Print exact version of jvm (java -version) I wonder if there is an attribute to the javac task. Cheers, //mikael -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 10:00 To: Ant Users List

Re: Print exact version of jvm (java -version)

2006-06-08 Thread Petar Tahchiev
s List Subject: Re: Print exact version of jvm (java -version) On 08/06/06, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: > How can I print what compiler is used ( exact version like 'java > -version') when compiling? > > Cheers, > > //mikael > > > BUI

RE: Print exact version of jvm (java -version)

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
By the way there is no javac -version :-) but java -version. Cheers, //mikael -Original Message- From: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 10:02 To: Ant Users List Subject: RE: Print exact version of jvm (java -version) I wonder if there is an

RE: Print exact version of jvm (java -version)

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
If I use javac -version where do I tie that into my xml file? With an execute task? Cheers, //mikael -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 10:00 To: Ant Users List Subject: Re: Print exact version of jvm (java -version) On 08/06/06

RE: Print exact version of jvm (java -version)

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
I wonder if there is an attribute to the javac task. Cheers, //mikael -Original Message- From: Petar Tahchiev [mailto:[EMAIL PROTECTED] Sent: den 8 juni 2006 10:00 To: Ant Users List Subject: Re: Print exact version of jvm (java -version) On 08/06/06, Mikael Petterson (KI/EAB

Re: Print exact version of jvm (java -version)

2006-06-08 Thread Petar Tahchiev
On 08/06/06, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote: How can I print what compiler is used ( exact version like 'java -version') when compiling? Cheers, //mikael BUILD.TARGET.VM=1.3 BUILD.BOOTCLASSPATH=/app/j2sdk/1.3.1_11/jre/lib/rt.jar

Print exact version of jvm (java -version)

2006-06-08 Thread Mikael Petterson \(KI/EAB\)
How can I print what compiler is used ( exact version like 'java -version') when compiling? Cheers, //mikael BUILD.TARGET.VM=1.3 BUILD.BOOTCLASSPATH=/app/j2sdk/1.3.1_11/jre/lib/rt.jar