ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simpson, Michael D." <Michael.Simp...@celera.com>
Subject RE: Antwort: class file size difference between Ant script and JB uilder
Date Wed, 31 Jan 2001 16:30:00 GMT
FYI: I have seen incompatability problems between JBuilder-compiled files
and Sun JDK-compiled files in the past. This has nothing to do with ANT. I
have a client-server product using EJB. I ran into cases early last year
where I had compiled the server with Sun JDK and deployed it for client
developers who compiled using JBuilder's compiler. They then had
serialization errors with some classes that were being transferred over the
wire. After tracking it down, we did see class file size differences. 

To get it to work, we just standardized to the the JDK compiler. After we
set JBuilder to use the JDK one, everything was OK. We went through this
under 1.2 but I imagine it is the same for 1.3. 

-----Original Message-----
From: Sibon Barman [mailto:sibon@ss8.com]
Sent: Wednesday, January 31, 2001 11:15 AM
To: ant-user@jakarta.apache.org
Subject: RE: Antwort: class file size difference between Ant script and
JBuilder


I am adding debug info on both cases.

Sibon Barman
SS8 Networks, Inc.
Suite 500
495 March Road, Kanata,
Ontario K2K 3G1

*: (613)592-2100 ext:3281
*: sibon@ss8.com



-----Original Message-----
From: Phillip.Wells@dresdnerkb.com [mailto:Phillip.Wells@dresdnerkb.com]
Sent: Wednesday, January 31, 2001 11:05 AM
To: ant-user@jakarta.apache.org
Subject: RE: Antwort: class file size difference between Ant script and
JBuilder


Are you including debug information when compiling in JBuilder but not when
compiling with Ant? That would account for the size difference.

-----Original Message-----
From: Sibon Barman [mailto:sibon@ss8.com]
Sent: 31 January 2001 15:58
To: ant-user@jakarta.apache.org
Subject: RE: Antwort: class file size difference between Ant script and
JBuilder


Here are 4 classes that shows the class size problem. The larger class files
are always generated by the JBuilder IDE compiler and the smaller ones
generated by the jdk1.3. The source files had not been changed between
generation of the class files. I would appreciate if somebody could find out
the mystery of the class file generation of these 2 compilers --- also as I
said before classes generated by JBuilder IDE compiler works while the jdk
doesn't.

Cheers,


Sibon Barman
SS8 Networks, Inc.
Suite 500
495 March Road, Kanata,
Ontario K2K 3G1

*: (613)592-2100 ext:3281
*: sibon@ss8.com



-----Original Message-----
From: Edwin.Guenthner@Compart.net [mailto:Edwin.Guenthner@Compart.net]
Sent: Wednesday, January 31, 2001 2:47 AM
To: ant-user@jakarta.apache.org
Subject: RE: Antwort: class file size difference between Ant script and
JBuilder



Hi,

SB> I used the Sun's 1.3 JDK to compile rather than JBuilder's 1.3
compiler. I
SB> still have the same problem.

Really strange. I would recommened to get things working with SUN - since
SUN is kinda standard.

SB> Here is the error I get:
SB> java.lang.VerifyError: (class: com/adventnet/nms/mapui/ListFilter,
method:

Would be nice to see the javap -c code from your classes ...

I know the guy who is responsible for the Borland compiler - I assume that
he
would be quite eager to find out whether "his baby" or javac is producing
illegal code.

greetings,


----------------------------------------------------------------------
If you have received this e-mail in error or wish to read our e-mail
disclaimer statement and monitoring policy, please refer to
http://www.drkw.com/disc/email/ or contact the sender.
----------------------------------------------------------------------

Mime
View raw message