- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getDownloadLocation (0.75 sec)
-
platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/install/internal/DefaultJavaToolchainProvisioningServiceTest.groovy
downloader.getResourceFor(_ as URI, _ as Collection<Authentication>) >> downloadResource cache.acquireWriteLock(_ as File, _ as String) >> archiveFileLock cache.getDownloadLocation() >> temporaryFolder cache.provisionFromArchive(_ as JavaToolchainSpec, _ as File, _ as URI) >> new File(temporaryFolder, "install_dir") } def "cache is properly locked around provisioning a jdk"() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 23:01:05 UTC 2024 - 9.2K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJavaToolchainProvisioningService.java
synchronized (PROVISIONING_PROCESS_LOCK) { try { File downloadFolder = cacheDirProvider.getDownloadLocation(); ExternalResource resource = wrapInOperation("Examining toolchain URI " + uri, () -> downloader.getResourceFor(uri, authentications));
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 11 23:01:05 UTC 2024 - 12.7K bytes - Viewed (0) -
platforms/jvm/toolchains-jvm-shared/src/main/java/org/gradle/jvm/toolchain/internal/install/DefaultJdkCacheDirectory.java
return lockManager.lock(destinationFile, DefaultLockOptions.mode(FileLockManager.LockMode.Exclusive), destinationFile.getName(), operationName); } public File getDownloadLocation() { return jdkDirectory; } private static String getNameWithoutExtension(File file) { //remove all extensions, for example for xxx.tar.gz files only xxx should be left
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 23:47:49 UTC 2024 - 13.4K bytes - Viewed (0)