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

Tobias Bocanegra edited comment on JCRVLT-32 at 4/21/17 1:18 AM:
-----------------------------------------------------------------

In addition to the dependencies to other content packages, we also want to be 
able to express dependency to OSGi bundles. those would be expressed with the 
normal *import-package* entries.

eg:
{noformat}
Content-Package-Id: org.apache.jackrabbit:my-test-page:1.0
Import-Package: javax.jcr;version="[2.0.0,3)"
{noformat}



was (Author: tripod):
In addition to the dependencies to other content packages, we also want to be 
able to express dependency to OSGi bundles. those would be expressed with the 
normal *import-package* entries.

eg:
{noformat}
Jackrabbit-Vault-PackageId: org.apache.jackrabbit:my-test-page:1.0
Import-Package: javax.jcr;version="[2.0.0,3)"
{noformat}


> Store package properties in the MANIFEST.MF for faster access
> -------------------------------------------------------------
>
>                 Key: JCRVLT-32
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-32
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Tobias Bocanegra
>            Assignee: Tobias Bocanegra
>            Priority: Minor
>
> this is somewhat related to JCRVLT-31. 
> With the current implementation, one must read the entire package in order to 
> figure out the package properties. If they would be store in a MANIFEST.MF, 
> which has to be the first entry in a .jar, we can use a resettable 
> inputstream to read the properties. this allows to quickly get the important 
> information of a package, such as package id and dependencies.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to