Uploaded image for project: 'Gradle'
  1. Gradle
  2. GRADLE-3122

Copy spec expand() fails on files bigger than 64K

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Won't Fix
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Gradle Forums topic Reference:

      Description

      While attempting to migrate our first project from Maven to Gradle we are running in the following issue.

      Here is a simple gradle script:

      task filterBigFile(type: Copy)

      { from '.' into 'build/big_file_filtered.txt' include 'big_file.txt' expand(expand_me: 'test') }

      If 'big_file' is bigger than 64K, the copy task will fail with the following stacktrace: [1]https://gist.github.com/anonymous/20b...

      Reproduced with Gradle 2.0 and 1.12.

      Filtering with maven is working as expected.

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            forums Gradle Forums
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development