You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2008/04/20 21:34:22 UTC
[jira] Updated: (LUCENE-1090) remove relative paths assumptions
from benchmark code
[ 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 to replace "value" and "line" props by
"location" and "file" and by 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 to use "value" and "line" props instead
of "file" and by requiring absolute paths in the Java code.
Lucene Fields: (was: [New])
> 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 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org