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

Marcel

  • Senior Community Member
  • Posts: 260
  • 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: 1638
  • Hero Points: 140
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: 1638
  • Hero Points: 140
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: 260
  • 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: 1638
  • Hero Points: 140
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: 260
  • 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.