Index: BUILD.txt =================================================================== --- BUILD.txt (revision 772415) +++ BUILD.txt (working copy) @@ -3,14 +3,14 @@ $Id$ Basic steps: - 0) Install JDK 1.4 (or greater), Ant 1.6.2 (or greater) + 0) Install JDK 1.4 (or greater), Ant 1.6.3 (or greater) 1) Download Lucene from Apache and unpack it 2) Connect to the top-level of your Lucene installation 3) Install JavaCC (optional) 4) Run ant Step 0) Set up your development environment (JDK 1.4 or greater, -Ant 1.6.2 or greater) +Ant 1.6.3 or greater) We'll assume that you know how to get and set up the JDK - if you don't, then we suggest starting at http://java.sun.com and learning @@ -18,7 +18,7 @@ JDK 1.4 and later. Like many Open Source java projects, Lucene uses Apache Ant for build -control. Specifically, you MUST use Ant version 1.6.2 or greater. +control. Specifically, you MUST use Ant version 1.6.3 or greater. Ant is "kind of like make without make's wrinkles". Ant is implemented in java and uses XML-based configuration files. You can Index: common-build.xml =================================================================== --- common-build.xml (revision 772415) +++ common-build.xml (working copy) @@ -233,6 +233,12 @@ destdir="${build.dir}/classes/java"> + + + + + + Index: contrib/analyzers/src/java/org/apache/lucene/analysis/ar/stopwords.txt =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Index: contrib/analyzers/src/resources/org/apache/lucene/analysis/ar/stopwords.txt =================================================================== --- contrib/analyzers/src/resources/org/apache/lucene/analysis/ar/stopwords.txt (revision 0) +++ contrib/analyzers/src/resources/org/apache/lucene/analysis/ar/stopwords.txt (revision 0) @@ -0,0 +1,350 @@ +# This file was created by Jacques Savoy and is distributed under the BSD license. +# See http://members.unine.ch/jacques.savoy/clef/index.html. +# Also see http://www.opensource.org/licenses/bsd-license.html +ب +ا +أ +، +عشر +عبد +عدد +عدة +عشرة +عدم +عام +عاما +عرفات +عن +عند +عمان +عندما +على +علي +عليه +عليها +عملية +زيارة +سبتمبر +ساراييفو +سنة +سوريا +سنوات +تشرين +تم +تموز +ضد +بعد +بعض +اعادة +اعلن +اعلنت +حزب +حزيران +بسبب +اسرائيل +حسين +حتى +اتفاق +صرب +اذا +احد +اثر +غزة +برس +باسم +اجتماع +غدا +شخصا +صباح +اطار +اربعة +بغداد +اخرى +باريس +رابين +شرق +بان +ابو +اجل +غير +حركة +رئيس +جديدة +اطلاق +بشكل +بطولة +صحيفة +حاليا +بن +به +ثم +اف +ان +او +اي +بها +جهة +صفر +حيث +اكد +الا +اما +العسكرية +العراق +العاصمة +العربية +العراقي +العراقية +العام +العالم +العلاقات +العمل +امس +السعودية +الساعة +السبت +السابق +روسيا +السلطة +السلطات +السلام +التعاون +التحرير +التى +التي +اكتوبر +دورة +اكثر +ايار +ايضا +الجزائر +حماس +الاسرائيلي +الاسرائيلية +الاسبوع +الاسلحة +الاسلامية +ذكرت +الاتحاد +الاتفاق +ثلاثة +الحرب +الاحد +الذاتي +الشرطة +الاربعاء +الغربية +الخارجية +الاردن +الشرق +ايران +الحدود +الرئيس +الاخيرة +الثاني +الثانية +الاثنين +شمال +بيان +دمشق +الذى +الذي +الان +امام +ايام +خلال +الشيخ +الجيش +الدور +الضفة +الجمعة +بيريز +الاوسط +الروسي +البوسنة +الروسية +بيروت +الانتخابات +البلاد +الدفاع +الثلثاء +الانباء +الثلاثاء +الاوروبي +حوالى +الذين +الدول +الحكم +الامم +الامن +الاول +الدولة +الخليج +الخميس +الاميركي +الاميركية +الدولي +الاولى +الدولية +الحكومة +بين +ذلك +دول +دون +حول +حين +الف +الى +انه +اول +ضمن +جنوب +دولة +انها +جميع +الوزراء +المتحدث +المتحدة +دولار +النار +الوضع +القدس +المحتلة +المصدر +المباراة +المصري +الماضي +المصرية +المرحلة +القدم +اللجنة +المجلس +الفرنسي +الفرنسية +القاهرة +المدينة +المانيا +الوطنية +المجموعة +الله +الفلسطيني +الفلسطينية +الفلسطينيين +الوقت +المقرر +القوات +النهائي +المقبل +المنطقة +الولايات +المفاوضات +الملك +اليمن +اليوم +ايلول +الكويت +ـ +ف +و +و6 +قد +لا +ما +مع +وزارة +وزير +مساء +قتل +كرة +مصر +هذا +فاز +كأس +ياسر +قرار +مصدر +واحد +قطاع +مصادر +مباراة +مبارك +واضاف +واضافت +فرانس +واشنطن +فان +قبل +قال +كان +لدى +نحو +هذه +وان +محمد +واكد +يذكر +مجلس +فرنسا +كريستوفر +كانت +واوضح +لبنان +مايو +مدينة +مجموعة +كانون +فى +في +كل +لم +لن +له +من +هو +هي +قوة +كما +لها +منذ +وقد +ولا +نفسه +موسكو +مقتل +لقاء +لكرة +نقطة +قوات +مقابل +لندن +هناك +وقال +وكان +منطقة +منظمة +نهاية +وكالة +وقالت +وكانت +للامم +فيه +كلم +لكن +وفي +وقف +ولم +ومن +وهو +وهي +يوم +فيها +منها +مليار +لوكالة +يكون +يمكن +كلينتون +مليون +يوليو +يونيو +نيويورك Property changes on: contrib\analyzers\src\resources\org\apache\lucene\analysis\ar\stopwords.txt ___________________________________________________________________ Added: svn:eol-style + native Index: contrib/analyzers/src/test/org/apache/lucene/analysis/ar/TestArabicAnalyzer.java =================================================================== --- contrib/analyzers/src/test/org/apache/lucene/analysis/ar/TestArabicAnalyzer.java (revision 0) +++ contrib/analyzers/src/test/org/apache/lucene/analysis/ar/TestArabicAnalyzer.java (revision 0) @@ -0,0 +1,36 @@ +package org.apache.lucene.analysis.ar; + +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import junit.framework.TestCase; + +/** + * Test the Arabic Analyzer + * + */ +public class TestArabicAnalyzer extends TestCase { + + /** This test fails with NPE when the + * stopwords file is missing in classpath */ + public void testResourcesAvailable() { + new ArabicAnalyzer(); + } + + /* TODO: more tests */ + +} Property changes on: contrib\analyzers\src\test\org\apache\lucene\analysis\ar\TestArabicAnalyzer.java ___________________________________________________________________ Added: svn:eol-style + native