Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for dotfile (0.2 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostFile {
      private val client = OkHttpClient()
    
      fun run() {
        val file = File("README.md")
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. 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());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 26 17:04:44 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
                String fileString = actFile.getExists();
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingResult.java

         * @param pomFile The POM file from which the project was built, may be {@code null}.
         * @param problems The problems that were encountered, may be {@code null}.
         */
        DefaultProjectBuildingResult(String projectId, File pomFile, List<ModelProblem> problems) {
            this.projectId = (projectId != null) ? projectId : "";
            this.pomFile = pomFile;
            this.project = null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

                        return
                    }
                    if (!fvd.getFile().getName().endsWith(".xml")) {
                        return
                    }
    
                    String newFileName = fvd.file.name.replaceAll('.xml$', '.html')
                    File outFile = fvd.relativePath.replaceLastName(newFileName).getFile(destDir)
                    outFile.parentFile.mkdirs()
    
                    execOps.javaexec {
    Groovy
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java

            this.project = project;
    
            artifact.setFile(project.getArtifact().getFile());
            artifact.setResolved(true);
        }
    
        /** {@inheritDoc} */
        public File getFile() {
            // we need to get the latest file for the project, not the artifact that was created at one point in time
            return project.getArtifact().getFile();
        }
    
        /** {@inheritDoc} */
        public String getGroupId() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. maven-compat/src/main/java/org/apache/maven/artifact/installer/DefaultArtifactInstaller.java

            mainArtifact = mainArtifact.setFile(source);
            request.addArtifact(mainArtifact);
    
            for (ArtifactMetadata metadata : artifact.getMetadataList()) {
                if (metadata instanceof ProjectArtifactMetadata) {
                    org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom");
                    pomArtifact = pomArtifact.setFile(((ProjectArtifactMetadata) metadata).getFile());
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        }
    
        @Override
        public boolean isResolved() {
            return getFile() != null;
        }
    
        @Override
        public void setFile(File file) {
            throw new UnsupportedOperationException("transformed artifact file cannot be set");
        }
    
        @Override
        public synchronized File getFile() {
            try {
                String state = mayUpdate();
                if (state == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/project/artifact/PluginArtifact.java

                    plugin.getVersion(),
                    null,
                    "maven-plugin",
                    null,
                    new PluginArtifactHandler());
            this.plugin = plugin;
            setFile(pluginArtifact.getFile());
            setResolved(true);
        }
    
        public List<Dependency> getDependencies() {
            return plugin.getDependencies();
        }
    
        public List<Dependency> getManagedDependencies() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 2.7K bytes
    - Viewed (0)
Back to top