Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for toDirectory (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java

            }
        },
        INPUT_DIRECTORY_VALIDATOR("directory") {
            @Override
            public void doValidate(String propertyName, Object value, PropertyValidationContext context) {
                File directory = toDirectory(context, value);
                if (!directory.exists()) {
                    reportMissingInput(context, "Directory", propertyName, directory);
                } else if (!directory.isDirectory()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Apr 03 17:49:40 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    } else {
                        Path topDirectory = mavenSession.getTopDirectory();
                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
                            locationPath = topDirectory.relativize(locationPath);
                        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 23 12:25:04 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
  6. 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: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  7. 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 = Paths.get("myRootDirectory");
            request.topDirectory = Paths.get("myTopDirectory");
    
            // Act
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  8. 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: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Dec 20 13:03:57 UTC 2023
    - 17.7K bytes
    - Viewed (0)
Back to top