Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for tbzTo (0.11 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/continuous/ArchivesContinuousIntegrationTest.groovy

            "tarTree" | "tarTo"  | "source.tar"  | false
            "tarTree" | "tgzTo"  | "source.tgz"  | true
            "tarTree" | "tgzTo"  | "source.tgz"  | false
            "tarTree" | "tbzTo"  | "source.tbz2" | true
            "tarTree" | "tbzTo"  | "source.tbz2" | false
        }
    
        @Ignore("inputs from resources are ignored")
        def "using compressed files as inputs from resources - #source"() {
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFile.java

            new TestFileHelper(this).tgzTo(tarFile, readOnly);
            return this;
        }
    
        public TestFile tbzTo(TestFile tarFile) {
            return tbzTo(tarFile, false);
        }
    
        public TestFile tbzTo(TestFile tarFile, boolean readOnly) {
            new TestFileHelper(this).tbzTo(tarFile, readOnly);
            return this;
        }
    
        public TestFile bzip2To(TestFile compressedFile) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:31:52 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ArchiveIntegrationTest.groovy

            given:
            TestFile tar = file('tar-contents')
            tar.create {
                someDir {
                    file '1.txt'
                    file '2.txt'
                }
            }
            tar.tbzTo(file('test.tbz2'))
            and:
            buildFile << '''
                task copy(type: Copy) {
                    from tarTree('test.tbz2')
                    exclude '**/2.txt'
                    into 'dest'
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/api/internal/file/archive/TarFileTreeTest.java

            TestFile tbz2 = tempDirProvider.getTestDirectory().file("test.tbz2");
    
            rootDir.file("subdir/file1.txt").write("content");
            rootDir.file("subdir2/file2.txt").write("content");
            rootDir.tbzTo(tbz2);
    
            TarFileTree tree = tarTree(tbz2);
    
            assertVisits(tree, toList("subdir/file1.txt", "subdir2/file2.txt"), toList("subdir", "subdir2"));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/file/TestFileHelper.groovy

            tar.setDestFile(tarFile)
            tar.setCompression((Tar.TarCompressionMethod) EnumeratedAttribute.getInstance(Tar.TarCompressionMethod.class, "gzip"))
            tar.execute()
        }
    
        void tbzTo(TestFile tarFile, boolean readOnly) {
            Tar tar = new Tar()
            tar.setProject(new Project())
            setSourceDirectory(tar, readOnly)
            tar.setDestFile(tarFile)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top