From: Diego R. <die...@gm...> - 2008-04-22 14:44:50
|
Hi Edoardo, I've checked line by line and file by file and found some *.java.bak files which were like 200 kB. I removed those files and my package reduced its size to 209kB after obfuscation. Thanks for your help. On Tue, Apr 22, 2008 at 3:12 AM, Edoardo Schepis <edo...@fu...> wrote: > Hi Diego, > in general regarding the obfuscation you should: > - have proguard, retroguard or another obfuscator package in your wtk > installation > - enable the wtk.obfuscate parameter in build.properties file (it should > be enabled by default) > > Using the rebuild target or any other device-specific target you should > see at the end the obfuscated package of the right size. > 410Kb sounds like it is not obfuscated. > > Which ant target are you using? > Could you send the console-output of build? > Did you open the jar to see if the content is obfuscated? > > Thanks for your feedback > Edoardo > > > > > Diego Reinoso ha scritto: > > > > Hi everyone, > > > > First of all I'm new in Java and J2ME Real World Application Development. > > > > I'm working with Ubuntu + Eclipse + EclipseME + J2ME (Wireless Tool Kit) > > > > I downloaded funambol-mail-client-src-6.5.10.zip and > > funambol-mail-client-6.5.10.zip and all the libraries needed. > > > > I get the project working from the sources. But my problem comes when > > I package all the project. I get a .jar file of 410 KB after using > > Proguard Ofuscation. > > > > This is too much compared with the 236KB from the precompiled app. > > > > If you could give me some pointers on how could I reduce the size of > > my .jar file I will be very thankful. > > > > > > -- > Edoardo Schepis sc...@fu... > Java ME Tech Lead www.funambol.com > > funambol :: mobile open source :: http://www.funambol.com > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone > _______________________________________________ > Sync4j-users mailing list > Syn...@li... > https://lists.sourceforge.net/lists/listinfo/sync4j-users > -- Diego Reinoso Quito - Ecuador |