You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (Jira)" <ji...@apache.org> on 2020/05/29 07:26:00 UTC

[jira] [Comment Edited] (SLING-9483) Sling Feature is not supporting jar:file URLs on Windows

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

Robert Munteanu edited comment on SLING-9483 at 5/29/20, 7:25 AM:
------------------------------------------------------------------

I was looking at https://github.com/apache/sling-org-apache-sling-feature/commit/afb1e40cafbd906a4546ce0ee0074b08512d14c0 and I was thinking that we should use better Java API ( {{java.nio.file.Path}} maybe? ) instead of adding checks for Windows.


was (Author: rombert):
I was looking at https://github.com/apache/sling-org-apache-sling-feature/commit/afb1e40cafbd906a4546ce0ee0074b08512d14c0 and I was thinking maybe we can use a better Java API ( {{java.noi,file.Path}} maybe? ) instead of adding checks for Windows.

> Sling Feature is not supporting jar:file URLs on Windows
> --------------------------------------------------------
>
>                 Key: SLING-9483
>                 URL: https://issues.apache.org/jira/browse/SLING-9483
>             Project: Sling
>          Issue Type: Bug
>          Components: Feature Model
>    Affects Versions: Feature Model 1.2.0
>            Reporter: Andreas Schaefer
>            Assignee: Andreas Schaefer
>            Priority: Major
>             Fix For: Feature Model 1.2.2
>
>
> When using a jar:file url to launch a feature in the feature launcher it will fail because the folder to export the Feature Model file contains the drive name (c:/) which fails when the folder is created.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)