You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by John Santos-Ocampo <Jo...@ThriveMedia.com> on 2000/10/25 01:45:37 UTC
Microsoft compiler
Hi,
Would anyone know whether ANT supports Microsoft's compiler? Thanks.
John
Re: Microsoft compiler
Posted by Nico Seessle <Ni...@epost.de>.
Yes, it does (and it is in the docs).
It is possible to use different compilers. This can be selected with the
"build.compiler" property. There are three choices:
a.. classic (the standard compiler of JDK 1.1/1.2)
b.. modern (the new compiler of JDK 1.3)
c.. jikes (the Jikes compiler)
d.. jvc (the Command-Line Compiler from Microsoft's SDK for Java / Visual
J++)
OK, should be updated to "four choices" :-)
Nico
----- Original Message -----
From: "John Santos-Ocampo" <Jo...@ThriveMedia.com>
To: <an...@jakarta.apache.org>
Sent: Wednesday, October 25, 2000 1:45 AM
Subject: Microsoft compiler
> Hi,
>
> Would anyone know whether ANT supports Microsoft's compiler? Thanks.
>
> John
Re: Microsoft compiler
Posted by Christopher Elkins <ce...@scardini.com>.
> Hi,
>
> Would anyone know whether ANT supports Microsoft's compiler? Thanks.
>
<property name="build.compiler" value="jvc"/>
(http://jakarta.apache.org/cvsweb/index.cgi/~checkout~/jakarta-ant/docs/index.ht
ml?rev=1.136&content-type=text/html#javac)
> John
>
--
Christopher Elkins
Re: Microsoft compiler
Posted by Nico Seessle <Ni...@epost.de>.
----- Original Message -----
From: "Peter Donald" <do...@locus.apache.org>
To: <an...@jakarta.apache.org>
Sent: Wednesday, October 25, 2000 4:35 AM
Subject: Re: Microsoft compiler
> it more has to do with allowed language constructs. jvc allows too much
and
> tries to optimize too much. Stuff compiled with jvc will not work on
> 1.2/1.3 vms (the same with stuff compiled with 1.1 javac will not work on
> 1.2/1.3 vms).
OK, so you we seem to correspond more than I thought - it's more the
compiler which is generating bad bytecode although it generates better code
if you switch debug off and optimization on, so optimization is not the real
problem (at least this is my experience...).
>
> >Just wanted to clarify this a little bit since I'm using jvc and the
> >generated classes run perfectly on Linux/AIX when you know what to avoid
:-)
>
> what version jvm are you using on linux ?
>
It was JDK 1.1.8 (don't know if IBM or Blackdown) last time I used a large
number of classes compiled with jvc. (and IBM JDK 1.1.7 on AIX 4.3.2)
Meanwhile I encountered more and more bugs and problems in the generated
bytecode and are switching over to jikes where possible.
Nico
Re: Microsoft compiler
Posted by Peter Donald <do...@locus.apache.org>.
>> i think you're better off not using the microsoft compiler on large scale
>> projects, it's largely incompatible with "Standard" java
>>
>
>What is the connection between the Microsoft Java compiler and "Standard"
>Java? Is Jikes compatible with "Standard" Java 1.1 or "Standard" Java 1.2?
jikes is compatable with JLS 1.1 (or is it 1.0 ???). It is the most
compliant compiler out there. (JLS == Java language specification).
microsofts jvc is the least compatable while suns javac is in between ;)
>Or is it just so that the compiler generates bytecode according to the
>source and class files you feed to him and has nothing to do with "Standard"
>Java?
nope - it accepts a superset of features
>Note that I don't verfied this assumption, but I would think you could
>compile Java 1.2 with jvc and it should work if you run this with a 1.2 VM
>(At run-time it would fail of course, because of changed native-methods) -
>or are there any new byte-codes added in 1.2?? At least it should in most
>cases generate code which is compatible with Java 1.1.
it more has to do with allowed language constructs. jvc allows too much and
tries to optimize too much. Stuff compiled with jvc will not work on
1.2/1.3 vms (the same with stuff compiled with 1.1 javac will not work on
1.2/1.3 vms).
>Just wanted to clarify this a little bit since I'm using jvc and the
>generated classes run perfectly on Linux/AIX when you know what to avoid :-)
what version jvm are you using on linux ?
Cheers,
Pete
*------------------------------------------------------*
| "Nearly all men can stand adversity, but if you want |
| to test a man's character, give him power." |
| -Abraham Lincoln |
*------------------------------------------------------*
Re: Microsoft compiler
Posted by James Cook <ji...@iname.com>.
ROFL.
----- Original Message -----
From: "William McKenzie" <ws...@cartewright.com>
To: <an...@jakarta.apache.org>; <al...@malibunetworks.com>
Sent: Monday, October 30, 2000 7:25 PM
Subject: RE: Microsoft compiler
> Just FYI, microsoft's lack of continued development on j++ is strictly a
> legal issue. Sun refuses to allow them to include the microsoft extensions
> necessary to use COM objects (without which J++ is rather lame).
>
> ~Bill
>
> -----Original Message-----
> From: alfonso@rabies.malibunetworks.com
> [mailto:alfonso@rabies.malibunetworks.com]On Behalf Of Alfonso Urdaneta
> Sent: Monday, October 30, 2000 1:11 PM
> To: ant-user@jakarta.apache.org
> Subject: Re: Microsoft compiler
>
>
> Alan Gerhard wrote:
>
> > but then there's - J++ supports only java 1.1.8.
> > Last I heard , MS has done nothing with J++ (publicly) for over
> > 18 months - it appears to be a dead product.
>
> That is actually quite sad, because the MS compiler and jvm were fast as
> hell, but then they weren't allowed to continue work because they were
> getting sued (rightly) for perveting the intent of Java.
>
> My predictions are that
>
> 1. At JavaOne next year microsoft will release a compiler and runtime
> that
> is compliant, and faster than anything in the universe
>
> or
>
> 2. Microsoft will drop the product completely because it does nothing
> to
> ensure that people are forced to develop on and for the Windows
> platform.
>
> Alfonso.
> --
> ---------------------------------o0o---------------------------------
> Alfonso Urdaneta alfonso@malibunetworks.com
> Malibu Networks, Inc. www.malibunetworks.com
> 1035 Suncast Lane Vox: 916.941.8772
> Suite 130 Fax: 916.941.8850
> El Dorado Hills, CA 95762
>
> "Time flies like the wind, but fruit flies like bananas"
>
>
Re: Microsoft compiler
Posted by Nico Seessle <Ni...@epost.de>.
----- Original Message -----
From: "Alfonso Urdaneta" <al...@malibunetworks.com>
To: <an...@jakarta.apache.org>
Sent: Wednesday, November 01, 2000 10:12 PM
Subject: Re: Microsoft compiler
> I knew it was legal, but I thought it was over with. I disagree though
> about J++ being lame without COM, it was a pretty good IDE and almost
> every programmer can use it because it was like all the other IDE (C++,
> etc.) that MS made, and it compiled and executed fast, and the debugger
> was nice.
>
Was? It is still... you can even do ant-development with it :-)
OK, maybe someday I understand how Netbeans/Forte4J is supposed to work and
will completely switch over :-)
Nico
Re: Microsoft compiler
Posted by Alfonso Urdaneta <al...@malibunetworks.com>.
William McKenzie wrote:
>
> Just FYI, microsoft's lack of continued development on j++ is strictly a
> legal issue. Sun refuses to allow them to include the microsoft extensions
> necessary to use COM objects (without which J++ is rather lame).
I knew it was legal, but I thought it was over with. I disagree though
about J++ being lame without COM, it was a pretty good IDE and almost
every programmer can use it because it was like all the other IDE (C++,
etc.) that MS made, and it compiled and executed fast, and the debugger
was nice.
Alfonso.
--
---------------------------------o0o---------------------------------
Alfonso Urdaneta alfonso@malibunetworks.com
Malibu Networks, Inc. www.malibunetworks.com
1035 Suncast Lane Vox: 916.941.8772
Suite 130 Fax: 916.941.8850
El Dorado Hills, CA 95762
"Time flies like the wind, but fruit flies like bananas"
RE: Microsoft compiler
Posted by William McKenzie <ws...@cartewright.com>.
Just FYI, microsoft's lack of continued development on j++ is strictly a
legal issue. Sun refuses to allow them to include the microsoft extensions
necessary to use COM objects (without which J++ is rather lame).
~Bill
-----Original Message-----
From: alfonso@rabies.malibunetworks.com
[mailto:alfonso@rabies.malibunetworks.com]On Behalf Of Alfonso Urdaneta
Sent: Monday, October 30, 2000 1:11 PM
To: ant-user@jakarta.apache.org
Subject: Re: Microsoft compiler
Alan Gerhard wrote:
> but then there's - J++ supports only java 1.1.8.
> Last I heard , MS has done nothing with J++ (publicly) for over
> 18 months - it appears to be a dead product.
That is actually quite sad, because the MS compiler and jvm were fast as
hell, but then they weren't allowed to continue work because they were
getting sued (rightly) for perveting the intent of Java.
My predictions are that
1. At JavaOne next year microsoft will release a compiler and runtime
that
is compliant, and faster than anything in the universe
or
2. Microsoft will drop the product completely because it does nothing
to
ensure that people are forced to develop on and for the Windows
platform.
Alfonso.
--
---------------------------------o0o---------------------------------
Alfonso Urdaneta alfonso@malibunetworks.com
Malibu Networks, Inc. www.malibunetworks.com
1035 Suncast Lane Vox: 916.941.8772
Suite 130 Fax: 916.941.8850
El Dorado Hills, CA 95762
"Time flies like the wind, but fruit flies like bananas"
Re: Microsoft compiler
Posted by James Duncan Davidson <du...@x180.com>.
On 10/30/00 11:11 AM, "Alfonso Urdaneta" <al...@malibunetworks.com> wrote:
> 2. Microsoft will drop the product completely because it does nothing to
> ensure that people are forced to develop on and for the Windows platform.
3. Microsoft will (because they *have* for all intents and purposes) drop
support for Java because they've spent a lot of time and effort into C#/.NET
which is their direction forward.
--
James Duncan Davidson duncan@x180.com
!try; do()
Re: Microsoft compiler
Posted by Alfonso Urdaneta <al...@malibunetworks.com>.
Alan Gerhard wrote:
> but then there's - J++ supports only java 1.1.8.
> Last I heard , MS has done nothing with J++ (publicly) for over
> 18 months - it appears to be a dead product.
That is actually quite sad, because the MS compiler and jvm were fast as
hell, but then they weren't allowed to continue work because they were
getting sued (rightly) for perveting the intent of Java.
My predictions are that
1. At JavaOne next year microsoft will release a compiler and runtime
that
is compliant, and faster than anything in the universe
or
2. Microsoft will drop the product completely because it does nothing
to
ensure that people are forced to develop on and for the Windows
platform.
Alfonso.
--
---------------------------------o0o---------------------------------
Alfonso Urdaneta alfonso@malibunetworks.com
Malibu Networks, Inc. www.malibunetworks.com
1035 Suncast Lane Vox: 916.941.8772
Suite 130 Fax: 916.941.8850
El Dorado Hills, CA 95762
"Time flies like the wind, but fruit flies like bananas"
RE: Microsoft compiler
Posted by Alan Gerhard <AG...@E-SyncNet.Com>.
Nico -
didn't know about -
- java.*-classes from Microsoft and the according native-methods in the MS
VM have some serious bugs which makes it nearly impossible to use
serialization between MS VM's and Sun (IBM, ...) VM's
but then there's - J++ supports only java 1.1.8.
Last I heard , MS has done nothing with J++ (publicly) for over 18 months - it appears to be a dead product.
alan
Re: Microsoft compiler
Posted by Nico Seessle <Ni...@epost.de>.
----- Original Message -----
From: "Alex Genadinik" <al...@trapezo.com>
To: <an...@jakarta.apache.org>
Sent: Wednesday, October 25, 2000 1:48 AM
Subject: RE: Microsoft compiler
> i think you're better off not using the microsoft compiler on large scale
> projects, it's largely incompatible with "Standard" java
>
What is the connection between the Microsoft Java compiler and "Standard"
Java? Is Jikes compatible with "Standard" Java 1.1 or "Standard" Java 1.2?
Or is it just so that the compiler generates bytecode according to the
source and class files you feed to him and has nothing to do with "Standard"
Java? Note that I don't verfied this assumption, but I would think you could
compile Java 1.2 with jvc and it should work if you run this with a 1.2 VM
(At run-time it would fail of course, because of changed native-methods) -
or are there any new byte-codes added in 1.2?? At least it should in most
cases generate code which is compatible with Java 1.1.
If you want to warn him, you should warn about
- com.ms.*-classes will mostly only run on Win32 (but for some people this
is enough and the IDE/compiler is fast AND the GUI looks like a Windows GUI)
- com.ms.wfc.*-classes have some buggy behaviour.
- MS jvc has some serious bugs which will make classes generated with it
unusable with other VM's
- java.*-classes from Microsoft and the according native-methods in the MS
VM have some serious bugs which makes it nearly impossible to use
serialization between MS VM's and Sun (IBM, ...) VM's
- <put your favorite problem here>
Just wanted to clarify this a little bit since I'm using jvc and the
generated classes run perfectly on Linux/AIX when you know what to avoid :-)
Nico
RE: Microsoft compiler
Posted by Alex Genadinik <al...@trapezo.com>.
i think you're better off not using the microsoft compiler on large scale
projects, it's largely incompatible with "Standard" java
-----Original Message-----
From: John Santos-Ocampo [mailto:John@ThriveMedia.com]
Sent: Tuesday, October 24, 2000 4:46 PM
To: 'ant-user@jakarta.apache.org'
Subject: Microsoft compiler
Hi,
Would anyone know whether ANT supports Microsoft's compiler? Thanks.
John