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: File Installer 1.0.0, Launchpad Installer 1.0.2,
Installer Core 3.2.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