Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for unjar (0.04 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. 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)
  7. 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)
  8. 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)
  9. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

    wget --retry-connrefused --waitretry=1 --read-timeout=20 --timeout=15 --tries=5 "http://old-releases.ubuntu.com/ubuntu/pool/main/g/gcc-4.8/libstdc++6_4.8.1-10ubuntu8_arm64.deb" && \
        unar "libstdc++6_4.8.1-10ubuntu8_arm64.deb" && \
        tar -C "${TARGET}" -xvzf "libstdc++6_4.8.1-10ubuntu8_arm64/data.tar.gz" "./usr/lib/aarch64-linux-gnu/libstdc++.so.6.0.18"  && \
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/Script.java

         * <p>
         * You can combine this method with the {@link #copy(groovy.lang.Closure)}
         * 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 Oct 05 19:36:14 UTC 2023
    - 15.4K bytes
    - Viewed (0)
Back to top