Return-Path: Delivered-To: apmail-lucene-java-dev-archive@www.apache.org Received: (qmail 13201 invoked from network); 27 Jun 2007 05:28:49 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jun 2007 05:28:49 -0000 Received: (qmail 37579 invoked by uid 500); 27 Jun 2007 05:28:50 -0000 Delivered-To: apmail-lucene-java-dev-archive@lucene.apache.org Received: (qmail 37527 invoked by uid 500); 27 Jun 2007 05:28:49 -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 37516 invoked by uid 99); 27 Jun 2007 05:28:49 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 22:28:49 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 22:28:46 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0A87071403F for ; Tue, 26 Jun 2007 22:28:26 -0700 (PDT) Message-ID: <19644110.1182922106040.JavaMail.jira@brutus> Date: Tue, 26 Jun 2007 22:28:26 -0700 (PDT) From: "Doron Cohen (JIRA)" To: java-dev@lucene.apache.org Subject: [jira] Commented: (LUCENE-945) contrib/benchmark tests fail find data dirs In-Reply-To: <17806791.1182921986391.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/LUCENE-945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12508425 ] Doron Cohen commented on LUCENE-945: ------------------------------------ To resolve this: - add "work.dir" property to Config, to be set to the value of system property "benchmark.work.dir", with default "work". - in common-build.xml define this new property as ${common.dir}/contrib/benchmark/work - in all doc makers refer to config.get("work.dir") rather than current hard-coded "./work". > contrib/benchmark tests fail find data dirs > ------------------------------------------- > > Key: LUCENE-945 > URL: https://issues.apache.org/jira/browse/LUCENE-945 > Project: Lucene - Java > Issue Type: Bug > Components: contrib/benchmark > Reporter: Doron Cohen > Assignee: Doron Cohen > Priority: Minor > > This was exposed by LUCENE-940 - a test was added that uses the Reuters collection. Then tests succeed when ran from contrib/benchmark (e.g. by IDE) but fail when running as part of "ant test-contrib" because the test expects to find the Reuters data under trunk/work. -- 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