From: <[EMAIL PROTECTED]>

> The jar file produced by Ant 1.4.1 is roughly 
> 500KB smaller than the one produced by 1.3.  

> However, I'm now thinking that it must be something 
> else that is different because the actual build 
> directory that contained the class files before 
> the jar was created differed in size by about 
> an entire meg.  

In Ant 1.3, id the debug attribute was not
specified to <javac>, the -debug flag was not 
included in the javac command line.  In Ant 1.4,
if debug attribute is not speficied to <javac>
-g:none is added to the javac command line.
Good or bad, this is the cause for the change
in class file size.

For more details on a related issue:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5167


> In any case, I don't see anything wrong with the Jar but my Boss doesn't
> want me to upgrade until I can explain why the difference exists :)
> 
> If anyone knows, I'd love to hear why. :-)
> 

Use ant -debug and notice the difference in
the javac command line that is being used.

Cheers,
Magesh

**************************************************
*  Opportunist: A person who starts taking bath  *
*  if he accidentally falls into a river.        *
**************************************************



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to