![]() Anything else, information or logs or outputs that would be helpful? This seems somewhat related to issue #1780, although the problem is more severe on Windows, as the limit is much lower than Linux/Mac. GitHub issues, email threads in the archive) Have you found anything relevant by searching the web? (e.g. Environment infoīazel version (output of bazel info release): jar dependencies, and ensure the resulting command is longer than 8192 characters. But, in theory, the repro is simple: execute a java rule that has many. This is a little hard for me, as it would require sharing a semi-complex project, with many dependencies. If possible, provide a minimal example to reproduce the problem: (I am attaching a diff that partially implements this). One solution to this problem is to use the "classpath jar" trick as explained here: jar dependencies, as they are all added to the "-classpath" argument. This is problematic for semi-complex java rules that have many. ![]() When running java actions through the src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt file, Bazel seem to hit the 8192 characters limit. Depending on the context, it is either 8192 Bytes or 32KB. On Windows, there is a hard limit on the total length of command lines. Description of the problem / feature request / question:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |