Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for unjar (0.11 sec)

  1. platforms/documentation/samples/src/integTest/groovy/org/gradle/integtests/samples/SamplesWebProjectIntegrationTest.groovy

            executer.withRepositoryMirrors()
        }
    
        def "can build war"() {
            when:
            super.sample sample
            succeeds('clean', 'assemble')
    
            then:
            TestFile tmpDir = file('unjar')
            sample.dir.file("build/libs/customized-1.0.war").unzipTo(tmpDir)
            tmpDir.assertHasDescendants(
                    'root.txt',
                    'META-INF/MANIFEST.MF',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/format_string.go

    // Code generated by "stringer -type=format -trimprefix=format untar.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[formatUnknown-0]
    	_ = x[formatGzip-1]
    	_ = x[formatZstd-2]
    	_ = x[formatLZ4-3]
    	_ = x[formatS2-4]
    	_ = x[formatBZ2-5]
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 737 bytes
    - Viewed (0)
  7. ci/official/containers/linux_arm64/builder.packages.txt

    libsqlite3-dev
    libssl-dev
    libxml2-dev
    libxmlsec1-dev
    llvm
    make
    openssl
    tk-dev
    wget
    xz-utils
    zlib1g-dev
    git
    
    # Packages needed to build devtoolset
    file
    flex
    g++
    make
    patch
    rpm2cpio
    unar
    wget
    xz-utils
    cpio
    gawk
    texinfo
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 430 bytes
    - Viewed (0)
  8. releasenotes/notes/wasm-decompress.yaml

    apiVersion: release-notes/v2
    kind: feature
    area: extensibility
    issue: []
    releaseNotes:
      - |
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 08 20:04:00 UTC 2022
    - 181 bytes
    - Viewed (0)
  9. platforms/software/plugins-distribution/src/integTest/groovy/org/gradle/api/plugins/DistributionPluginIntegrationTest.groovy

                }
    
                """
            then:
            succeeds('customDistTar')
            and:
            file('build/distributions/TestProject-custom.tar').usingNativeTools().untarTo(file("untar"))
            file("untar/TestProject-custom/someFile").assertIsFile()
        }
    
        def "can create distribution with .tar in project name"() {
            when:
            buildFile << """
                apply plugin: 'application'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 20 21:03:51 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  10. 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)
Back to top