Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 70 for toFiles (0.1 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/classanalysis/AnalyzeAndShade.kt

                            }
                        } catch (exception: Exception) {
                            throw ClassAnalysisException("Could not transform class from ${file.toFile()}", exception)
                        }
                    }
                }
            )
        }
    }
    
    
    fun JarOutputStream.addJarEntry(entryName: String, sourceFile: File) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Oct 28 12:55:30 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            request.setLocalRepositoryPath(context.localRepositoryPath.toFile());
            request.setLocalRepository(createLocalArtifactRepository(context.localRepositoryPath));
    
            request.setInteractiveMode(context.interactive);
            request.setShowErrors(options.showErrors().orElse(false));
            request.setBaseDirectory(context.invokerRequest.topDirectory().toFile());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  3. bin/diff_yaml.py

                s0 = yaml.safe_dump(q0[k], default_flow_style=False, indent=2)
                s1 = yaml.safe_dump(q1[k], default_flow_style=False, indent=2)
    
                print(datadiff.diff(s0, s1, fromfile=args.orig, tofile=args.new))
    
        return changed + len(added) + len(removed)
    
    
    def main(args):
        return compare(args)
    
    
    def get_parser():
        parser = argparse.ArgumentParser(
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Mar 03 16:14:57 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

                ProjectBuildingResult res;
                if (request.getPath().isPresent()) {
                    Path path = request.getPath().get();
                    res = builder.build(path.toFile(), req);
                } else if (request.getSource().isPresent()) {
                    Source source = request.getSource().get();
                    ModelSource2 modelSource = new SourceWrapper(source);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

        fun File.withUniqueDirectory(prefixPath: String): File =
            Files.createTempDirectory(
                withDirectory(prefixPath.substringBeforeLast("/")).toPath(),
                prefixPath.substringAfterLast("/")
            ).toFile()
    
        private
        fun File.withDirectory(path: String): File =
            resolve(path).apply {
                mkdirs()
            }
    
        private
        fun File.withSettings(text: String = ""): File =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/helper/PluginHelper.java

                    }
                } catch (final Exception e) {
                    throw new PluginException("Failed to install the artifact " + artifact.getName(), e);
                }
            } else {
                try (final InputStream in = new FileInputStream(url)) {
                    CopyUtil.copy(in, ResourceUtil.getPluginPath(fileName).toFile());
                } catch (final Exception e) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 01:47:10 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/ClassPath.java

              // Ignore bad entry
              logger.warning("Invalid Class-Path entry: " + path);
              continue;
            }
            if (url.getProtocol().equals("file")) {
              builder.add(toFile(url));
            }
          }
        }
        return builder.build();
      }
    
      @VisibleForTesting
      static ImmutableMap<File, ClassLoader> getClassPathEntries(ClassLoader classloader) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  8. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

            cmdAndArguments.addAll(mavenOptions.goals().orElse(Collections.emptyList()));
    
            try {
                ProcessBuilder pb = new ProcessBuilder()
                        .directory(invokerRequest.cwd().toFile())
                        .command(cmdAndArguments);
    
                if (invokerRequest.jvmArguments().isPresent()) {
                    pb.environment()
                            .put(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/AbstractStringBasedModelInterpolator.java

                            if ("rootDirectory".equals(expression)) {
                                Path root = rootLocator.findMandatoryRoot(projectDir);
                                return root.toFile().getPath();
                            } else if (expression.startsWith("rootDirectory.")) {
                                Path root = rootLocator.findMandatoryRoot(projectDir);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            setRootDirectory(request.getRootDirectory());
        }
    
        @Deprecated
        @Override
        public File getPomFile() {
            return pomPath != null ? pomPath.toFile() : null;
        }
    
        @Override
        public Path getPomPath() {
            return pomPath;
        }
    
        @Deprecated
        @Override
        public DefaultModelBuildingRequest setPomFile(File pomFile) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top