lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Varun Thacker (JIRA)" <>
Subject [jira] [Updated] (LUCENE-3018) Lucene Native Directory implementation need automated build
Date Thu, 14 Apr 2011 15:11:06 GMT


Varun Thacker updated LUCENE-3018:

    Attachment: LUCENE-3018.patch

I have made the changes which were mentioned by Simon.

I have changed the way JNI header files are included:
{code:title=JNI header includes|borderStyle=solid}
  			<pathelement location="${java.home}/../include"/>
  			<pathelement location="${java.home}/../include/linux"/>

The reason being when I echoed java.home it's path was :

Changed the path convention to:
<fileset file="${src.dir}/org/apache/lucene/store/NativePosixUtil.cpp" />

The directory for the shared library is now:
{code:title=Shared File Directory|borderStyle=solid}

I have explicitly specified GCC as a compiler so that in future when Windows is also incorporated
it would be needed.

I will write a small test case to see whether the .so file being built is working fine.

> Lucene Native Directory implementation need automated build
> -----------------------------------------------------------
>                 Key: LUCENE-3018
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Wish
>          Components: Build
>    Affects Versions: 4.0
>            Reporter: Simon Willnauer
>            Assignee: Varun Thacker
>            Priority: Minor
>             Fix For: 4.0
>         Attachments: LUCENE-3018.patch, LUCENE-3018.patch, LUCENE-3018.patch, cpptasks.jar
> Currently the native directory impl in contrib/misc require manual action to compile
the c code (partially) documented in 
> yet it would be nice if we had an ant task and documentation for all platforms how to
compile them and set up the prerequisites.

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message