Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getCanonicalFile (0.12 sec)

  1. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNull();
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
        Files.createParentDirs(file);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/io/FilesTest.java

        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNull();
        Files.createParentDirs(file);
      }
    
      public void testCreateParentDirs_relativePath() throws IOException {
        File file = file("nonexistent.file");
        assertThat(file.getParentFile()).isNull();
        assertThat(file.getCanonicalFile().getParentFile()).isNotNull();
        Files.createParentDirs(file);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 18:44:53 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            Model model = new Model();
            model.setBuild(build);
    
            MavenProject project = new MavenProject(model);
            project.setFile(new File("pom.xml").getCanonicalFile());
    
            ExpressionEvaluator expressionEvaluator = createExpressionEvaluator(project, new Properties());
    
            Object value = expressionEvaluator.evaluate("${project.build.directory}/classes");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  4. impl/maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Model model = new Model();
            model.setBuild(build);
    
            MavenProject project = new MavenProject(model);
            project.setFile(new File("pom.xml").getCanonicalFile());
    
            ExpressionEvaluator expressionEvaluator = createExpressionEvaluator(project, null, new Properties());
    
            Object value = expressionEvaluator.evaluate("${project.build.directory}/classes");
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 26 19:31:34 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/Files.java

       *     directories of the specified file could not be created.
       * @since 4.0
       */
      public static void createParentDirs(File file) throws IOException {
        checkNotNull(file);
        File parent = file.getCanonicalFile().getParentFile();
        if (parent == null) {
          /*
           * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/Files.java

       *     directories of the specified file could not be created.
       * @since 4.0
       */
      public static void createParentDirs(File file) throws IOException {
        checkNotNull(file);
        File parent = file.getCanonicalFile().getParentFile();
        if (parent == null) {
          /*
           * The given directory is a filesystem root. All zero of its ancestors exist. This doesn't
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 25 20:24:13 UTC 2025
    - 32.8K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    throw new ExitException(1);
                }
                File basedir = new File(basedirProperty);
                try {
                    cliRequest.multiModuleProjectDirectory = basedir.getCanonicalFile();
                } catch (IOException e) {
                    cliRequest.multiModuleProjectDirectory = basedir.getAbsoluteFile();
                }
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 78.1K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/project/MavenProject.java

            String module = moduleProject.getArtifactId();
    
            File moduleFile = moduleProject.getFile();
    
            if (moduleFile != null) {
                File moduleDir = moduleFile.getCanonicalFile().getParentFile();
    
                module = moduleDir.getName();
            }
    
            if (moduleAdjustments == null) {
                moduleAdjustments = new HashMap<>();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Aug 29 12:47:20 UTC 2025
    - 67K bytes
    - Viewed (0)
Back to top