Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for metadataCharset (0.68 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/bundling/ZipIntegrationTest.groovy

                    metadataCharset = '$metadataCharset'
                }
                """
    
            when:
            succeeds 'zip'
    
            then:
            def theZip = new ZipTestFixture(file('build/test.zip'), metadataCharset)
            theZip.hasDescendants("${filename}1.txt", "${filename}2.txt", "${filename}3.txt")
    
            where:
            metadataCharset                 | filename
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 04 22:26:51 UTC 2021
    - 5.8K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/api/tasks/bundling/Zip.java

            }
            if (!Charset.isSupported(metadataCharset)) {
                throw new InvalidUserDataException(String.format("Charset for metadataCharset '%s' is not supported by your JVM", metadataCharset));
            }
            this.metadataCharset = metadataCharset;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Oct 28 08:29:19 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  3. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/JarTestFixture.groovy

         */
        JarTestFixture(File file, String metadataCharset = 'UTF-8', String contentCharset = null) {
            this(file, metadataCharset, contentCharset, true)
        }
    
        /**
         * Creates the fixture.
         */
        JarTestFixture(File file, String metadataCharset, String contentCharset, boolean checkManifest) {
             super(file, metadataCharset, contentCharset)
             this.file = file
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:13:17 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  4. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/TarTestFixture.groovy

        TarTestFixture(TestFile tarFile, String metadataCharset = null, String contentCharset = null) {
            this.tarFile = tarFile
    
            boolean gzip = !tarFile.name.endsWith("tar")
            tarFile.withInputStream { inputStream ->
                TarArchiveInputStream tarInputStream = new TarArchiveInputStream(gzip ? new GZIPInputStream(inputStream) : inputStream, metadataCharset)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.bundling.Zip.xml

                </thead>
                <tr>
                    <td>metadataCharset</td>
                    <td>Platform default encoding</td>
                </tr>
                <tr>
                    <td>entryCompression</td>
                    <td><literal>ZipEntryCompression.DEFLATED</literal></td>
                </tr>
                <tr>
                    <td>metadataCharset</td>
                    <td>Platform default encoding</td>
                </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1003 bytes
    - Viewed (0)
  6. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/archive/ZipTestFixture.groovy

        protected final String metadataCharset
        protected final String contentCharset
        private final ListMultimap<String, Integer> compressionMethodsByRelativePath = ArrayListMultimap.create()
    
        ZipTestFixture(File file, String metadataCharset = null, String contentCharset = null) {
            new TestFile(file).assertIsFile()
            this.metadataCharset = metadataCharset ?: Charset.defaultCharset().name()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. platforms/jvm/platform-jvm/src/main/java/org/gradle/jvm/tasks/Jar.java

         *
         * @param metadataCharset the character set used to encode JAR metadata like file names
         * @since 2.14
         */
        @Override
        public void setMetadataCharset(String metadataCharset) {
            super.setMetadataCharset(metadataCharset);
        }
    
        /**
         * The character set used to encode the manifest content.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 15:09:49 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.bundling.Jar.xml

            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                        <td>Default</td>
                    </tr>
                </thead>
                <tr>
                    <td>metadataCharset</td>
                    <td><literal>UTF-8</literal></td>
                </tr>
            </table>
        </section>
        <section>
            <title>Methods</title>
            <table>
                <thead>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 609 bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.tasks.SourceSetOutput.resourcesDir don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.bundling.War.classpath don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.bundling.Zip.metadataCharset don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.compile.CompileOptions.annotationProcessorGeneratedSourcesDirectory don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. platforms/jvm/language-jvm/src/integTest/groovy/org/gradle/api/tasks/bundling/JarEncodingIntegrationTest.groovy

        }
    
        @Issue('GRADLE-1506')
        def "create Jar with metadata encoded using user supplied charset"() {
            given:
            buildScript """
                task jar(type: Jar) {
                    metadataCharset = 'ISO-8859-15'
                    from file('test')
                    destinationDirectory = file('dest')
                    archiveFileName = 'test.jar'
                }
            """.stripIndent()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 10.5K bytes
    - Viewed (0)
Back to top