You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Lukas Kummer (JIRA)" <ji...@apache.org> on 2018/02/09 14:47:00 UTC

[jira] [Commented] (JCRVLT-268) filevaultMavenPlugin: scanning for oak index does not work on windows systems

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

Lukas Kummer commented on JCRVLT-268:
-------------------------------------

one option could be to use this as comparison:
{code:java}
"META-INF" + java.io.File.separator + "vault" + java.io.File.separator + "filter.xml"
{code}

> filevaultMavenPlugin: scanning for oak index does not work on windows systems
> -----------------------------------------------------------------------------
>
>                 Key: JCRVLT-268
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-268
>             Project: Jackrabbit FileVault
>          Issue Type: Bug
>            Reporter: Lukas Kummer
>            Priority: Minor
>         Attachments: screenshot-windows.png
>
>
> on windows systems oak indexes are always added to the filter, and allowIndexDefinitions has no effect. The reason for this is a static String comparison in class FileValidator ~Line 72:
> {code:java}
> } else if ("META-INF/vault/filter.xml".equals(artifactName) || artifactName.contains("/_oak_index/")) {
> {code}
> See attached screenshot, why comparison fails on Windows:
> !screenshot-windows.png!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)