Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 12892 invoked from network); 11 Jun 2009 15:53:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jun 2009 15:53:26 -0000 Received: (qmail 44667 invoked by uid 500); 11 Jun 2009 15:53:37 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 44583 invoked by uid 500); 11 Jun 2009 15:53:37 -0000 Mailing-List: contact java-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-dev@lucene.apache.org Delivered-To: mailing list java-dev@lucene.apache.org Received: (qmail 44574 invoked by uid 99); 11 Jun 2009 15:53:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 15:53:37 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 15:53:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 563B5234C004 for ; Thu, 11 Jun 2009 08:53:07 -0700 (PDT) Message-ID: <734460745.1244735587339.JavaMail.jira@brutus> Date: Thu, 11 Jun 2009 08:53:07 -0700 (PDT) From: "Simon Willnauer (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Updated: (LUCENE-1407) Refactor Searchable to not have RMI Remote dependency In-Reply-To: <1683446292.1222445144479.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Simon Willnauer updated LUCENE-1407: ------------------------------------ Attachment: LUCENE-1407.patch Moved - org.apache.lucene.search.RemoteSearchable.java - org.apache.lucene.search.RemoteCachingWrapperFilter.java and depending test-cases to contrib/remote Removed ant#rmci call from build.xml Added build.xml to contrib/remote Added pom.xml.template to contrib/remote Added package.html to contrib/remote/src/java/org/apache/lucene/search/ Ideally, the move should be done using svn copy which does not appear in a diff afaik. I did run test-cases with success. After finishing the patch I removed the Java standard library and compiled against android.jar version 1.1 / 1.5 and did not get any compile errors. I did not run the build in an emulator neither did I run any test-cases in it I guess that is little out of scope but I will do it one in the near future just in case I can catch another problem. This change has one downside :(, the ant target "test-tag" will fail which is correct in my eyes as this patch breaks the compatibility in a certain way. I do have some ideas to make is succeed but I did not include them in the patch. > Refactor Searchable to not have RMI Remote dependency > ----------------------------------------------------- > > Key: LUCENE-1407 > URL: https://issues.apache.org/jira/browse/LUCENE-1407 > Project: Lucene - Java > Issue Type: Improvement > Reporter: Grant Ingersoll > Priority: Minor > Fix For: 2.9 > > Attachments: LUCENE-1407.patch > > > Per http://lucene.markmail.org/message/fu34tuomnqejchfj?q=RemoteSearchable > We should refactor Searchable slightly so that it doesn't extend the java.rmi.Remote marker interface. I believe the same could be achieved by just marking the RemoteSearchable and refactoring the RMI implementation out of core and into a contrib. > If we do this, we should deprecate/denote it for 2.9 and then move it for 3.0 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org For additional commands, e-mail: java-dev-help@lucene.apache.org