- Sort Score
- Num 10 results
- Language All
Results 41 - 50 of 174 for getfile (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/io/FileBackedOutputStreamAndroidIncompatibleTest.java
byte[] data = newPreFilledByteArray(100); FileBackedOutputStream out = new FileBackedOutputStream(0, true); write(out, data, 0, 100, true); File file = out.getFile(); assertEquals(100, file.length()); assertTrue(file.exists()); out.close(); // Make sure that finalize deletes the file out = null; // times out and throws RuntimeException on failure
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 1.7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java
*/ private boolean isRequestedProjectCollected(MavenExecutionRequest request, List<MavenProject> projects) { return projects.stream().map(MavenProject::getFile).anyMatch(request.getPom()::equals); } /** * This method finds out whether collecting projects failed because of the following scenario:Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 9.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultArtifactResolver.java
} } artifact.selectVersion(result.getArtifact().getVersion()); artifact.setFile(result.getArtifact().getFile()); artifact.setResolved(true); if (artifact.isSnapshot()) { Matcher matcher = Artifact.VERSION_FILE_PATTERN.matcher(artifact.getVersion());Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 25K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java
return project.getFile(); } // Get the matching artifact from the project Artifact projectArtifact = findMatchingArtifact(project, artifact); if (projectArtifact != null) { // If the artifact has been associated to a file, use it File packagedArtifactFile = projectArtifact.getFile();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Dec 15 11:20:38 GMT 2025 - 24.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java
pomArtifact = pomArtifact.setFile(projectArtifactMetadata.getFile()); request.addArtifact(pomArtifact); } else if (metadata instanceof SnapshotArtifactRepositoryMetadata || metadata instanceof ArtifactRepositoryMetadata) { // eaten, handled by repo system } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 5.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/MetadataBridge.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java
} else { File file = artifact.getFile(); log.debug(" Included {} located at {}", id, file); realm.addURL(file.toURI().toURL()); } } return CoreExtensionEntry.discoverFrom( realm, Collections.singleton(artifacts.get(0).getFile()), extension.getGroupId() + ":" + extension.getArtifactId(),Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 13.3K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
if (Artifact.SCOPE_SYSTEM.equals(node.getArtifact().getScope()) && (node.getArtifact().getFile() == null) && (artifact.getFile() != null)) { fireEvent(ResolutionListener.MANAGE_ARTIFACT_SYSTEM_PATH, listeners, node, artifact); node.getArtifact().setFile(artifact.getFile()); } } /** * Check if the artifactScope needs to be updated. <aCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 36.5K bytes - Click Count (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java
void testGetLocation() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); assertEquals(txtFile.getAbsolutePath(), source.getLocation()); } @Test void testGetFile() { File txtFile = new File("target/test-classes/source.txt"); FileSource source = new FileSource(txtFile); assertEquals(txtFile.getAbsoluteFile(), source.getFile());
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java
this.projectId = (project != null) ? project.getGroupId() + ':' + project.getArtifactId() + ':' + project.getVersion() : ""; this.pomFile = (project != null) ? project.getFile() : null; this.project = project; this.problems = problems != null ? problems : Collections.emptyList(); this.dependencyResolutionResult = dependencyResolutionResult; } /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 10:13:56 GMT 2025 - 3.4K bytes - Click Count (0)