Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 258 for toFile (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/main/java/org/codelibs/core/misc/DynamicProperties.java

        public DynamicProperties(final String path) {
            this(path == null ? null : new File(path));
        }
    
        public DynamicProperties(final Path path) {
            this(path == null ? null : path.toFile());
        }
    
        public DynamicProperties(final File file) {
            // check path
            if (file == null) {
                throw new FileAccessException("ECL0108");
            }
    
            this.propertiesFile = file;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

         * @return ルートパッケージの上位となるベースディレクトリ
         */
        protected static File getBaseDir(final URL url, final String baseName) {
            assertArgumentNotNull("url", url);
    
            File file = URLUtil.toFile(url);
            final String[] paths = StringUtil.split(baseName, "/");
            for (final String path : paths) {
                file = file.getParentFile();
            }
            return file;
        }
    
        /**
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top