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] Updated: (LUCENE-1090) remove relative paths assumptions from benchmark code
Date Sat, 15 Dec 2007 20:50:43 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Doron Cohen updated LUCENE-1090:
--------------------------------

    Description: 
Also see Eric comments in:
   http://www.nabble.com/forum/ViewPost.jtp?post=14347924&framed=y

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 "value" and "line" props to "file" and 
by not requiring absolute paths in the Java code.

  was:
Also see Eric comments in:
   http://www.nabble.com/forum/ViewPost.jtp?post=14347924&framed=y

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 "value" and "line" props to "file" and 
by not assuming relative paths in the Java code.


> remove relative paths assumptions from benchmark code
> -----------------------------------------------------
>
>                 Key: LUCENE-1090
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1090
>             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:
>    http://www.nabble.com/forum/ViewPost.jtp?post=14347924&framed=y
> 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 "value" and "line" props to "file" and 
> by not 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message