lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Bini (JIRA)" <>
Subject [jira] Updated: (LUCENE-471) gcj ant target doesn't work on windows
Date Fri, 25 Nov 2005 22:18:57 GMT
     [ ]

Michele Bini updated LUCENE-471:

    Attachment: win-mmap.diff

Window implementation of to  memory mapped i/o

> gcj ant target doesn't work on windows
> --------------------------------------
>          Key: LUCENE-471
>          URL:
>      Project: Lucene - Java
>         Type: Bug
>   Components: Other
>     Versions: CVS Nightly - Specify date in submission
>  Environment: Windows with MinGW ( and unixutils (
>     Reporter: Michele Bini
>  Attachments: win-mmap.diff
> In order to fix it I made two changes, both really simple.
> First I added to org/apache/lucene/store/ some code to use windows memory-mapped
I/O instead than unix mmap().
> Then I had to rearrange the link order in the Makefile in order to avoid unresolved symbol
errors. Also to build repeatedly I had to instruct make to ignore the return code for the
mkdir command as on windows it fails if the directory already exists.
> I'm attaching two patches corresponding to the changes; please note that with the patches
applied, the gcj target still works on linux. Both patches apply cleanly to the current svn

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

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

View raw message