[jira] [Updated] (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:all-tabpanel ] Tobias Bocanegra updated JCRVLT-268: Component/s: package maven plugin > 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 > Components: package maven plugin >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)
[jira] [Updated] (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:all-tabpanel ] Lukas Kummer updated JCRVLT-268: Description: 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! was: 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. > 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)
[jira] [Updated] (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:all-tabpanel ] Lukas Kummer updated JCRVLT-268: Attachment: screenshot-windows.png > 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. -- This message was sent by Atlassian JIRA (v7.6.3#76005)