---------------------------------------- > Date: Wed, 15 Apr 2009 08:56:33 -0700 > From: earth > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] Refactored iText > >> >> you don't, you refactor the code. d/l the source, pop it into your java >> editor >> (say eclipse) & have it refactor/rename the itext package. >
Personally I now write all my java code intended for use with a c++ preprocessor and use macro/conditional for stuff like that- especially handy for phones where you want to have one code base for phone and desk. This situation also highlights some of the options you have to mix-and-match tools ( that would never appear on the same menu tree LOL ) when you can reduce data ( in this case java code ) to something with a lot of support like text. Imagine you tried to describe your code as an animated feature LOL... > > If you absolutely need to have the two versions present at the same > time, there is a tool called jarjar that can repackage a jar file and > rename all classes to use a different prefix. > > You can have a look at some examples on their wiki: > > http://code.google.com/p/jarjar/wiki/GettingStarted > > Of course, you may end up with confusing class loading problems but in > the case of the original poster, it should work fine if he only uses the > classes with the new package name. > > > Best Regards, > > Xavier Le Vourch > > -- > XLV Labs > > Publisher of "Who Called?", Caller Id application for Android phones: > > http://www.xlv-labs.com/whocalled > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > High Quality Requirements in a Collaborative Environment. > Download a free trial of Rational Requirements Composer Now! > http://p.sf.net/sfu/www-ibm-com > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php _________________________________________________________________ Rediscover HotmailĀ®: Get e-mail storage that grows with you. http://windowslive.com/RediscoverHotmail?ocid=TXT_TAGLM_WL_HM_Rediscover_Storage1_042009 ------------------------------------------------------------------------------ This SF.net email is sponsored by: High Quality Requirements in a Collaborative Environment. Download a free trial of Rational Requirements Composer Now! http://p.sf.net/sfu/www-ibm-com _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php