Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 153 for Downloading (0.2 sec)

  1. platforms/documentation/docs/src/snippets/plugins/buildService/kotlin/buildSrc/src/main/java/Download.java

        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 776 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/plugins/buildServiceUsingServiceReference/groovy/buildSrc/src/main/java/Download.java

        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 802 bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/maven/MavenBrokenRemoteResolveIntegrationTest.groovy

            then:
            succeeds("showBroken")
    
            where:
            retries << (1..3)
        }
    
        @Unroll("doesn't attempt to retry downloading missing POM file (max retries = #retries)")
        void "doesn't attempt to retry downloading missing POM file"() {
            withMaxHttpRetryCount(retries)
    
            given:
            def module = mavenHttpRepo.module('group', 'projectA', '1.3').publish()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/wrapper/simple/tests/wrapperBatchFileExecution.out

    Downloading https://services.gradle.org/distributions/gradle-5.0-all.zip
    .....................................................................................
    Unzipping C:\Documents and Settings\Claudia\.gradle\wrapper\dists\gradle-5.0-all\ac27o8rbd0ic8ih41or9l32mv\gradle-5.0-all.zip to C:\Documents and Settings\Claudia\.gradle\wrapper\dists\gradle-5.0-al\ac27o8rbd0ic8ih41or9l32mv
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 590 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/plugins/buildServiceFromWorkAction/kotlin/buildSrc/src/main/java/Download.java

                // Use the server to download a file
                WebServer server = getParameters().getServer().get();
                URI uri = server.getUri().resolve("somefile.zip");
                System.out.println(String.format("Downloading %s", uri));
            }
        }
    
        @Inject
        abstract public WorkerExecutor getWorkerExecutor();
    
        // This property provides access to the service instance from the task
        @ServiceReference("web")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/mod_auth.txt

    [short] skip
    
    env GO111MODULE=on
    env GOPROXY=direct
    env GOSUMDB=off
    env GOVCS='*:off'
    
    # Without credentials, downloading a module from a path that requires HTTPS
    # basic auth should fail.
    env NETRC=$WORK/empty
    ! go mod tidy
    stderr '^\tserver response: ACCESS DENIED, buddy$'
    stderr '^\tserver response: File\? What file\?$'
    
    # With credentials from a netrc file, it should succeed.
    env NETRC=$WORK/netrc
    go mod tidy
    go list all
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 24 15:54:04 UTC 2023
    - 763 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/plugins/readOnlyManagedProperty/groovy/buildSrc/src/main/java/Download.java

        @Internal
        public Provider<URI> getUri() {
            return getLocation().map(l -> URI.create("https://" + l));
        }
    
        @TaskAction
        void run() {
            System.out.println("Downloading " + getUri().get());  // Use the `uri` provider (read-only property)
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 682 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/plugins/buildService/groovy/buildSrc/src/main/java/Download.java

        public void download() {
            // Use the server to download a file
            WebServer server = getServer().get();
            URI uri = server.getUri().resolve("somefile.zip");
            System.out.println(String.format("Downloading %s", uri));
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 776 bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/DownloadableGradleDistribution.groovy

                if (!markerFile.exists()) {
                    distributionZip.delete()
                    gradleHomeDir.deleteDir()
    
                    URL url = getDownloadURL();
                    System.out.println("downloading $url")
                    distributionZip.copyFrom(url)
    
                    System.out.println("unzipping ${distributionZip} to ${gradleHomeDir}")
                    distributionZip.usingNativeTools().unzipTo(versionDir)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/wrapper-main/src/integTest/groovy/org/gradle/integtests/WrapperHttpIntegrationTest.groovy

            when:
            wrapperExecuter.withStackTraceChecksDisabled()
            def failure = wrapperExecuter.runWithFailure()
    
            then:
            failure.assertHasErrorOutput("Downloading from ${getDefaultBaseUrl()}/$TEST_DISTRIBUTION_URL failed: timeout (10000ms)")
            failure.assertHasErrorOutput('Read timed out')
        }
    
        @Issue('https://github.com/gradle/gradle-private/issues/3032')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:54:32 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top