Re: no more tokens - could not parse error message: The command line is too long.

262 views
Skip to first unread message

Abraham Lin

unread,
Dec 5, 2012, 12:59:14 PM12/5/12
to checker-fram...@googlegroups.com
Are you using a Windows machine? If so, the error is caused by the fact that you have enough Java source files (or the paths to those source files are long enough) to surpass the hard-coded limit on command line length. The plugin should probably be modified to use the "@<filename>" construct rather than adding all the source file paths as arguments (see https://github.com/sonatype/plexus-compiler/blob/master/plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java#L443).

-Abraham
Reply all
Reply to author
Forward
0 new messages