lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-945) contrib/benchmark tests fail find data dirs
Date Wed, 27 Jun 2007 05:28:26 GMT

    [ 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


Mime
View raw message