Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for toDirectory (0.11 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            throw new ParserException("Directory " + topDirectory
                                    + " extracted from the -f/--file command-line argument " + arg + " does not exist");
                        }
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

                    Path current = currentPom.toPath().toAbsolutePath().normalize();
                    Path topDirectory = session.getTopDirectory();
                    if (topDirectory != null && current.startsWith(topDirectory)) {
                        current = topDirectory.relativize(current);
                    }
                    logger.info("  from " + current);
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

            return this;
        }
    
        @Override
        public Path getTopDirectory() {
            return topDirectory;
        }
    
        @Override
        public MavenExecutionRequest setTopDirectory(Path topDirectory) {
            this.topDirectory = topDirectory;
            return this;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

                        "-DvalTopDirectory=${session.topDirectory}/pom.xml",
                        "-f",
                        "${session.rootDirectory}/my-child",
                        "prefix:3.0.0:${foo}",
                        "validate"
                    },
                    null);
            request.rootDirectory = rootDirectory;
            request.topDirectory = topDirectory;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                // maven requires this to be set; so default it (and see below at POM)
                request.setMultiModuleProjectDirectory(
                        context.invokerRequest.topDirectory().toFile());
                request.setRootDirectory(context.invokerRequest.topDirectory());
            }
    
            MavenOptions options = context.invokerRequest.options();
            request.setNoSnapshotUpdates(options.suppressSnapshotUpdates().orElse(false));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NetworkExplorer.java

            }
            if( f1.isDirectory() ) {
                return f1name.compareToIgnoreCase( f2.getName() );
            }
            return f1.lastModified() > f2.lastModified() ? -1 : 1;
        }
        protected void doDirectory( HttpServletRequest req, HttpServletResponse resp, SmbFile dir ) throws IOException {
            PrintWriter out;
            SmbFile[] dirents;
            SmbFile f;
            int i, j, len, maxLen, dirCount, fileCount, sort;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

                Map<String, String> user = new HashMap<>(invokerRequest.userProperties());
                user.put("session.rootDirectory", invokerRequest.rootDirectory().toString());
                user.put("session.topDirectory", invokerRequest.topDirectory().toString());
                Map<String, String> system = new HashMap<>(invokerRequest.systemProperties());
                this.session = ProtoSession.create(user, system);
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

                return f1name.compareToIgnoreCase(f2.getName());
            }
            return f1.lastModified() > f2.lastModified() ? -1 : 1;
        }
    
    
        @SuppressWarnings ( "resource" )
        protected void doDirectory ( HttpServletRequest req, HttpServletResponse resp, SmbFile dir ) throws IOException {
            PrintWriter out = resp.getWriter();
            SmbFile[] dirents;
            SmbFile f;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

        @Deprecated
        File getMultiModuleProjectDirectory();
    
        /**
         * Sets the top directory of the project.
         *
         * @since 4.0.0
         */
        MavenExecutionRequest setTopDirectory(Path topDirectory);
    
        /**
         * Gets the directory of the topmost project being built, usually the current directory or the
         * directory pointed at by the {@code -f/--file} command line argument.
         *
         * @since 4.0.0
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top