SlickEdit Community

Archived Read Only Forums => SlickEdit 2021 v26 Beta Discussion => Topic started by: Marcel on July 31, 2021, 05:36:48 pm

Title: Java compile with many files exceeds command line length limits
Post by: Marcel on July 31, 2021, 05:36:48 pm
Will the next beta have a fix for the javac command line length problem?

https://community.slickedit.com/index.php/topic,18259.0.html (https://community.slickedit.com/index.php/topic,18259.0.html)
Title: Re: Java compile with many files exceeds command line length limits
Post by: patrick on August 02, 2021, 05:19:49 pm
That should be in for the next build.  I'll update this thread if that changes.
Title: Re: Java compile with many files exceeds command line length limits
Post by: patrick 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.

Title: Re: Java compile with many files exceeds command line length limits
Post by: Marcel 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? 
Title: Re: Java compile with many files exceeds command line length limits
Post by: patrick 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. 
Title: Re: Java compile with many files exceeds command line length limits
Post by: Marcel on August 11, 2021, 02:19:07 pm
Thanks for the fix. BETA2.