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 2011/08/09 11:44:27 UTC

[jira] [Resolved] (SLING-2171) Don't copy resources if they are always available (like from the file system)

     [ https://issues.apache.org/jira/browse/SLING-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Carsten Ziegeler resolved SLING-2171.
-------------------------------------

    Resolution: Fixed

Implemented in revision 1155290

Resource providers can now deliver a hint containing a uri.

The launchpad installer and the file installer both provide this information avoiding copying in these cases.

> Don't copy resources if they are always available (like from the file system)
> -----------------------------------------------------------------------------
>
>                 Key: SLING-2171
>                 URL: https://issues.apache.org/jira/browse/SLING-2171
>             Project: Sling
>          Issue Type: Improvement
>          Components: Installer, Launchpad
>    Affects Versions: Installer Core 3.2.0, Launchpad Installer 1.0.2, File Installer 1.0.0
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Installer Core 3.2.2, Launchpad Installer 1.0.4, File Installer 1.0.2
>
>
> If resources are provided to the installer core they are always first copied into the file system. The basic reasioning behind this are providers like the JCR repository which might be unavailable during installation because of bundle updates etc. To avoid unnecessary round trips and complicated handling of those situations, all resources are made available in all cases first - by copying to the file system.
> If the resources are already in the file system or loaded by a class loader or from within a jar, these resources are always available and there is no need for copying them first.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira