[jira] [Commented] (JCRVLT-220) Include package type when assembling a package

2019-09-05 Thread Tobias Bocanegra (Jira)


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

Tobias Bocanegra commented on JCRVLT-220:
-

it is used to specify the type of content covered by that filter. ideally, a 
package should consist of one type. if the `content-package-type` is missing in 
the manifest, it is autodetected based on the filter roots. if a filter root is 
of type `cleanup` it is ignored for the type detection.

(admittedly, this was a very specific addition to help 'moving' code in 
application packages from `/etc/` to `/libs`. hence the name 'cleanup')

> Include package type when assembling a package
> --
>
> Key: JCRVLT-220
> URL: https://issues.apache.org/jira/browse/JCRVLT-220
> Project: Jackrabbit FileVault
>  Issue Type: Improvement
>  Components: Packaging
>Affects Versions: 3.1.40
>Reporter: Tobias Bocanegra
>Priority: Major
> Fix For: 3.1.42
>
>
> Currently the package page can only be defined with external tools, but not 
> when assembling a package.
> it should be possible to:
> - specify the package type during build time
> - have a automatic detection of the package type, based on content or filter.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)


[jira] [Commented] (JCRVLT-220) Include package type when assembling a package

2019-09-05 Thread Konrad Windszus (Jira)


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

Konrad Windszus commented on JCRVLT-220:


It seems it is now possible to specify the package type in the 
{{properties.xml}} but also there is a new attribute introduced on the 
{{filter}} element on the {{filter.xml}} named {{type}}. [~tripod] Can you 
clarify for what this additional {{type}} attribute is being used. I have only 
seen it with value {{cleanup}} though. Would be nice to have that documented in 
https://jackrabbit.apache.org/filevault/filter.html.

> Include package type when assembling a package
> --
>
> Key: JCRVLT-220
> URL: https://issues.apache.org/jira/browse/JCRVLT-220
> Project: Jackrabbit FileVault
>  Issue Type: Improvement
>  Components: Packaging
>Affects Versions: 3.1.40
>Reporter: Tobias Bocanegra
>Priority: Major
> Fix For: 3.1.42
>
>
> Currently the package page can only be defined with external tools, but not 
> when assembling a package.
> it should be possible to:
> - specify the package type during build time
> - have a automatic detection of the package type, based on content or filter.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)