- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for getAbsoluteFile (0.1 sec)
-
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/ExtractGradleApiInfoTask.java
File gradleRuntimeApiInfoJar = from.filter(file -> file.getName().startsWith(gradleApiInfoJarPrefix)).getSingleFile(); URI uri = URI.create("jar:" + gradleRuntimeApiInfoJar.getAbsoluteFile().toURI()); try (FileSystem fs = FileSystems.newFileSystem(uri, Collections.emptyMap())) { Path upgradedPropertiesJson = fs.getPath(UPGRADED_PROPERTIES_FILE);
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 22 22:15:41 UTC 2023 - 3.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/AbstractCoreMavenComponentTestCase.java
return new MavenProject(model); } protected List<ArtifactRepository> getRemoteRepositories() throws InvalidRepositoryException { File repoDir = new File(getBasedir(), "src/test/remote-repo").getAbsoluteFile(); RepositoryPolicy policy = new RepositoryPolicy(); policy.setEnabled(true); policy.setChecksumPolicy("ignore"); policy.setUpdatePolicy("always");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12.1K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/TestRepositorySystem.java
public ArtifactRepository createDefaultLocalRepository() throws InvalidRepositoryException { return createLocalRepository( new File(System.getProperty("basedir", "."), "target/local-repo").getAbsoluteFile()); } @Override public ArtifactRepository createDefaultRemoteRepository() throws InvalidRepositoryException { return new MavenArtifactRepository( DEFAULT_REMOTE_REPO_ID,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 12K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/LegacyRepositorySystemTest.java
@Inject private LegacyRepositorySystem repositorySystem; @Test void testThatLocalRepositoryWithSpacesIsProperlyHandled() throws Exception { File basedir = new File("target/spacy path").getAbsoluteFile(); ArtifactRepository repo = repositorySystem.createLocalRepository(basedir); assertEquals(basedir, new File(repo.getBasedir())); } @Test void testAuthenticationHandling() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/LegacyLocalRepositoryManager.java
private final LocalRepository repository; public LegacyLocalRepositoryManager(File basedir) { this.repository = new LocalRepository(basedir.getAbsoluteFile(), "legacy"); } public LocalRepository getRepository() { return repository; } public String getPathForLocalArtifact(Artifact artifact) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.4K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
Paths.get("src", "test", "resources", "poms", "factory").toString(); private File getPom(String name) { return new File(Paths.get(BASE_DIR, name + ".xml").toString()).getAbsoluteFile(); } @Test void testCompleteWiring() throws Exception { ModelBuilder builder = new DefaultModelBuilderFactory().newInstance(); assertNotNull(builder);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java
// --------------------------------------------------------------------------------- // path = path.replaceAll( "//", "/" ); } return new File(path).getAbsoluteFile(); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.2K bytes - Viewed (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java
protected File getLocalRepositoryPath() throws FileNotFoundException, URISyntaxException { File markerFile = getFileForClasspathResource("local-repo/marker.txt"); return markerFile.getAbsoluteFile().getParentFile(); } protected static File getFileForClasspathResource(String resource) throws FileNotFoundException, URISyntaxException {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/net/URLUtil.java
assertArgumentNotNull("fileUrl", fileUrl); try { final String path = URLDecoder.decode(fileUrl.getPath(), "UTF-8"); return new File(path).getAbsoluteFile(); } catch (final Exception e) { throw new ClRuntimeException("ECL0091", asArray(fileUrl), e); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 7.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 13.5K bytes - Viewed (0)