lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doron Cohen (JIRA)" <>
Subject [jira] Commented: (LUCENE-1090) remove relative paths assumptions from benchmark code
Date Mon, 21 Apr 2008 18:57:22 GMT


Doron Cohen commented on LUCENE-1090:

I thought for a moment that with this change we can get rid of all work-dir assumptions and
use only absolute paths.
But in fact work-dir is necessary to allow running the tests from both trunk home and from
benchmark home. 
So the fix for this issue will not cancel the use of work-dir.

> remove relative paths assumptions from benchmark code
> -----------------------------------------------------
>                 Key: LUCENE-1090
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: contrib/benchmark
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>            Priority: Minor
>             Fix For: 2.4
> Also see Eric comments in:
> Benchmark's config.xml relies on relative paths, more or less like this;
> - base-dir
>    -- conf-dir
>    -- work-dir
>        --- docs-dir
>        --- indexes-dir
> These assumptions are also in the Java code, and so it is inconvenient for
> using absolute paths, e.g. for specifying a docs dir that is not under work-dir.
> Relax this by modifying in build.xml to replace "value" and "line" props by 
> "location" and "file" and by requiring absolute paths in the Java code.

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:
For additional commands, e-mail:

View raw message