[Xapian-discuss] Xapian 0.8.2 released
Olly Betts
olly at survex.com
Fri Sep 17 00:33:26 BST 2004
On Thu, Sep 16, 2004 at 07:18:56PM -0400, Eric B. Ridge wrote:
> hmm. You need a classpath setting for the javac command that points to
> the "src" directory. Something like:
>
> javac -d . -classpath $XAPIAN_BINDINGS/java/ AssertionError.java
>
> I'm not sure how to translate that into make-speak, but hopefully it'll
> provide a hint.
Probably. One clarification the argument to -classpath presumably needs
be the path to the .class files? Do the .java files need to be on the
class path too? I'm not quite seeing how javac uses the classpath here
as the .class files may be built in arbitrary order it seems.
The issue is that if we're building with srcdir != builddir then the
.java files are in srcdir while the .class files will be in builddir.
Cheers,
Olly
More information about the Xapian-discuss
mailing list