- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 49 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-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/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/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) -
src/main/java/org/codelibs/core/jar/JarFileUtil.java
assertArgumentNotNull("jarFile", jarFile); try { jarFile.close(); } catch (final IOException e) { logger.log(format("ECL0017", e.getMessage()), e); } }
Registered: Wed Jun 12 12:50:12 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 5.4K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheJavaIntegrationTest.groovy
and: file("b/build/classes/java/main/b/B.class").delete() def jarFile = file("b/build/libs/b.jar") jarFile.isFile() and: configurationCacheRun "clean" and: configurationCacheRun ":b:assemble" then: new ZipTestFixture(jarFile).assertContainsFile("b/B.class") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 21.9K bytes - Viewed (0) -
platforms/core-execution/workers/src/test/groovy/org/gradle/process/internal/worker/child/WorkerProcessClassPathProviderTest.groovy
_ * cache.getBaseDir() >> cacheDir 1 * cache.close() 0 * cache._ classpath.asFiles == [jarFile] jarFile.file } def reusesTheCachedClasspath() { def cacheDir = tmpDir.testDirectory def jarFile = cacheDir.file('gradle-worker.jar') CacheBuilder cacheBuilder = Mock() PersistentCache cache = Mock() when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 16 15:49:54 UTC 2024 - 3K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy
assert firstEntryName.equalsIgnoreCase(JarFile.MANIFEST_NAME) } finally { zipFile.close() } } @Override def hasDescendants(String... relativePaths) { String[] allDescendants = relativePaths + JarFile.MANIFEST_NAME return super.hasDescendants(allDescendants) } JavaVersion getJavaVersion() { JarFile jarFile = new JarFile(file) try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 14:13:17 UTC 2024 - 4.1K bytes - Viewed (0)