Paul Hastings wrote:
> Mike Sargent wrote:
>> I'm trying to use the latest iText along side BlueDragon server, which 
> 
> why? what are you trying to do? if you don't care about using cfdocument, 
> just 
> replace the jar that comes w/BD.
> 
>> Not being a java programmer, I have no clue how to refactor a jar file.
> 
> 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.


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
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to