From: Diego R. <die...@gm...> - 2008-04-21 23:00:01
|
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. -- Diego Reinoso Quito - Ecuador |
From: Edoardo S. <edo...@fu...> - 2008-04-22 08:12:58
|
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 |
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 |
From: Edoardo S. <edo...@fu...> - 2008-04-22 14:56:06
|
Hi Diego, did you edit the java files with some editor and it caused the issue? Edoardo Diego Reinoso ha scritto: > 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 >> >> > > > > -- Edoardo Schepis sc...@fu... Java ME Tech Lead www.funambol.com funambol :: mobile open source :: http://www.funambol.com |
From: Diego R. <die...@gm...> - 2008-04-22 15:06:02
|
Hi Edoardo, These *.java.bak files come within the funambol-mail-client-src-6.5.10.zip package. I downloaded this package from http://forge.objectweb.org/project/showfiles.php?group_id=96 I don't know what are these files for. On Tue, Apr 22, 2008 at 9:54 AM, Edoardo Schepis <edo...@fu...> wrote: > Hi Diego, > did you edit the java files with some editor and it caused the issue? > > > > Edoardo > > Diego Reinoso ha scritto: > > 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 > >> > >> > > > > > > > > > > -- > 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 |
From: Edoardo S. <edo...@fu...> - 2008-04-22 16:20:51
|
Hi Diego, you're right and I apologize for that. Doing the latest build these filese have been wrongly included. We are going to fix it and update the package as well on OW. Thank you very much for the feedback. Edoardo Diego Reinoso ha scritto: > Hi Edoardo, > > These *.java.bak files come within the > funambol-mail-client-src-6.5.10.zip package. > > I downloaded this package from > http://forge.objectweb.org/project/showfiles.php?group_id=96 > > I don't know what are these files for. > > > On Tue, Apr 22, 2008 at 9:54 AM, Edoardo Schepis > <edo...@fu...> wrote: > >> Hi Diego, >> did you edit the java files with some editor and it caused the issue? >> >> >> >> Edoardo >> >> Diego Reinoso ha scritto: >> > 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 >> >> >> >> >> > >> > >> > >> > >> >> -- >> 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 >> >> > > > > -- Edoardo Schepis sc...@fu... Java ME Tech Lead www.funambol.com funambol :: mobile open source :: http://www.funambol.com |
From: Edoardo S. <edo...@fu...> - 2008-04-28 16:44:39
|
Hi Diego and all, the new zip files (without .bak files) are now available. Sorry for the issue. Regards, Edoardo Edoardo Schepis ha scritto: > Hi Diego, > you're right and I apologize for that. > Doing the latest build these filese have been wrongly included. > We are going to fix it and update the package as well on OW. > > Thank you very much for the feedback. > Edoardo > > > Diego Reinoso ha scritto: > >> Hi Edoardo, >> >> These *.java.bak files come within the >> funambol-mail-client-src-6.5.10.zip package. >> >> I downloaded this package from >> http://forge.objectweb.org/project/showfiles.php?group_id=96 >> >> I don't know what are these files for. >> >> >> On Tue, Apr 22, 2008 at 9:54 AM, Edoardo Schepis >> <edo...@fu...> wrote: >> >> >>> Hi Diego, >>> did you edit the java files with some editor and it caused the issue? >>> >>> >>> >>> Edoardo >>> >>> Diego Reinoso ha scritto: >>> > 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 >>> >> >>> >> >>> > >>> > >>> > >>> > >>> >>> -- >>> 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 >>> >>> >>> >> >> >> > > -- Edoardo Schepis sc...@fu... Java ME Tech Lead www.funambol.com funambol :: mobile open source :: http://www.funambol.com |