- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for jarFile1 (0.15 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/cache/internal/DefaultGeneratedGradleJarCacheIntegrationTest.groovy
then: noExceptionThrown() jarFile1 && jarFile2 jarFile1.exists() && jarFile2.exists() jarFile1 == jarFile2 } def "only generates single JAR in cache when invoked by concurrent threads"() { given: def jarGenerationInvocations = 10 def triggeredJarFileGeneration = new AtomicInteger() def jarFiles = Collections.synchronizedList(new ArrayList<File>())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/PathNormalizationStrategyTest.groovy
def fingerprints = collectFingerprints(strategy) expect: fingerprints[jarFile1] == jarFile1.name fingerprints[jarFile2] == jarFile2.name fingerprints[resources] == null fingerprints[resources.file(fileInRoot)] == fileInRoot
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 7.1K bytes - Viewed (0) -
platforms/jvm/normalization-java/src/test/groovy/org/gradle/api/internal/changedetection/state/ZipHasherTest.groovy
given: def jarfile = tmpDir.file("test.jar") createJarWithAttributes(jarfile, ["Implementation-Version": "1.0.0"]) def jarfile2 = tmpDir.file("test2.jar") createJarWithAttributes(jarfile2, ["Implementation-Version": "1.0.1"]) def hash1 = zipHasher.hash(snapshotContext(jarfile)) def hash2 = zipHasher.hash(snapshotContext(jarfile2)) expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 15:09:49 UTC 2023 - 7.2K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ClassFileExtractionManager.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ds/DataStoreFactory.java
protected List<String> loadDataStoreNameList() { final Set<String> nameSet = new HashSet<>(); final File[] jarFiles = ResourceUtil.getPluginJarFiles(PluginHelper.ArtifactType.DATA_STORE.getId()); for (final File jarFile : jarFiles) { try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) { final Path xmlPath = fs.getPath("fess_ds++.xml");
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DependencyHandlerApiResolveIntegrationTest.groovy
} verifyTestKitJars { doLast { def jarFiles = libsDir.listFiles() def testKitFunctionalJar = jarFiles.find { it.name.startsWith('$GRADLE_TEST_KIT_JAR_BASE_NAME') } assert testKitFunctionalJar def jar = new java.util.jar.JarFile(testKitFunctionalJar) def classFiles try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 06:59:30 UTC 2024 - 7.5K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/ManifestUtil.java
return null; } JarFile jarFile; try { jarFile = new JarFile(possibleJarFile); } catch (ZipException e) { // Not a zip file return null; } try { return jarFile.getManifest(); } finally { jarFile.close(); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/JarFilePackageLister.java
public class JarFilePackageLister { public void listJarPackages(File jarFile, JarFilePackageListener listener) { if (jarFile == null) { throw new IllegalArgumentException("jarFile is null!"); } final String jarFileAbsolutePath = jarFile.getAbsolutePath(); if (!jarFile.exists()) { throw new IllegalArgumentException("jarFile doesn't exists! (" + jarFileAbsolutePath + ")"); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/classpath/ManifestUtilTest.groovy
def jarFile = tmpDir.file("mydir/jarfile.jar").createFile() def "creates manifest classpath with relative urls"() { when: def classpathFiles = [tmpDir.file('mydir/jar1.jar'), tmpDir.file('mydir/nested/jar2.jar')] then: ManifestUtil.createManifestClasspath(jarFile, classpathFiles) == "jar1.jar nested/jar2.jar"; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 4.7K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/JarCompat.java
import java.io.IOException; import java.util.jar.JarFile; /** * Compatibility wrapper for multi-release JARs that can be used on Java 8 too. */ abstract class JarCompat implements Closeable { public static final boolean JAVA_9_COMPATIBLE = JavaVersion.current().isJava9Compatible(); protected final JarFile jarFile; private JarCompat(JarFile jarFile) { this.jarFile = jarFile; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.9K bytes - Viewed (0)