[Xapian-tickets] [Xapian] #716: Python Examples to Java
Xapian
nobody at xapian.org
Sun Apr 3 14:21:43 BST 2016
#716: Python Examples to Java
------------------------------------+----------------------------
Reporter: mkash32 | Owner: mkash32
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Xapian-bindings (Java) | Version: 1.2.23
Severity: minor | Resolution:
Keywords: Java, Examples | Blocked By:
Blocking: | Operating System: All
------------------------------------+----------------------------
Comment (by james):
The make invocation I'm using to build documentation using Java is as
follows:
{{{
make clean html SPHINXOPTS=-tjava JAVAC='javac -classpath ../build/xapian-
bindings/java/built/xapian_jni.jar:./code/java/' JAVA='java
-Djava.library.path=../build/xapian-bindings/java/.libs -classpath
../build/xapian-bindings/java/built/xapian_jni.jar:./code/java/'
}}}
That's with the user manual repo checked out in the same directory as a
'build' directory where I built Xapian (and hence the bindings). Xapian is
installed in /usr/local as normal. Ideally at some point we'd make the
build system figure this out itself, but for now that's the way to do it.
(You also have to comment out line 309 or thereabouts of conf.py, where it
does `sys.exit(1)` if there are "bad characters" in the environment
variables. We'll have to fix that properly at some point as well.)
--
Ticket URL: <https://trac.xapian.org/ticket/716#comment:2>
Xapian <//xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list