Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 67362 invoked from network); 7 Aug 2006 11:07:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Aug 2006 11:07:23 -0000 Received: (qmail 76022 invoked by uid 500); 7 Aug 2006 11:07:17 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 75941 invoked by uid 500); 7 Aug 2006 11:07:17 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 75930 invoked by uid 99); 7 Aug 2006 11:07:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Aug 2006 04:07:17 -0700 X-ASF-Spam-Status: No, hits=3.1 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,DNS_FROM_RFC_WHOIS,PLING_QUERY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.48.234] (HELO web52711.mail.yahoo.com) (206.190.48.234) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 07 Aug 2006 04:07:16 -0700 Received: (qmail 72637 invoked by uid 60001); 7 Aug 2006 11:06:55 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=twOcjB929CwVf2++cJWL2gQN0nuasxp2U2ATClZ515K2CW0fgF2UhbU6xrENfPSbjztO4DjwAMnqw2Kxy3MIst+sgRU0JyOvUHgDc8S0K/dQ4cDD6Meo3fs+1uD9cDfpCRH8ROaBiay+kYDI3rno11MK3KTzwD0WisPSCxzzaO0= ; Message-ID: <20060807110655.72635.qmail@web52711.mail.yahoo.com> Received: from [65.54.155.52] by web52711.mail.yahoo.com via HTTP; Mon, 07 Aug 2006 04:06:55 PDT Date: Mon, 7 Aug 2006 04:06:55 -0700 (PDT) From: Anil Philip Subject: Re: help! how to reduce the size of Commons libs needed? To: Jakarta Commons Users List In-Reply-To: <31cc37360608062351x740e66e0g8c3134abe4e7dd54@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Thanks for replying. How would I know what classes I need for ftp and email? >From the JarJar manual: "Zapping: Often your project will need only a subset of the classes another library provides. As a convenience, JarJarTask also adds a "zap" element, which uses the same wildcard patterns but causes any matched class to be removed from the resulting jar file. In our example, suppose we do not need JDOM support. With a single "zap" element we can remove that entire package (and subpackages, if any): " --- Henri Yandell wrote: > Try JarJar: > > http://tonicsystems.com/products/jarjar/ > > It won't do it automatically by the look of it, but > you can use it to > remove the parts of Net that you don't need. > > Hen > > On 8/4/06, Anil Philip > 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. > > Here are the library sizes: > > > > 1) javamail - 349Kb > > 2) Java Activation Framework - 55 Kb > > 3) Commons.Net - 177 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