Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scalacfork Ant task runs out of command-line buffer space on Windows #2578

Closed
scabug opened this issue Nov 5, 2009 · 6 comments
Closed

scalacfork Ant task runs out of command-line buffer space on Windows #2578

scabug opened this issue Nov 5, 2009 · 6 comments
Labels

Comments

@scabug
Copy link

scabug commented Nov 5, 2009

I have seen this problem for the last two days, where the total command-line size given to the "java" command is greater than the windows cmd.exe command-line buffer size (32k). This can be easily overcome by storing the arguments and file names to a file, and instead executing "java @file." Attached is a diff of ScalacFork.scala to current svn, which performs this. Note that it first checks if the user wanted to use @file for something else, in which case this problem wouldn't have happened anyway. This works at least on Windows and Linux.

@rytz, does this look like maybe it would be a valid fix?

Thanks.

@scabug
Copy link
Author

scabug commented Nov 5, 2009

Imported From: https://issues.scala-lang.org/browse/SI-2578?orig=1
Reporter: Bob Jamison (ishmal)
Attachments:

@scabug
Copy link
Author

scabug commented Nov 5, 2009

Bob Jamison (ishmal) said:
ScalacFork.scala diff file for trunk rev 19406

@scabug
Copy link
Author

scabug commented Nov 6, 2009

@lrytz said:
(In r19417) fix build on windows. fixes #2578

@scabug
Copy link
Author

scabug commented Nov 6, 2009

@lrytz said:
(In r19429) Merged revisions 19413,19416-19417,19421-19422,19424-19426,19428 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk

........
r19413 | rytz | 2009-11-06 09:39:00 +0100 (Fri, 06 Nov 2009) | 1 line

fixed obvious bug in JenkinsHash
........
r19416 | rytz | 2009-11-06 14:03:21 +0100 (Fri, 06 Nov 2009) | 1 line

removed wrong .optimise targets
........
r19417 | rytz | 2009-11-06 15:47:25 +0100 (Fri, 06 Nov 2009) | 1 line

fix build on windows. fixes SI-2578
........
r19421 | odersky | 2009-11-06 18:56:38 +0100 (Fri, 06 Nov 2009) | 1 line

added numeric widening and weak conformance. List(1, 1L) now gives a List[Long]
........
r19422 | dragos | 2009-11-06 19:00:43 +0100 (Fri, 06 Nov 2009) | 2 lines

Fixed initial variable binding for method parameters, that caused the inliner to infer wrong types for tail recursive methods
........
r19424 | cunei | 2009-11-06 20:06:35 +0100 (Fri, 06 Nov 2009) | 4 lines

Moved disabled tests back into their original place.
Expect 7 tests to fail.
........
r19425 | extempore | 2009-11-06 20:25:10 +0100 (Fri, 06 Nov 2009) | 3 lines

  • Renames filterMap to partialMap
  • Renames GenericRange to NumericRange
  • Removes most @experimental annotations
    ........
    r19426 | extempore | 2009-11-06 20:35:03 +0100 (Fri, 06 Nov 2009) | 1 line

Fix for SI-2525.
........
r19428 | extempore | 2009-11-07 00:59:26 +0100 (Sat, 07 Nov 2009) | 2 lines

Moved a bunch of classes into the newly created scala.math package.
Created compatibility aliases in the scala package object.
........

@scabug
Copy link
Author

scabug commented Nov 6, 2009

@lrytz said:
(In r19430) Merged revisions 19416-19417,19421-19422,19424-19426,19428 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk

........
r19416 | rytz | 2009-11-06 14:03:21 +0100 (Fri, 06 Nov 2009) | 1 line

removed wrong .optimise targets
........
r19417 | rytz | 2009-11-06 15:47:25 +0100 (Fri, 06 Nov 2009) | 1 line

fix build on windows. fixes SI-2578
........
r19421 | odersky | 2009-11-06 18:56:38 +0100 (Fri, 06 Nov 2009) | 1 line

added numeric widening and weak conformance. List(1, 1L) now gives a List[Long]
........
r19422 | dragos | 2009-11-06 19:00:43 +0100 (Fri, 06 Nov 2009) | 2 lines

Fixed initial variable binding for method parameters, that caused the inliner to infer wrong types for tail recursive methods
........
r19424 | cunei | 2009-11-06 20:06:35 +0100 (Fri, 06 Nov 2009) | 4 lines

Moved disabled tests back into their original place.
Expect 7 tests to fail.
........
r19425 | extempore | 2009-11-06 20:25:10 +0100 (Fri, 06 Nov 2009) | 3 lines

  • Renames filterMap to partialMap
  • Renames GenericRange to NumericRange
  • Removes most @experimental annotations
    ........
    r19426 | extempore | 2009-11-06 20:35:03 +0100 (Fri, 06 Nov 2009) | 1 line

Fix for SI-2525.
........
r19428 | extempore | 2009-11-07 00:59:26 +0100 (Sat, 07 Nov 2009) | 2 lines

Moved a bunch of classes into the newly created scala.math package.
Created compatibility aliases in the scala package object.
........

@scabug
Copy link
Author

scabug commented Nov 6, 2009

@lrytz said:
(In r19431) Merged revisions 19430 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala-msil/trunk/src/library

................
r19430 | rytz | 2009-11-07 01:02:23 +0100 (Sat, 07 Nov 2009) | 41 lines

Merged revisions 19416-19417,19421-19422,19424-19426,19428 via svnmerge from
https://lampsvn.epfl.ch/svn-repos/scala/scala/trunk

........
r19416 | rytz | 2009-11-06 14:03:21 +0100 (Fri, 06 Nov 2009) | 1 line

removed wrong .optimise targets

........
r19417 | rytz | 2009-11-06 15:47:25 +0100 (Fri, 06 Nov 2009) | 1 line

fix build on windows. fixes SI-2578

........
r19421 | odersky | 2009-11-06 18:56:38 +0100 (Fri, 06 Nov 2009) | 1 line

added numeric widening and weak conformance. List(1, 1L) now gives a List[Long]

........
r19422 | dragos | 2009-11-06 19:00:43 +0100 (Fri, 06 Nov 2009) | 2 lines

Fixed initial variable binding for method parameters, that caused the inliner to infer wrong types for tail recursive methods

........
r19424 | cunei | 2009-11-06 20:06:35 +0100 (Fri, 06 Nov 2009) | 4 lines

Moved disabled tests back into their original place.
Expect 7 tests to fail.

........
r19425 | extempore | 2009-11-06 20:25:10 +0100 (Fri, 06 Nov 2009) | 3 lines

- Renames filterMap to partialMap
- Renames GenericRange to NumericRange
- Removes most @experimental annotations

........
r19426 | extempore | 2009-11-06 20:35:03 +0100 (Fri, 06 Nov 2009) | 1 line

Fix for SI-2525.

........
r19428 | extempore | 2009-11-07 00:59:26 +0100 (Sat, 07 Nov 2009) | 2 lines

Moved a bunch of classes into the newly created scala.math package.
Created compatibility aliases in the scala package object.

........
................

@scabug scabug closed this as completed May 18, 2011
@scabug scabug added the build label Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant