| This implementation of path resolver makes "shadow copy" of plug-in resources
before resolving paths to them, this helps avoid locking of local resources
and run native code from remote locations.
Configuration parameters
This path resolver implementation supports following configuration
parameters:
- shadowFolder
- Path to the folder where to copy resources to prevent their locking. By
default this will be
System.getProperty("java.io.tmpdir") + "/.jpf-shadow" .
Please note that this folder will be maintained automatically by the
Framework and might be cleared without any confirmation or notification.
So it is strongly not recommended to use plug-ins folder (or other
sensitive application directory) as shadow folder, this may lead to
losing your data.
- unpackMode
- If
always , "JAR'ed" or "ZIP'ed" plug-ins will be
un-compressed to the shadow folder, if never , they will be
just copied, if smart , the processing depends on plug-in
content - if plug-in contains JAR libraries, it will be un-packed,
otherwise just copied to shadow folder. It is also possible to add
boolean "unpack" attribute to plug-in manifest, in this case, it's value
will be taken into account. The default parameter value is
smart .
version: $Id: ShadingPathResolver.java,v 1.5 2007/05/13 16:31:48 ddimon Exp $ |