Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-30

Allow package definition to specify recursive install behavior

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1
    • None
    • None

    Description

      Currently it's only possible to control the recursive installation of sub-packages via org.apache.jackrabbit.vault.fs.io.ImportOptions#isNonRecursive().

      When dealing with more complex package installation setups, it can be useful to define the recursive behavior in the parent-package directly.

      suggest to add a new definition property: subPackageHandling which takes a comma separated list of instructions.

      subPackageHandling := instruction { "," instruction };
      instruction := packageIdFilter { ";" option }
      packageIdFilter := packageNameFilter | groupNameFilter ":" packageNameFilter;
      groupNameFilter := "*" | groupName;
      packageNameFilter := "*" | packageName;
      option := "install" | "extract" | "add" | "ignore";
      

      The default would be:

      subPackageHandling = *;install
      

      An example to exclude a subpackage from being installed would be:

      subPackageHandling = *;install,somegroup:mypackage;ignore
      

      1 Note: The difference between install and extract is the snapshot behavior. extract does not create snapshots, install does.

      Attachments

        Issue Links

          Activity

            People

              tripod Tobias Bocanegra
              tripod Tobias Bocanegra
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: