public class ExopackageSymlinkTree extends Object
Constructor and Description |
---|
ExopackageSymlinkTree() |
Modifier and Type | Method and Description |
---|---|
static void |
createSymlinkTree(String packageName,
ExopackageInfo exoInfo,
SourcePathResolverAdapter pathResolver,
ProjectFilesystem filesystem,
Path rootPath)
Create a symlink tree rooted at rootPath which contains a mirror of what should appear on the
device as a result of an exopackage installation.
|
public static void createSymlinkTree(String packageName, ExopackageInfo exoInfo, SourcePathResolverAdapter pathResolver, ProjectFilesystem filesystem, Path rootPath) throws IOException
packageName
- exoInfo
- the exopackage info for the app which will be installedpathResolver
- needed to convert the exoInfo SourcePaths into real Pathsfilesystem
- need to write files/create symlinks/access pathsrootPath
- location where the resulting symlink tree will be rootedIOException
- if the symlink tree or any of its files cannot be written