Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for toDirectory (0.29 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/CliRequest.java

        String[] args;
    
        CommandLine commandLine;
    
        ClassWorld classWorld;
    
        String workingDirectory;
    
        File multiModuleProjectDirectory;
    
        Path rootDirectory;
    
        Path topDirectory;
    
        boolean verbose;
    
        boolean quiet;
    
        boolean showErrors = true;
    
        Properties userProperties = new Properties();
    
        Properties systemProperties = new Properties();
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 19 10:32:14 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  3. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
                        if (!Files.isDirectory(topDirectory)) {
                            System.err.println("Directory " + topDirectory
                                    + " extracted from the -f/--file command-line argument " + arg + " does not exist");
                            throw new ExitException(1);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
  4. .github/workflows/people.yml

          - uses: actions/checkout@v4
          # Ref: https://github.com/actions/runner/issues/2033
          - name: Fix git safe.directory in container
            run: mkdir -p /home/runner/work/_temp/_github_home && printf "[safe]\n\tdirectory = /github/workspace" > /home/runner/work/_temp/_github_home/.gitconfig
          # Allow debugging with tmate
          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 07:19:41 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top