Returns the directory containing JAR files bundled with the Cloud SDK.

@return the directory containing JAR files bundled with the Cloud SDK
13414
public Path getAppEngineSdkForJavaPath() {
    Path resolved = getPath().resolve(APPENGINE_SDK_FOR_JAVA_PATH);
    if (resolved == null) {
      throw new RuntimeException("Misconfigured App Engine SDK for Java");
    }
    return resolved;
  }
177056
public static List<Resource> getClasspathResources() {
      synchronized (classpathResources) {
         if (classpathResources.isEmpty()) {
            for (String jar : SystemInfo.JAVA_CLASS_PATH.split(SystemInfo.PATH_SEPARATOR)) {
               File file = new File(jar);
               if (file.isDirectory()) {
                  classpathResources.addAll(new FileResource(file).getChildren(true));
               } else {
                  classpathResources.addAll(getJarContents(Resources.fromFile(jar), v -> true));
               }
            }
         }
         return Collections.unmodifiableList(classpathResources);
      }
   }
879251
public BundlePathMapping build() {

		if (LOGGER.isDebugEnabled()) {
			LOGGER.debug("Creating bundle path List for " + this.bundle.getId());
		}

		BundlePathMapping bundlePathMapping = new BundlePathMapping(this.bundle);
		bundlePathMapping.setPathMappings(strPathMappings);
		List<PathMapping> pathMappings = bundlePathMapping.getPathMappings();
		Map<String, VariantSet> variants = new TreeMap<>();

		if (pathMappings != null) {
			for (PathMapping pathMapping : pathMappings) {
				boolean isGeneratedPath = generatorRegistry.isPathGenerated(pathMapping.getPath());

				// Handle generated resources
				// path ends in /, the folder is included without subfolders
				if (pathMapping.isDirectory()) {
					addItemsFromDir(bundlePathMapping, pathMapping, false);
				}
				// path ends in /, the folder is included with all subfolders
				else if (pathMapping.isRecursive()) {
					addItemsFromDir(bundlePathMapping, pathMapping, true);
				} else if (pathMapping.getPath().endsWith(fileExtension)) {
					addPathMapping(bundlePathMapping, asPath(pathMapping.getPath(), isGeneratedPath));
				} else if (generatorRegistry.isPathGenerated(pathMapping.getPath())) {
					addPathMapping(bundlePathMapping, pathMapping.getPath());
				} else if (pathMapping.getPath().endsWith(LICENSES_FILENAME)) {
					bundlePathMapping.getLicensesPathList().add(asPath(pathMapping.getPath(), isGeneratedPath));
				} else {
					throw new BundlingProcessException("Wrong mapping [" + pathMapping + "] for bundle ["
							+ this.bundle.getName() + "]. Please check configuration. ");
				}

				if (isGeneratedPath) {
					// Add variants
					variants = VariantUtils.concatVariants(variants,
							generatorRegistry.getAvailableVariants(pathMapping.getPath()));
				}
			}
		}

		bundle.setVariants(variants);

		if (LOGGER.isDebugEnabled()) {
			LOGGER.debug("Finished creating bundle path List for " + this.bundle.getId());
		}

		return bundlePathMapping;
	}
461194
public java.util.List<ImageDiskContainer> getDiskContainers() {
        if (diskContainers == null) {
            diskContainers = new com.amazonaws.internal.SdkInternalList<ImageDiskContainer>();
        }
        return diskContainers;
    }
44245
protected String getDirectory() {
        //get the default filepath of the permanet storage file
        String directory = storageConfiguration.getDirectory();

        if(directory == null || directory.isEmpty()) {
            directory = System.getProperty("java.io.tmpdir"); //write them to the tmp directory
        }

        return directory;
    }
1240487
public String[] getFileList()
    {
        String[] files = null;
        String strFilename = this.getProperty("filename");
        if (strFilename != null)
        {
            files = new String[1];
            files[0] = strFilename;
        }
        String strDirname = this.getProperty("folder");
        if (strDirname != null)
        {
            FileList list = new FileList(strDirname);
            files = list.getFileNames();
            if (!strDirname.endsWith("/"))
                strDirname += "/";
            for (int i = 0; i < files.length; i++)
            {
                files[i] = strDirname + files[i];   // Full pathname
            }
        }
        return files;
    }
128218
protected String getBundleJarPath() throws MalformedURLException {
        Path path = PROPERTIES.getAllureHome().resolve("app/allure-bundle.jar").toAbsolutePath();
        if (Files.notExists(path)) {
            throw new AllureCommandException(String.format("Bundle not found by path <%s>", path));
        }
        return path.toUri().toURL().toString();
    }
350898
public Set<String> getSourceFolders() {
		Set<String> sourceFolders = Sets.newLinkedHashSet();
		for (SourceMapping mapping : getSourceMappings()) {
			sourceFolders.add(mapping.getSourceFolder());
		}
		return sourceFolders;
	}
1050625
def bundle_dir():
    """"""
    if frozen():
        directory = sys._MEIPASS
    else:
        directory = os.path.dirname(os.path.abspath(stack()[1][1]))
    if os.path.exists(directory):
        return directory
1273741
public File getCorePlatformDir() {
        File platformDir = null;
        File installDir = Utils.getInstallDir();

        if (installDir != null) {
            platformDir = new File(installDir, PLATFORM_DIR);
        }

        if (platformDir == null) {
            throw new RuntimeException("Platform Directory not found");
        }

        return platformDir;
    }
829306
public java.util.List<BundleTask> getBundleTasks() {
        if (bundleTasks == null) {
            bundleTasks = new com.amazonaws.internal.SdkInternalList<BundleTask>();
        }
        return bundleTasks;
    }
652625
public java.util.List<Disk> getDisks() {
        if (disks == null) {
            disks = new com.amazonaws.internal.SdkInternalList<Disk>();
        }
        return disks;
    }
104242
public String[] getSpillingDirectoriesPaths() {
		String[] strings = new String[this.paths.length];
		for (int i = 0; i < strings.length; i++) {
			strings[i] = paths[i].getAbsolutePath();
		}
		return strings;
	}
1114353
public java.util.List<FileShareInfo> getFileShareInfoList() {
        if (fileShareInfoList == null) {
            fileShareInfoList = new com.amazonaws.internal.SdkInternalList<FileShareInfo>();
        }
        return fileShareInfoList;
    }
1051001
public File getConfigDirectory() {
        String dirName = getConfigDir();
        File answer = null;
        if (Strings.isNotBlank(dirName)) {
            answer = new File(dirName);
        } else {
            answer = new File(".hawtio");
        }
        answer.mkdirs();
        return answer;
    }
307231
@Override
    public Iterable<Path> getRootDirectories() {

        this.checkClosed();

        // Each ShrinkWrapFileSystem has one root directory
        final Path path = new ShrinkWrapPath(ArchivePaths.root(), this);
        final List<Path> paths = new ArrayList<>(1);
        paths.add(path);
        return Collections.unmodifiableList(paths);
    }
400482
public static IPath getBundlePath(Bundle bundle) {
		IPath path = getBinFolderPath(bundle);
		if (path == null) {
			// common jar file case, no bin folder
			try {
				path = new Path(FileLocator.getBundleFile(bundle).getAbsolutePath());
			} catch (IOException e) {
				throw new RuntimeException(e);
			}
		}
		return path;
	}