- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for createDirectories (0.1 sec)
-
compat/maven-embedder/src/test/java/org/apache/maven/cli/props/MavenPropertiesLoaderTest.java
Files.createDirectories(mavenHome); Path mavenConf = mavenHome.resolve("conf"); Files.createDirectories(mavenConf); Path mavenUserProps = mavenConf.resolve("maven.properties"); Files.writeString(mavenUserProps, "${includes} = ?\"${user.home}/maven.properties\"\n"); Path userDirectory = fs.getPath("/user"); Files.createDirectories(userDirectory);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomArtifactTransformer.java
Path buildDir = project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null; if (buildDir != null) { Files.createDirectories(buildDir); } Path consumer = buildDir != null ? Files.createTempFile(buildDir, CONSUMER_POM_CLASSIFIER + "-", ".pom")
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java
FileSystem fs = Jimfs.newFileSystem(Configuration.windows()); Path mavenHome = fs.getPath("C:\\maven"); Files.createDirectories(mavenHome); Path mavenConf = mavenHome.resolve("conf"); Files.createDirectories(mavenConf); Path mavenUserProps = mavenConf.resolve("maven.properties");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
Properties properties = convertToProperties(buildResumptionData); Path resumeProperties = Paths.get(rootProject.getBuild().getDirectory(), RESUME_PROPERTIES_FILENAME); try { Files.createDirectories(resumeProperties.getParent()); try (Writer writer = Files.newBufferedWriter(resumeProperties)) { properties.store(writer, null); } } catch (IOException e) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/MavenMetadata.java
} } private void write(Path metadataPath, Metadata metadata) throws RepositoryException { try { Files.createDirectories(metadataPath.getParent()); try (OutputStream output = Files.newOutputStream(metadataPath)) { new MetadataStaxWriter().write(output, metadata.getDelegate()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt
assertEquals(EXPECTED_PACKAGE_LIST, getRelocatedPackages(aJar(someClasses() + someClassesInDefaultPackage()))) } private fun touchFile(path: Path) { Files.createDirectories(path.parent) Files.write(path, byteArrayOf()) } private fun someClasses(): Sequence<Path> { val directory = projectDir.resolve("classes")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 19:14:16 UTC 2024 - 5K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java
} } """; Path appJava = cwd.resolve("src/main/java/org/apache/maven/samples/sample/App.java"); Files.createDirectories(appJava.getParent()); Files.writeString(appJava, appJavaString); Parser<R> parser = createParser(); try (Invoker<R> invoker = createInvoker()) { for (String goal : goals) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
Jimfs.newFileSystem( Configuration.unix().toBuilder() .setSupportedFeatures(ObjectArrays.concat(SYMBOLIC_LINKS, supportedFeatures)) .build()); Files.createDirectories(fs.getPath("dir/b/i/j/l")); Files.createFile(fs.getPath("dir/a")); Files.createFile(fs.getPath("dir/c")); Files.createSymbolicLink(fs.getPath("dir/d"), fs.getPath("b/i"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 27.4K bytes - Viewed (0)