Re: Feature request: include collation

2010-09-29 Thread Christian Heimes
Am 27.09.2010 03:59, schrieb Andi Vajda: > In 3.x and trunk, I've been porting ICU-dependant Lucene contrib features to > use PyICU [1][2] (which depends on C++ ICU). I think that having PyLucene > depend both on C++ ICU and Java ICU is one ICU too many :-), though. > > I'm not sure at this poin

Re: Feature request: include collation

2010-09-29 Thread Andi Vajda
On Sep 29, 2010, at 8:29, Christian Heimes wrote: Am 27.09.2010 03:59, schrieb Andi Vajda: In 3.x and trunk, I've been porting ICU-dependant Lucene contrib features to use PyICU [1][2] (which depends on C++ ICU). I think that having PyLucene depend both on C++ ICU and Java ICU is one ICU

Re: Feature request: include collation

2010-09-29 Thread Dirk Rothe
On Wed, 29 Sep 2010 17:49:03 +0200, Andi Vajda wrote: On Sep 29, 2010, at 8:29, Christian Heimes wrote: Am 27.09.2010 03:59, schrieb Andi Vajda: In 3.x and trunk, I've been porting ICU-dependant Lucene contrib features to use PyICU [1][2] (which depends on C++ ICU). I think that having

wrapping itext with JCC?

2010-09-29 Thread Bill Janssen
I thought I'd try writing my own version of pdftk with Python. (pdftk is a C++ wrapper around a Java library that uses gcj to provide the C++ bindings.) First I have to wrap iText with JCC. I'm using JCC 2.6 from PyLucene 2.9.1. % python -m jcc --shared --jar iText.jar --package java.lang --pac

Re: wrapping itext with JCC?

2010-09-29 Thread Bill Janssen
Bill Janssen wrote: > Assuming DOMAIN is the problem, what's the right way to rename it out of the > way? > > I tried adding "--rename com.itextpdf.text.pdf.PdfName.DOMAIN=DOMAIN_", > with no change. I checked the archives and found the "--reserved" switch. Thanks! Bill

Re: wrapping itext with JCC?

2010-09-29 Thread Bill Janssen
So, just to close out this thread and record this: I'm wrapping iText 5.0.4 with JCC 2.6, using Python 2.5. Here's the command line: python -m jcc --shared --jar iText.jar --reserved DOMAIN --python itext --version 5.0.4 --files 2 --build --install Works fine. Bill

Re: wrapping itext with JCC?

2010-09-29 Thread Andi Vajda
On Sep 29, 2010, at 19:27, Bill Janssen wrote: I thought I'd try writing my own version of pdftk with Python. (pdftk is a C++ wrapper around a Java library that uses gcj to provide the C ++ bindings.) First I have to wrap iText with JCC. I'm using JCC 2.6 from PyLucene 2.9.1. % python

Re: wrapping itext with JCC?

2010-09-29 Thread Andi Vajda
On Sep 29, 2010, at 19:41, Bill Janssen wrote: So, just to close out this thread and record this: I'm wrapping iText 5.0.4 with JCC 2.6, using Python 2.5. Here's the command line: python -m jcc --shared --jar iText.jar --reserved DOMAIN --python itext --version 5.0.4 --files 2 --build