Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for jarFile1 (0.15 sec)

  1. 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)
  2. 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)
  3. 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)
  4. platforms/jvm/testing-jvm/src/main/java/org/gradle/api/internal/tasks/testing/detection/ClassFileExtractionManager.java

                public void receivePackage(String packageName) {
                    Set<File> jarFiles = packageJarFilesMappings.get(packageName);
                    if (jarFiles == null) {
                        jarFiles = new TreeSet<File>();
                        packageJarFilesMappings.put(packageName, jarFiles);
                    }
                    jarFiles.add(libraryJar);
                }
            });
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top