Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for jarFile1 (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformReplacer.java

                IoActions.closeQuietly(jarFile);
            }
    
            private JarFile getJarFileLocked() throws IOException {
                ensureOpened();
                if (jarFile == null) {
                    jarFile = JarCompat.open(transformedJarPath);
                    if (jarFile.isMultiRelease() && !isTransformed(jarFile.getJarFile())) {
                        throw new GradleException(String.format(
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        File jarFile = File.createTempFile("with_circular_class_path", ".jar");
        try {
          writeSelfReferencingJarFile(jarFile, "test.txt");
          assertThat(
                  new ClassPath.LocationInfo(jarFile, ClassPathTest.class.getClassLoader())
                      .scanResources())
              .hasSize(1);
        } finally {
          jarFile.delete();
        }
      }
    
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/ResourceTraversalUtil.java

        /**
         * Jarファイル形式のファイルに含まれるリソースをトラバースします。
         *
         * @param jarFile
         *            jarファイル形式のファイル。{@literal null}であってはいけません
         * @param handler
         *            リソースを処理するハンドラ。{@literal null}であってはいけません
         */
        public static void forEach(final JarFile jarFile, final ResourceHandler handler) {
            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("handler", handler);
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/io/ClassTraversalUtil.java

         * </p>
         *
         * @param jarFile
         *            Jarファイル。{@literal null}であってはいけません
         * @param handler
         *            クラスを処理するハンドラ。{@literal null}であってはいけません
         */
        public static void forEach(final JarFile jarFile, final ClassHandler handler) {
            assertArgumentNotNull("jarFile", jarFile);
            assertArgumentNotNull("handler", handler);
    
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/plugin/AdminPluginAction.java

                    if (form.jarFile == null) {
                        throwValidationError(messages -> messages.addErrorsPluginFileIsNotFound(GLOBAL, form.id), this::asListHtml);
                    }
                    if (!form.jarFile.getFileName().endsWith(".jar")) {
                        throwValidationError(messages -> messages.addErrorsFileIsNotSupported(GLOBAL, form.jarFile.getFileName()),
                                this::asListHtml);
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/ClassPath.java

            throws IOException {
          JarFile jarFile;
          try {
            jarFile = new JarFile(file);
          } catch (IOException e) {
            // Not a jar file
            return;
          }
          try {
            for (File path : getClassPathFromManifest(file, jarFile.getManifest())) {
              // We only scan each file once independent of the classloader that file might be
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
Back to top