Return-Path: Delivered-To: apmail-jakarta-poi-user-archive@www.apache.org Received: (qmail 32889 invoked from network); 22 Feb 2005 10:38:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 22 Feb 2005 10:38:54 -0000 Received: (qmail 41283 invoked by uid 500); 22 Feb 2005 10:38:52 -0000 Delivered-To: apmail-jakarta-poi-user-archive@jakarta.apache.org Received: (qmail 41263 invoked by uid 500); 22 Feb 2005 10:38:52 -0000 Mailing-List: contact poi-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "POI Users List" Reply-To: "POI Users List" Delivered-To: mailing list poi-user@jakarta.apache.org Received: (qmail 41245 invoked by uid 99); 22 Feb 2005 10:38:52 -0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=FORGED_RCVD_HELO X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from DSL-KK-static-216.183.145.203.touchtelindia.net (HELO geriatrix.itellix.net) (203.145.183.216) by apache.org (qpsmtpd/0.28) with ESMTP; Tue, 22 Feb 2005 02:38:51 -0800 Received: from cacofonix.in.itellix.net (cacofonix.in.itellix.net [10.0.2.13]) by geriatrix.itellix.net (Postfix) with ESMTP id CF722430FB0 for ; Tue, 22 Feb 2005 15:33:53 +0530 (IST) Received: from it-avik.in.itellix.net (it-avik.in.itellix.net [10.0.2.122]) by cacofonix.in.itellix.net (Postfix) with ESMTP id BA37ACC00B for ; Tue, 22 Feb 2005 16:15:13 +0530 (IST) Subject: Re: Building POI with different package path From: Avik Sengupta To: POI Users List In-Reply-To: References: Content-Type: text/plain; charset=iso-8859-2 Date: Tue, 22 Feb 2005 16:05:09 +0530 Message-Id: <1109068510.16628.50.camel@it-avik.in.itellix.net> Mime-Version: 1.0 X-Mailer: Evolution 2.0.3 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Interesting... POI bundled? Anyways, you could use some smart awk/grep magic to change all pachage names in all files, and recompiling (you'll probably need to change build.xml as well)... Altenatively, if you have full control over your app, keep new POI out of JVM classpath, and load it from a separate directory using a custom classloader... None of the above sound very simple ..sorry! On Tue, 2005-02-22 at 11:28 +0100, Andr� Petr (EXT) wrote: > Hi, > > I need to have two different versions of POI in my classpath (one of them is some quite old customized version bundled with third party application). So I need to rebuild POI 2.0 so it will be in different package and different versions of same classes will not conflict. What is the easiest way to achieve this? > > Thanks, > Petr > > --------------------------------------------------------------------- > To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org > Mailing List: http://jakarta.apache.org/site/mail2.html#poi > The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/ > -- --------------------------------------------------------------------- To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org Mailing List: http://jakarta.apache.org/site/mail2.html#poi The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/