You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2023/01/30 15:17:00 UTC

[jira] [Commented] (SLING-11765) repoinit-filevault-validator: IT fails on Windows

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

Konrad Windszus commented on SLING-11765:
-----------------------------------------

This seems to be an issue with Windows UNC paths:

Expected
{code}
'[ERROR] ValidationViolation: "sling-repoinit: Invalid repoinit statement(s) detected: Encountered " <STRING> "invalid "" at line 2, column 1.\nWas expecting:
    <EOF> 
    ", filePath=src\\main\\jcr_root\\apps\\test\\config\\org.apache.sling.jcr.repoinit.RepositoryInitializer~test1.config'
{code}

but actual
{code}
[ERROR] ValidationViolation: "sling-repoinit: Invalid repoinit statement(s) detected: Encountered " <STRING> "invalid "" at line 2, column 1.\nWas expecting:
    <EOF> 
    ", filePath=src\main\jcr_root\apps\test\config\org.apache.sling.jcr.repoinit.RepositoryInitializer~test1.config
{code}

FileVault validator always uses single slashes on Windows.

> repoinit-filevault-validator: IT fails on Windows
> -------------------------------------------------
>
>                 Key: SLING-11765
>                 URL: https://issues.apache.org/jira/browse/SLING-11765
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Repoinit FileVault Validator 1.0.0
>            Reporter: Stefan Seifert
>            Priority: Minor
>         Attachments: build.log
>
>
> when trying to build repoinit-filevault-validator on windows, the IT fail with a very long stacktrace ([^build.log] attached).
> looks like EOF problems.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)