ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Conor MacNeill <co...@cortexebusiness.com.au>
Subject Re: Jar size differs..
Date Thu, 12 Dec 2002 13:30:11 GMT
Ram Krish wrote:
> Hi stefan,
>          The class files differ in size when i use
> <jar> task(i compared these class files with those
> madw with the dos batch file).
> 

Are you sure this is not due to the exclusion of debug info when compiling? 
When you use javac at the command line, it will include basic debug info 
(line numbers, etc) whereas Ant by default does not. So, the size difference 
is probably more to do with javac than jar. Try turning debug on in your 
<javac> task to see if the classes are then the same size.

Conor



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message