Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 122 for jarFiles (0.14 sec)

  1. 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)
  2. 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)
  3. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/impldeps/GradleImplDepsCompatibilityIntegrationTest.groovy

            then:
            def outputDir = temporaryFolder.testDirectory.file(outputDirPath)
            def jarFiles = outputDir.listFiles()
            jarFiles.size() == 2
            def gradleApiJar = jarFiles.find { it.name.startsWith('gradle-api-') }
            def testKitJar = jarFiles.find { it.name.startsWith('gradle-test-kit-') }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. src/main/java/org/codelibs/fess/job/ExecJob.java

        protected void appendJarFile(final String cpSeparator, final StringBuilder buf, final File libDir, final String basePath) {
            final File[] jarFiles = libDir.listFiles((FilenameFilter) (dir, name) -> name.toLowerCase().endsWith(".jar"));
            if (jarFiles != null) {
                for (final File file : jarFiles) {
                    buf.append(cpSeparator);
                    buf.append(basePath);
                    buf.append(file.getName());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                final List<Artifact> list = new ArrayList<>(jarFiles.length);
                for (final File file : jarFiles) {
                    list.add(getArtifactFromFileName(artifactType, file.getName()));
                }
                list.sort(Comparator.comparing(Artifact::getName));
                return list.toArray(new Artifact[list.size()]);
            }
    
            final File[] jarFiles = ResourceUtil.getPluginJarFiles(artifactType.getId());
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top