Return-Path: Delivered-To: apmail-poi-dev-archive@www.apache.org Received: (qmail 44700 invoked from network); 8 Jul 2010 15:04:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Jul 2010 15:04:46 -0000 Received: (qmail 62551 invoked by uid 500); 8 Jul 2010 15:04:46 -0000 Delivered-To: apmail-poi-dev-archive@poi.apache.org Received: (qmail 62498 invoked by uid 500); 8 Jul 2010 15:04:45 -0000 Mailing-List: contact dev-help@poi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "POI Developers List" Delivered-To: mailing list dev@poi.apache.org Received: (qmail 62490 invoked by uid 99); 8 Jul 2010 15:04:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 15:04:45 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [66.225.135.164] (HELO mail.dirtt.net) (66.225.135.164) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Jul 2010 15:04:37 +0000 Received: from dirtt-exchange.DIRTT.local ([192.168.16.17]) by dirtt-exchange.DIRTT.local ([192.168.16.17]) with mapi; Thu, 8 Jul 2010 09:04:07 -0600 From: Kyle Ray To: POI Developers List Date: Thu, 8 Jul 2010 09:04:06 -0600 Subject: RE: Commons Math dependency? Thread-Topic: Commons Math dependency? Thread-Index: Acseq7f3VMsAvD4rSLq9HKJTgS4zuwAAO3uw Message-ID: <0DA0AE4CD383BD4E81F798F9B6408EA503F481D1A5@dirtt-exchange.DIRTT.local> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org Hello, Depends on how much of the Commons Math you use? If it's only a small perce= ntage/portion of the commons math library I would just implement your own e= quivalent methods, terrible I know, but if you expect to use more than a ha= ndful methods out of Commons Math I would include the whole library as a de= pendency. If you allow some people to use it and others to run without it y= ou have to make sure everyone who uses the library handles exceptions prope= rly when the library isn't available (this is likely to be a major pain in = your ass) hence why I suggest including it by default. How hard is it to m= ake these features work without the Commons Math Library? For what 'we' use POI for including commons math as a dependency is no prob= lem, we just use POI for processing data and we don't include POI as a depe= ndency of our application. Thank you, Kyle Ray d 403-450-3620 c 403-607-3346 =20 -----Original Message----- From: Nick Burch [mailto:nick.burch@alfresco.com]=20 Sent: Thursday, July 08, 2010 8:41 AM To: dev@poi.apache.org Subject: Commons Math dependency? Hi All We now have two proposed patches that need commons math. Firstly the POISSON function (bug #49538), and another (number I forget) which was for= =20 fractions when formatting numbers. The latest version of commons math is a 800kb jar file. This is, however,=20 larger than all the existing non-ooxml dependencies put together, and half= =20 the size of the core POI jar. That said, it's only 20% of the size of the=20 minimal ooxml schemas jar file, and a third of the size of xmlbeans. What do people think? Would it be ok to include this as a dependency?=20 Should we require it for these features, but let everything else work=20 without it (which could mean you run poi fine for ages, then suddenly one=20 day it blows up saying "hey, I need commons math now!")? Should we decline= =20 the patches that need commons math, and do without those features? Thoughts? Nick --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org For additional commands, e-mail: dev-help@poi.apache.org