witty-crayon-22786
03/30/2016, 9:12 PM[compile.zinc]
args: [..]
witty-crayon-22786
03/30/2016, 9:12 PM./pants help-advanced compile.zinc
melodic-kite-14017
03/30/2016, 9:14 PMwitty-crayon-22786
03/30/2016, 9:14 PMargs
, warning_args
etc sections look like:witty-crayon-22786
03/30/2016, 9:15 PMargs: [
'-C-encoding', '-CUTF-8',
'-S-encoding', '-SUTF-8',
'-S-g:vars',
# see <https://reviewboard.twitter.biz/r/446503/>
'-S-language:higherKinds',
# This is intentionally in the default args section: never warn for generated files.
'-file-filter', '/\.pants\.d/gen/',
# Ditto: Suppress the warning for annotations with no processor.
'-C-Xlint:-processing',
]
warning_args: [
'-S-deprecation',
'-S-unchecked',
# request warnings for <http://www.scala-lang.org/api/2.10.4/index.html#scala.language$>
'-S-feature',
'-S-Xlint',
'-C-Xlint:all', '-C-Xlint:-serial', '-C-Xlint:-path',
'-C-deprecation',
'-S-Ywarn-unused-import',
]
no_warning_args: [
'-S-nowarn',
'-C-Xlint:none',
'-C-nowarn',
]
witty-crayon-22786
03/30/2016, 9:15 PM-C
prefixed are flags for java, and -S
prefixed are flags for scalawide-energy-11069
03/30/2016, 9:26 PM—verify-configs
flag after https://rbcommons.com/s/twitter/r/3623?witty-crayon-22786
03/30/2016, 9:27 PMwide-energy-11069
03/30/2016, 9:33 PM—verify-config
true by default once https://rbcommons.com/s/twitter/r/3623 has landedmelodic-kite-14017
03/30/2016, 9:38 PM-Xmax-classfile-name: 254
change and it didn't generate. as soon as he removed that line and reran gen, generate worked, so I think pants might be picking up that changebored-art-40741
03/30/2016, 9:40 PM[jvm_options]
isn't a thingwitty-crayon-22786
03/30/2016, 9:40 PMbored-art-40741
03/30/2016, 9:40 PM[gen.scrooge]
jvm_options: ...
witty-crayon-22786
03/30/2016, 9:40 PMbored-art-40741
03/30/2016, 9:40 PMmelodic-kite-14017
03/30/2016, 9:42 PMbored-art-40741
03/30/2016, 9:42 PMwitty-crayon-22786
03/30/2016, 9:42 PMbored-art-40741
03/30/2016, 9:43 PMwitty-crayon-22786
03/30/2016, 9:43 PMbored-art-40741
03/30/2016, 9:43 PMwitty-crayon-22786
03/30/2016, 9:44 PMbored-art-40741
03/30/2016, 9:44 PMwide-energy-11069
03/30/2016, 9:44 PMsynthetic_jar = safe_classpath(classpath, basedir)
rm_rf(synthetic_jar_path)
os.rename(synthetic_jar[0], synthetic_jar_path)
have race condition? my understanding is each is line a sync operationwitty-crayon-22786
03/30/2016, 9:45 PMwitty-crayon-22786
03/30/2016, 9:45 PMbored-art-40741
03/30/2016, 9:46 PMwide-energy-11069
03/30/2016, 9:46 PMwitty-crayon-22786
03/30/2016, 9:46 PMbored-art-40741
03/30/2016, 9:46 PM