Hello, Andi.
>> 3 out of 3 hunks ignored -- saving rejects to file 
>> src/java/org/apache/lucene/index/IndexFileNameFilter.java.rej
>> patching file src/java/org/apache/lucene/document/AbstractField.java
>> Hunk #1 FAILED at 15.
>> Hunk #2 FAILED at 272.

AV> I don't have this problem, it patches fine for me.
AV> Are you sure your patches.analyzers file looks like this ?
AV>      http://svn.osafoundation.org/pylucene/trunk/patches.analyzers

yes. it is exactly the same.

AV> I notice that there are ^M (Ctrl-M) characters in patches.analyzers as there
AV> are some of the chars in the original sources too. Did you by any chance 
post
AV> process the lucene sources causing them to lose their ^M chars ? (the patch
AV> files have to match the sources).

nope, i do not process them. maybe thats b/c i use windows. also i
have updated patch program for cygwin to the latest version - patch
fails :(

i know that i can remove thai analyzer and build will go okay, but im
wondering why does it happen... also i have found that
AbstractField.java cannot be patched too. other files are fine.

here is rejected chunk:

AbstractField.java.rej
***************
*** 15,20 ****
   * limitations under the License.
   */
  
  
  /**
   *
--- 15,21 ----
   * limitations under the License.
   */
  
+ import java.io.Reader;
  
  /**
   *
***************
*** 271,274 ****
      result.append('>');
      return result.toString();
    }
  }
--- 272,282 ----
      result.append('>');
      return result.toString();
    }
+ 
+   /* The following abstract methods were added as a workaround for GCJ bug 
#15411.
+    * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15411
+    */
+   public abstract String stringValue();
+   public abstract Reader readerValue();
+   public abstract byte[] binaryValue();
  }


--
Yura Smolsky


_______________________________________________
pylucene-dev mailing list
[email protected]
http://lists.osafoundation.org/mailman/listinfo/pylucene-dev

Reply via email to