accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1514) AccumuloVFSClassloader incorrectly treats folders as folders of jar files
Date Tue, 29 Oct 2013 00:34:31 GMT

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

Christopher Tubbs commented on ACCUMULO-1514:
---------------------------------------------

For consistency, I really wish this code behaved like a [java classpath|http://docs.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html]:

{code}
x match {
 case x/ -> classpath.add(x) // directory case
 case x/* -> x.getChildren() foreach classpath.add // java classpath wildcard case
 case x -> classpath.add(x) // file case
}
{code}


> AccumuloVFSClassloader incorrectly treats folders as folders of jar files
> -------------------------------------------------------------------------
>
>                 Key: ACCUMULO-1514
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1514
>             Project: Accumulo
>          Issue Type: Bug
>            Reporter: Christopher Tubbs
>            Assignee: John Vines
>             Fix For: 1.6.0
>
>
> Specifying a directory of classes is incorrectly interpreted as a directory of jars in
the general.dynamic.classpaths configuration property.
> Example: adding a path such as *_$ACCUMULO_HOME/core/target/classes_* gets incorrectly
interpreted as *_$ACCUMULO_HOME/core/target/classes/\*_* and evaluates to *_$ACCUMULO_HOME/core/target/classes/org_*
and *_$ACCUMULO_HOME/core/target/classes/META-INF_*, but *NOT* to *_$ACCUMULO_HOME/core/target/classes_*
as expected.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message