Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Developer
Posts: 11
Registered: ‎10-31-2009
My Device: Not Specified

The size of cod file build by bb ants is 4 times than build by eclipse plugin in

I found the size of cod build with bb ant tools is 410k, and build with eclipse plugin is only 130k.

 

I open the jar file and found jar build with bb ant tools contains 5 cod files,

EBK_AW-002-BB-8300_4.5.0-1.00.00-1.cod

EBK_AW-002-BB-8300_4.5.0-1.00.00-2.cod

 

EBK_AW-002-BB-8300_4.5.0-1.00.00-3.cod

EBK_AW-002-BB-8300_4.5.0-1.00.00-4.cod

 

 

EBK_AW-002-BB-8300_4.5.0-1.00.00-5.cod

and the jar build with eclipse only contains 2 cod files,
EBK_AW-002-BB-8300_4.5.0-1.00.00-1.cod
EBK_AW-002-BB-8300_4.5.0-1.00.00-2.cod

Why?

 

 

 

Developer
Posts: 16,999
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: The size of cod file build by bb ants is 4 times than build by eclipse plugin in

maybe they use different jde versions to build? after 4.2.1 (iirc) the build compression was changed and cods tend to be a bit larger.

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
New Developer
Posts: 11
Registered: ‎10-31-2009
My Device: Not Specified

Re: The size of cod file build by bb ant tools is 4 times bigger than build by eclipse plugin in

I've tried 4.2.1, 4.5.0, 4.6.1, 4.7.0, 5.0.0, and got the same result.

 

I think os eclipse plugin using is 4.5.0.