lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-4653) Solr configuration should log inaccessible/ non-existent relative paths <lib dir="...">
Date Tue, 02 Apr 2013 15:03:16 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13619898#comment-13619898
] 

Uwe Schindler edited comment on SOLR-4653 at 4/2/13 3:01 PM:
-------------------------------------------------------------

Just one additional idea: There are comments about the regex in the current code and complexity
for users. How about using ANT-style filesets for specifying the lib dirs? We dont need ANT
for that, just plexus-utils-1.1.jar from Maven, which contains DirectoryScanner that is able
to parse things like {{\*\*/\*.jar}}. I use that in the fobidden APIs CLI and Mojo classes:
https://code.google.com/p/forbidden-apis/source/browse/trunk/src/main/java/de/thetaphi/forbiddenapis/CliMain.java#257

Otherwise +1 to commit!
                
      was (Author: thetaphi):
    Just one additional idea: There are comments about the regex in the current code and complexity
for users. How about using ANT-style filesets for specifying the lib dirs? We dont need ANT
for that, just plexus-utils-1.1.jar from Maven, which contains DirectoryScanner that is able
to parse things like {{\*\*/\*.jar}}. I use that in the fobidden APIs CLI and Mojo classes:
https://code.google.com/p/forbidden-apis/source/browse/trunk/src/main/java/de/thetaphi/forbiddenapis/CliMain.java#261

Otherwise +1 to commit!
                  
> Solr configuration should log inaccessible/ non-existent relative paths <lib dir="...">
> ---------------------------------------------------------------------------------------
>
>                 Key: SOLR-4653
>                 URL: https://issues.apache.org/jira/browse/SOLR-4653
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Dawid Weiss
>            Assignee: Dawid Weiss
>            Priority: Trivial
>         Attachments: SOLR-4653.patch
>
>
> Currently the dir path is resolved relative to core's instanceDir but if you don't know
it nothing happens (no warning, no nothing). This is very frustrating.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message