poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrš Petr (EXT) <PAn...@csas.cz>
Subject RE: Building POI with different package path
Date Wed, 23 Feb 2005 13:46:06 GMT
One other idea. What about loading sources to some advanced IDE and performing refactoring
and then compiling in that IDE? Would it work or does POI build process use some tricky things
like I met in FOP where sources for compiling are generated by XSLT during build process?

Petr

> -----Original Message-----
> From: Andrš Petr (EXT) [mailto:PAndrs@csas.cz]
> Sent: Wednesday, February 23, 2005 11:15 AM
> To: POI Users List
> Subject: RE: Building POI with different package path
> 
> 
> Hi Avik,
> 
> I was thinking about doing some search and replace. I would 
> like to ask whether changing only package and import 
> statements (and probably build script) will be suffcient or 
> are there tricky places with stuff like Class.forName() or so.
> 
> The other thing is that in build howto is list of available 
> targets but no info about which and in what order to run them 
> to perform build. I want to build it from 2.0 source 
> ditribution downloaded from apache archives. I do have Ant 
> installed on my system. Do I need some other things? I am 
> only interested in building classes and creating jars.
> 
> Thanks,
> Petr
> 
> > -----Original Message-----
> > From: Avik Sengupta [mailto:avik.sengupta@itellix.com]
> > Sent: Tuesday, February 22, 2005 11:35 AM
> > To: POI Users List
> > Subject: Re: Building POI with different package path
> > 
> > 
> > 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/
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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/


Mime
View raw message