- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 53 for getParentFile (0.53 sec)
-
guava-tests/test/com/google/common/io/FilesTest.java
File file = root(); assertNull(file.getParentFile()); assertNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); } public void testCreateParentDirs_relativePath() throws IOException { File file = file("nonexistent.file"); assertNull(file.getParentFile()); assertNotNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t02/ProjectInheritanceTest.java
File pom0 = new File(localRepo, "p0/pom.xml"); File pom1 = new File(pom0.getParentFile(), "p1/pom.xml"); File pom2 = new File(pom1.getParentFile(), "p2/pom.xml"); File pom3 = new File(pom2.getParentFile(), "p3/pom.xml"); File pom4 = new File(pom3.getParentFile(), "p4/pom.xml"); File pom5 = new File(pom4.getParentFile(), "p5/pom.xml");
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 6.2K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
assertResultShowNoError(results); assertEquals(parentPom, findChildProject(results).getParentFile()); Collections.reverse(toRead); results = projectBuilder.build(toRead, false, configuration); assertResultShowNoError(results); assertEquals(parentPom, findChildProject(results).getParentFile()); } private MavenProject findChildProject(List<ProjectBuildingResult> results) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Tue Nov 28 17:17:10 GMT 2023 - 18.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File file = root(); assertNull(file.getParentFile()); assertNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); } public void testCreateParentDirs_relativePath() throws IOException { File file = file("nonexistent.file"); assertNull(file.getParentFile()); assertNotNull(file.getCanonicalFile().getParentFile()); Files.createParentDirs(file); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.2K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/MavenWrapperDownloader.java
File outputFile = new File(baseDirectory.getAbsolutePath(), MAVEN_WRAPPER_JAR_PATH); if(!outputFile.getParentFile().exists()) { if(!outputFile.getParentFile().mkdirs()) { System.out.println( "- ERROR creating output directory '" + outputFile.getParentFile().getAbsolutePath() + "'"); } }
Java - Registered: Wed Apr 24 11:36:11 GMT 2024 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 4.8K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java
dir = new File( dir, event.getSession().getLocalRepositoryManager().getPathForLocalArtifact(event.getArtifact())); trackingDir = dir.getParentFile().toPath().resolve(".tracking"); } else { trackingDir = event.getFile().getParentFile().toPath().resolve(".tracking"); } String baseName; String ext = missing ? ".miss" : ".dep"; Path trackingFile = null;
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Apr 12 11:08:37 GMT 2023 - 9.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManagerTest.java
a.setFile(file); File touchFile = updateCheckManager.getTouchfile(a); touchFile.delete(); assertTrue(updateCheckManager.isUpdateRequired(a, remoteRepository)); file.getParentFile().mkdirs(); file.createNewFile(); updateCheckManager.touch(a, remoteRepository, null); assertFalse(updateCheckManager.isUpdateRequired(a, remoteRepository)); assertNull(
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 8.7K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t09/ProjectInheritanceTest.java
void testDependencyManagementExclusionsExcludeTransitively() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "p1/pom.xml"); // load the child project, which inherits from p0... MavenProject project0 = getProjectWithDependencies(pom0);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 5K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
@Test void testProjectInheritance() throws Exception { File localRepo = getLocalRepositoryPath(); File pom0 = new File(localRepo, "p0/pom.xml"); File pom0Basedir = pom0.getParentFile(); File pom1 = new File(pom0Basedir, "p1/pom.xml"); // load everything... MavenProject project0 = getProject(pom0); MavenProject project1 = getProject(pom1);
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/misc/DynamicProperties.java
throw new FileAccessException("ECL0108"); } this.propertiesFile = file; if (!this.propertiesFile.exists()) { final File parentDir = this.propertiesFile.getParentFile(); if (!parentDir.exists()) { if (!parentDir.mkdir()) { throw new FileAccessException("ECL0109", new Object[] { file.getAbsolutePath() }); }
Java - Registered: Fri Apr 26 20:58:09 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.6K bytes - Viewed (0)