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

[jira] [Commented] (SLING-9458) Support Feature Model files inside a JAR File

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

Carsten Ziegeler commented on SLING-9458:
-----------------------------------------

Not sure I understand the issue, feature models are read from input streams, so as long as you can get an input stream, this should work?
For FAR files, the API for reading such archives already provides a mechanism

> Support Feature Model files inside a JAR File
> ---------------------------------------------
>
>                 Key: SLING-9458
>                 URL: https://issues.apache.org/jira/browse/SLING-9458
>             Project: Sling
>          Issue Type: Improvement
>          Components: Feature Model
>    Affects Versions: Feature Model 1.2.0
>            Reporter: Andreas Schaefer
>            Assignee: Andreas Schaefer
>            Priority: Major
>             Fix For: Feature Model 1.2.4
>
>
> A Feature Model file cannot be passed to the Feature Model when inside a JAR file (jar:file:/...!/feature-model-file.json).
> As we already have Feature Archive that needs to obtain the Feature Model file from within its FAR (JAR) file this might be useful there as well.



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