Author Topic: Java compile with many files exceeds command line length limits  (Read 955 times)

Marcel

  • Senior Community Member
  • Posts: 261
  • Hero Points: 26
Will the next beta have a fix for the javac command line length problem?

https://community.slickedit.com/index.php/topic,18259.0.html

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: Java compile with many files exceeds command line length limits
« Reply #1 on: August 02, 2021, 05:19:49 PM »
That should be in for the next build.  I'll update this thread if that changes.

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: Java compile with many files exceeds command line length limits
« Reply #2 on: August 03, 2021, 05:34:38 PM »
Fixed for the next build.  My memory wasn't completely wrong, there was already some code for putting the files in a @argList at a certain limit, but it's hard to tell from the Build output, as it always logged it to the Build window as using the long form.  I changed that as part of the fix so you can see the real command line that's being run.


Marcel

  • Senior Community Member
  • Posts: 261
  • Hero Points: 26
Re: Java compile with many files exceeds command line length limits
« Reply #3 on: August 04, 2021, 02:29:04 PM »
Thanks Patrick.
Would it be possible to add a debug flag to retain the temp files (arglists, batchfiles) to make it easier to track down build and debug-session problems? 

patrick

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 1818
  • Hero Points: 151
Re: Java compile with many files exceeds command line length limits
« Reply #4 on: August 04, 2021, 02:39:34 PM »
There's a -keeptempfiles option for vsbuild, I'll double check and make sure we honor that for the argument files. 

Marcel

  • Senior Community Member
  • Posts: 261
  • Hero Points: 26
Re: Java compile with many files exceeds command line length limits
« Reply #5 on: August 11, 2021, 02:19:07 PM »
Thanks for the fix. BETA2.