- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 121 for jarFile1 (0.12 sec)
-
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/runtimeshaded/RuntimeShadedJarCreatorTest.groovy
when: relocatedJarCreator.create(outputJar, [jarFile1, jarFile2, jarFile3, jarFile4, jarFile5, jarFile6, inputDirectory]) then: TestFile[] contents = tmpDir.testDirectory.listFiles().findAll { it.isFile() } contents.length == 1 contents[0] == outputJar handleAsJarFile(outputJar) { JarFile file -> List<JarEntry> entries = file.entries() as List
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 22 13:39:49 UTC 2024 - 20.8K bytes - Viewed (0) -
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/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/DefaultModuleRegistry.java
private Module loadOptionalModule(final String moduleName) { File jarFile = findJar(moduleName, jarFile1 -> hasModuleProperties(moduleName, jarFile1)); if (jarFile != null) { Set<File> implementationClasspath = new LinkedHashSet<>(); implementationClasspath.add(jarFile); Properties properties = loadModuleProperties(moduleName, jarFile);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri May 24 06:16:07 UTC 2024 - 18.5K 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) -
subprojects/core/src/main/java/org/gradle/cache/internal/WrapperDistributionCleanupAction.java
List<File> jarFiles = listFiles(new File(distributionHomeDir, "lib"), new RegexFileFilter(entry.getValue())); if (!jarFiles.isEmpty()) { Preconditions.checkArgument(jarFiles.size() == 1, "A Gradle distribution must contain at most one %s-*.jar: %s", entry.getKey(), jarFiles); File jarFile = single(jarFiles);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 11 13:37:56 UTC 2023 - 10K 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)