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 2007/12/15 21:39:43 UTC

[jira] Created: (LUCENE-1090) remove relative paths assumptions from benchmark 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 assuming relative 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


[jira] Commented: (LUCENE-1090) remove relative paths assumptions from benchmark code

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
    [ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Updated: (LUCENE-1090) remove relative paths assumptions from benchmark code

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Resolved: (LUCENE-1090) remove relative paths assumptions from benchmark code

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Doron Cohen resolved LUCENE-1090.
---------------------------------

    Resolution: Fixed

> 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
>
>         Attachments: lucene-1090.patch
>
>
> 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


[jira] Updated: (LUCENE-1090) remove relative paths assumptions from benchmark code

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
     [ 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 use "value" and "line" props instead 
of "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 "value" and "line" props to "file" and 
by not requiring absolute 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 to use "value" and "line" props instead 
> of "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


[jira] Updated: (LUCENE-1090) remove relative paths assumptions from benchmark code

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Updated: (LUCENE-1090) remove relative paths assumptions from benchmark code

Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1090?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

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

    Attachment: lucene-1090.patch

Trivial patch for benchmark build.xml.
Will commit shortly.

> 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
>
>         Attachments: lucene-1090.patch
>
>
> 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