Class VFSUtils
java.lang.Object
org.graalvm.python.embedding.tools.vfs.VFSUtils
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateVenv(Path venvDirectory, List<String> packages, Path lockFilePath, String missingLockFileWarning, VFSUtils.Launcher launcher, String graalPyVersion, BuildToolLog log) static voidcreateVenv(Path venvDirectory, List<String> packagesArgs, VFSUtils.Launcher launcherArgs, String graalPyVersion, BuildToolLog log) static voidgenerateVFSFilesList(Path vfs) static voidgenerateVFSFilesList(Path resourcesRoot, Path vfs) static voidgenerateVFSFilesList(Path resourcesRoot, Path vfs, Set<String> ret, Consumer<String> duplicateHandler) static voidlockPackages(Path venvDirectory, List<String> packages, Path lockFile, String lockFileHeader, VFSUtils.Launcher launcher, String graalPyVersion, BuildToolLog log) static voidwriteNativeImageConfig(Path metaInfRoot, String pluginId) static voidwriteNativeImageConfig(Path metaInfRoot, String pluginId, String vfsRoot)
-
Field Details
-
VFS_ROOT
- See Also:
-
VFS_VENV
- See Also:
-
VFS_FILESLIST
- See Also:
-
GRAALPY_GROUP_ID
- See Also:
-
LAUNCHER_NAME
-
-
Constructor Details
-
VFSUtils
public VFSUtils()
-
-
Method Details
-
writeNativeImageConfig
- Throws:
IOException
-
writeNativeImageConfig
public static void writeNativeImageConfig(Path metaInfRoot, String pluginId, String vfsRoot) throws IOException - Throws:
IOException
-
generateVFSFilesList
- Throws:
IOException
-
generateVFSFilesList
- Throws:
IOException
-
generateVFSFilesList
public static void generateVFSFilesList(Path resourcesRoot, Path vfs, Set<String> ret, Consumer<String> duplicateHandler) throws IOException - Throws:
IOException
-
createVenv
public static void createVenv(Path venvDirectory, List<String> packagesArgs, VFSUtils.Launcher launcherArgs, String graalPyVersion, BuildToolLog log) throws IOException - Throws:
IOException
-
createVenv
public static void createVenv(Path venvDirectory, List<String> packages, Path lockFilePath, String missingLockFileWarning, VFSUtils.Launcher launcher, String graalPyVersion, BuildToolLog log) throws IOException, VFSUtils.PackagesChangedException -
lockPackages
public static void lockPackages(Path venvDirectory, List<String> packages, Path lockFile, String lockFileHeader, VFSUtils.Launcher launcher, String graalPyVersion, BuildToolLog log) throws IOException - Throws:
IOException
-