https://pantsbuild.org/ logo
#general
Title
# general
m

melodic-kite-14017

03/30/2016, 9:04 PM
Another interesting bug I'm running into -- working with some thrift stuff, everything generates w/ scrooge and looks good. Then I add
Copy code
[jvm_options]
-Xmax-classfile-name: 254
to my pants.ini (scala pickler is creating some enormous names) and the scrooge generation job doesn't happen anymore before:
Copy code
Executing tasks in goals: bootstrap -> imports -> unpack-jars -> deferred-sources -> gen
17:01:26 00:00   [bootstrap]
17:01:26 00:00     [jar-dependency-management]
17:01:27 00:01     [bootstrap-jvm-tools]
17:01:27 00:01   [imports]
17:01:27 00:01     [ivy-imports]
17:01:27 00:01   [unpack-jars]
17:01:27 00:01     [unpack-jars]
17:01:27 00:01   [deferred-sources]
17:01:27 00:01     [deferred-sources]
17:01:27 00:01   [gen]
17:01:27 00:01     [thrift]
17:01:27 00:01     [protoc]
17:01:27 00:01     [antlr]
17:01:27 00:01     [ragel]
17:01:27 00:01     [jaxb]
17:01:27 00:01     [wire]
17:01:27 00:01   [complete]
after
Copy code
Executing tasks in goals: bootstrap -> imports -> unpack-jars -> deferred-sources -> gen
17:02:29 00:00   [bootstrap]
17:02:29 00:00     [jar-dependency-management]
17:02:29 00:00     [bootstrap-jvm-tools]
17:02:29 00:00   [imports]
17:02:29 00:00     [ivy-imports]
17:02:29 00:00   [unpack-jars]
17:02:29 00:00     [unpack-jars]
17:02:29 00:00   [deferred-sources]
17:02:29 00:00     [deferred-sources]
17:02:29 00:00   [gen]
17:02:29 00:00     [scrooge]
17:02:29 00:00     [thrift]
17:02:29 00:00     [protoc]
17:02:29 00:00     [antlr]
17:02:29 00:00     [ragel]
17:02:29 00:00     [jaxb]
17:02:29 00:00     [wire]
17:02:29 00:00   [complete]
notice the difference in