Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-beta-3, 1.8.7
-
Component/s: Ant integration
-
Labels:None
-
Environment:Windows
-
Number of attachments :
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.
Just had a look at the patch, and it seems to still need a bit of work, as it's failing the Groovy build!
Have you tried running the Groovy build with your patch?