Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for unjar (0.21 sec)

  1. platforms/software/build-init/src/test/groovy/org/gradle/api/tasks/wrapper/WrapperTest.groovy

            then:
            !wrapper.getValidateDistributionUrl().get()
        }
    
        def "execute with non extant wrapper jar parent directory"() {
            when:
            def unjarDir = temporaryFolder.createDir("unjar")
            execute(wrapper)
            expectedTargetWrapperJar.unzipToWithoutCheckingParentDirs(unjarDir)
            def properties = GUtil.loadProperties(expectedTargetWrapperProperties)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 08 03:11:06 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. cmd/untar.go

    		return d.r.Read(p)
    	}
    	return 0, errors.New("reader closed")
    }
    
    func (d *disconnectReader) Close() error {
    	d.mu.Lock()
    	d.r = nil
    	d.mu.Unlock()
    	return nil
    }
    
    func untar(ctx context.Context, r io.Reader, putObject func(reader io.Reader, info os.FileInfo, name string) error, o untarOptions) error {
    	bf := bufio.NewReader(r)
    	switch f := detect(bf); f {
    	case formatGzip:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/processing/AnnotationProcessorDetectorTest.groovy

                (INCREMENTAL_PROCESSOR_DECLARATION): "InJar,AGGREGATING"
            )
            def dir = tmpDir.file("classes")
            dir.file(PROCESSOR_DECLARATION) << "InDir"
            dir.file(INCREMENTAL_PROCESSOR_DECLARATION) << "InDir,ISOLATING"
            def cp = files(jar, dir)
    
            expect:
            detector.detectProcessors(cp).values().asList() == [
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 20 10:14:55 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

                return
            }
    
            def untar = new Untar()
            untar.setSrc(file)
            untar.setDest(target)
    
            if (file.name.endsWith(".tgz")) {
                def method = new Untar.UntarCompressionMethod()
                method.value = "gzip"
                untar.compression = method
            } else if (file.name.endsWith(".tbz2")) {
                def method = new Untar.UntarCompressionMethod()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. platforms/jvm/plugins-application/src/integTest/groovy/org/gradle/integtests/ApplicationIntegrationSpec.groovy

            checkApplicationImage('mega-app', distZipDir.file('mega-app'))
    
            def distTarFile = file('build/distributions/mega-app.tar')
            distTarFile.assertIsFile()
    
            def distTarDir = file('build/untar')
            distTarFile.usingNativeTools().untarTo(distTarDir)
            checkApplicationImage('mega-app', distTarDir.file('mega-app'))
        }
    
        def "check distribution contents when all defaults used"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 22:15:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/Project.java

         * <p>
         * You can combine this method with the {@link #copy(Action)}
         * method to untar a TAR file:
         *
         * <pre class='autoTested'>
         * task untar(type: Copy) {
         *   from tarTree('someCompressedTar.gzip')
         *
         *   //tar tree attempts to guess the compression based on the file extension
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 04:56:22 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    	opts.prefixAll = r.Header.Get(xhttp.MinIOSnowballPrefix)
    	if opts.prefixAll != "" {
    		opts.prefixAll = trimLeadingSlash(pathJoin(opts.prefixAll, slashSeparator))
    	}
    
    	if err = untar(ctx, hreader, putObjectTar, opts); err != nil {
    		apiErr := errorCodes.ToAPIErr(s3Err)
    		// If not set, convert or use BadRequest
    		if s3Err == ErrNone {
    			apiErr = toAPIError(ctx, err)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top