[
https://issues.apache.org/jira/browse/LUCENE-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12590995#action_12590995
]
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: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]