Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-5024

Reduce groovyc command line length

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0-beta-3, 1.8.7
    • Ant integration
    • None
    • Windows

    Description

      On Windows, the command line length is restricted to 32Kb or somesuch.

      FileSystemCompiler builds a command line that includes the classpath twice, which makes it prone to failure on Windows. See http://issues.gradle.org/browse/GRADLE-1420

      The attatched patch reduces the problem by passing one of the classpath strings via the CLASSPATH environment variable instead of the -cp argument.

      A further improvement would be to add @-handling to FileSystemCompiler's --classpath argument parser.

      Attachments

        Activity

          People

            paulk Paul King
            jskovjyskebankdk Jesper Skov
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: