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

Tobias Bocanegra edited comment on JCRVLT-140 at 11/28/16 3:08 AM:
-------------------------------------------------------------------

implemented new method:

{code}
    /**
     * Processes this package and extracts all sub packages. No content of this 
package or its sub packages is extracted
     * and not snapshots are taken. If {@link ImportOptions#isNonRecursive()} 
is {@code true}, then only the direct
     * sub packages are extracted. The extraction ensures that the sub packages 
have a dependency to their parent package.
     *
     * @param opts import options
     * @return the list of sub packages that were extracted
     * @throws RepositoryException if a repository error during installation 
occurs.
     * @throws PackageException if an error during packaging occurs
     * @throws IllegalStateException if the package is not valid.
     * @throws IOException if an I/O error occurs
     *
     * @since 3.1.32
     */
    @Nonnull
    PackageId[] extractSubpackages(@Nonnull ImportOptions opts)
            throws RepositoryException, PackageException, IOException;

{code}


was (Author: tripod):
implemented new methods:

{code}
    /**
     * Processes this package and extracts all sub packages. No content of this 
package or its sub packages is extracted
     * and not snapshots are taken. If {@link ImportOptions#isNonRecursive()} 
is {@code true}, then only the direct
     * sub packages are extracted. The extraction ensures that the sub packages 
have a dependency to their parent package.
     *
     * @param opts import options
     * @return the list of sub packages that were extracted
     * @throws RepositoryException if a repository error during installation 
occurs.
     * @throws PackageException if an error during packaging occurs
     * @throws IllegalStateException if the package is not valid.
     * @throws IOException if an I/O error occurs
     *
     * @since 3.1.32
     */
    @Nonnull
    PackageId[] extractSubpackages(@Nonnull ImportOptions opts)
            throws RepositoryException, PackageException, IOException;

{code}

> Add support for transforming subpackages into dependency sets
> -------------------------------------------------------------
>
>                 Key: JCRVLT-140
>                 URL: https://issues.apache.org/jira/browse/JCRVLT-140
>             Project: Jackrabbit FileVault
>          Issue Type: Improvement
>          Components: Packaging
>            Reporter: Tobias Bocanegra
>
> With the new introduction of dependency handling, it is now possible to treat 
> subpackages differently, by "exploding" them into a set of packages that 
> depend on their parent package. this allows to upload and "explode" several 
> uber packages and have them installed the subpackages in the correct order.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to