commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anil Philip <goodnewsfor...@yahoo.com>
Subject Re: [commons-net, commons-email] help! - How to reduce commons net and email lib sizes?
Date Sat, 05 Aug 2006 00:00:07 GMT
You mentioned "ItÂ’s not as sophisticated as proguard
that does even remove dead code inside classes."
However Proguard leaves libraries alone. Does your
minijar operate on libraries? eg. commons-net-1.4.jar
Or would I have to build the jar from the original
source?
thanks,
Anil

--- Torsten Curdt <tcurdt@apache.org> wrote:

> This should help
> 
>  http://vafer.org/blog/tag/minijar
> 
> ...hope to get it integrated into the maven2
> dependency/assembly plugin one day
> 
> cheers
> --
> Torsten
> 
> On 8/5/06, Anil Philip <goodnewsforyou@yahoo.com>
> wrote:
> > Hello,
> > I have a very pressing problem.
> > My application is distributed via Java Webstart,
> hence
> > it needs to be sensitive to download times and is
> only
> > about < 300Kb.
> > I also need to do basic ftp, and send basic email
> with
> > an attachment. However the library sizes are
> > overwhelming when I use Commons Net and Commons
> Email.
> > Here are the library sizes:
> >
> > 1) javamail: mail.jar - 349Kb
> > 2) Java Activation Framework: activation.jar - 55
> Kb
> > 3) Commons.Net - 177 Kb
> > 4) Commons Email - 23 Kb
> >
> > Thus the Commons libs are TWICE my application
> size!!!
> > Can anyone suggest a solution?
> > Much appreciate any help.
> > thanks,
> > Anil
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> commons-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail:
> commons-user-help@jakarta.apache.org
> >
> >
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail:
> commons-user-help@jakarta.apache.org
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message