<commit_before># buildroot, homedir and user are assumed to be seeded in the config

[DEFAULT]
# Look for these rcfiles - they need not exist on the system
rcfiles: ['/etc/pantsrc', '~/.pants.new.rc']

pants_workdir: %(buildroot)s/.pants.d
pants_supportdir: %(buildroot)s/build-support
pants_distdir: %(buildroot)s/dist
pants_pythons: %(buildroot)s/.python
confs: ['default']
max_subprocess_args: 100

thrift_workdir: %(pants_workdir)s/thrift
protobuf_workdir: %(pants_workdir)s/protobuf

scala_workdir: %(pants_workdir)s/scalac
scala_compile_profile: scala-compile-2.8.1

java_workdir: %(pants_workdir)s/javac

checkstyle_suppression_files = [
    '%(pants_supportdir)s/commons/checkstyle/checkstyle_suppressions.xml'
  ]

debug_port: 5005


[goals]
bootstrap_buildfiles: [
    # This will pick up the whole top level BUILD file family, including BUILD.commons
    '%(buildroot)s/BUILD',
  ]


[tasks]
# Put the artifact cache outside pants_workdir if you want it to survive a clean.
artifact_cache: %(pants_workdir)s/artifact_cache
build_invalidator: %(pants_workdir)s/build_invalidator


[nailgun]
workdir: %(pants_workdir)s/ng
supportdir: %(pants_supportdir)s/ng
jar: %(supportdir)s/lib/nailgun-0.7.1.jar
args: ['-Xmx2g', '-XX:MaxPermSize=256m']


[ivy]
supportdir: %(pants_supportdir)s/ivy
classpath: ['%(supportdir)s/lib/ivy-2.2.0.jar']
ivy_settings: %(supportdir)s/ivysettings.xml
cache_dir: %(homedir)s/.ivy2/twitter-commons


[ivy-profiles]
workdir: %(pants_supportdir)s/profiles


[ivy-resolve]
workdir: %(pants_workdir)s/classpath
nailgun_dir: %(pants_workdir)s/ng/ivy
profile: xalan
transitive: True
args: []


[thrift-gen]
workdir: %(thrift_workdir)s
supportdir: %(pants_supportdir)s/bin/thrift
strict: False
verbose: False
version: 0.5.0-finagle
java: {
    'gen': 'java:hashcode',
    'deps': ['3rdparty:thrift-%(version)s']
  }
python: {
    'gen': 'py:newstyle',
    'deps': ['3rdparty/python:thrift-0.7']
  }


[protobuf-gen]
workdir: %(protobuf_workdir)s
supportdir: %(pants_supportdir)s/bin/protobuf
version: 2.3.0
javadeps: ['3rdparty:protobuf-%(version)s']
pythondeps: []


[checkstyle]
workdir: %(pants_workdir)s/checkstyle
profile: checkstyle
nailgun_dir: %(pants_workdir)s/ng/%(profile)s
configuration: %(pants_supportdir)s/checkstyle/coding_style.xml
properties: {
    'checkstyle.suppression.files': ','.join(%(checkstyle_suppression_files)s)
  }


[java-compile]
workdir: %(java_workdir)s


# jmake setup
#
jmake-profile: jmake
default_to_flatten: True
nailgun_dir: %(pants_workdir)s/ng/%(jmake-profile)s

jvm_args: [ '-Xmx2G' ]

args: [
    '-C-encoding', '-CUTF-8',
    '-C-g',
    '-C-Tcolor',

    # Don't warn for thrift and protobuf gen-files
    '-C-Tnowarnprefixes', '-C%(thrift_workdir)s',
    '-C-Tnowarnprefixes', '-C%(protobuf_workdir)s',

    # Suppress the warning for annotations with no processor - we know there are many of these!
    '-C-Tnowarnregex', '-C^warning: No processor claimed any of these annotations: .*'
  ]
warning_args: [
    '-C-Xlint:all', '-C-Xlint:-serial', '-C-Xlint:-path',
    '-C-deprecation',
  ]
no_warning_args: [
    '-C-Xlint:none',
    '-C-nowarn',
  ]

compiler-profile: twitter-compiler


[scala-compile]
workdir: %(scala_workdir)s

# TODO(<NAME>): Merge profiles into standard pants deps when ant backend is gone.
compile-profile: %(scala_compile_profile)s
zinc-profile: zinc
dependencies-plugin-profile: scala-dependencies-2.8.1

scaladeps: ['3rdparty:scala-library']

default_to_flatten: True

nailgun_dir: %(pants_workdir)s/ng/%(compile-profile)s
main: com.typesafe.zinc.Main
args: [
    '-encoding', 'UTF-8',
    '-g:vars',
  ]
warning_args: [
    '-deprecation',
  ]
no_warning_args: [
    '-nowarn',
  ]

jvm_args: [ '-Dzinc.analysis.cache.limit=200' ]<commit_msg>Let zinc emit the scalac depfile instead of the plugin.<commit_after># buildroot, homedir and user are assumed to be seeded in the config

[DEFAULT]
# Look for these rcfiles - they need not exist on the system
rcfiles: ['/etc/pantsrc', '~/.pants.new.rc']

pants_workdir: %(buildroot)s/.pants.d
pants_supportdir: %(buildroot)s/build-support
pants_distdir: %(buildroot)s/dist
pants_pythons: %(buildroot)s/.python
confs: ['default']
max_subprocess_args: 100

thrift_workdir: %(pants_workdir)s/thrift
protobuf_workdir: %(pants_workdir)s/protobuf

scala_workdir: %(pants_workdir)s/scalac
scala_compile_profile: scala-compile-2.8.1

java_workdir: %(pants_workdir)s/javac

checkstyle_suppression_files = [
    '%(pants_supportdir)s/commons/checkstyle/checkstyle_suppressions.xml'
  ]

debug_port: 5005


[goals]
bootstrap_buildfiles: [
    # This will pick up the whole top level BUILD file family, including BUILD.commons
    '%(buildroot)s/BUILD',
  ]


[tasks]
# Put the artifact cache outside pants_workdir if you want it to survive a clean.
artifact_cache: %(pants_workdir)s/artifact_cache
build_invalidator: %(pants_workdir)s/build_invalidator


[nailgun]
workdir: %(pants_workdir)s/ng
supportdir: %(pants_supportdir)s/ng
jar: %(supportdir)s/lib/nailgun-0.7.1.jar
args: ['-Xmx2g', '-XX:MaxPermSize=256m']


[ivy]
supportdir: %(pants_supportdir)s/ivy
classpath: ['%(supportdir)s/lib/ivy-2.2.0.jar']
ivy_settings: %(supportdir)s/ivysettings.xml
cache_dir: %(homedir)s/.ivy2/twitter-commons


[ivy-profiles]
workdir: %(pants_supportdir)s/profiles


[ivy-resolve]
workdir: %(pants_workdir)s/classpath
nailgun_dir: %(pants_workdir)s/ng/ivy
profile: xalan
transitive: True
args: []


[thrift-gen]
workdir: %(thrift_workdir)s
supportdir: %(pants_supportdir)s/bin/thrift
strict: False
verbose: False
version: 0.5.0-finagle
java: {
    'gen': 'java:hashcode',
    'deps': ['3rdparty:thrift-%(version)s']
  }
python: {
    'gen': 'py:newstyle',
    'deps': ['3rdparty/python:thrift-0.7']
  }


[protobuf-gen]
workdir: %(protobuf_workdir)s
supportdir: %(pants_supportdir)s/bin/protobuf
version: 2.3.0
javadeps: ['3rdparty:protobuf-%(version)s']
pythondeps: []


[checkstyle]
workdir: %(pants_workdir)s/checkstyle
profile: checkstyle
nailgun_dir: %(pants_workdir)s/ng/%(profile)s
configuration: %(pants_supportdir)s/checkstyle/coding_style.xml
properties: {
    'checkstyle.suppression.files': ','.join(%(checkstyle_suppression_files)s)
  }


[java-compile]
workdir: %(java_workdir)s


# jmake setup
#
jmake-profile: jmake
default_to_flatten: True
nailgun_dir: %(pants_workdir)s/ng/%(jmake-profile)s

jvm_args: [ '-Xmx2G' ]

args: [
    '-C-encoding', '-CUTF-8',
    '-C-g',
    '-C-Tcolor',

    # Don't warn for thrift and protobuf gen-files
    '-C-Tnowarnprefixes', '-C%(thrift_workdir)s',
    '-C-Tnowarnprefixes', '-C%(protobuf_workdir)s',

    # Suppress the warning for annotations with no processor - we know there are many of these!
    '-C-Tnowarnregex', '-C^warning: No processor claimed any of these annotations: .*'
  ]
warning_args: [
    '-C-Xlint:all', '-C-Xlint:-serial', '-C-Xlint:-path',
    '-C-deprecation',
  ]
no_warning_args: [
    '-C-Xlint:none',
    '-C-nowarn',
  ]

compiler-profile: twitter-compiler


[scala-compile]
workdir: %(scala_workdir)s

# TODO(<NAME>): Merge profiles into standard pants deps when ant backend is gone.
compile-profile: %(scala_compile_profile)s
zinc-profile: zinc

scaladeps: ['3rdparty:scala-library']

default_to_flatten: True

nailgun_dir: %(pants_workdir)s/ng/%(compile-profile)s
main: com.typesafe.zinc.Main
args: [
    '-encoding', 'UTF-8',
    '-g:vars',
  ]
warning_args: [
    '-deprecation',
  ]
no_warning_args: [
    '-nowarn',
  ]

jvm_args: [ '-Dzinc.analysis.cache.limit=200' ]
{'fraction_non_alphanumeric': 0.15366114377338322, 'fraction_numerical': 0.010823089257081775, 'mean_word_length': 5.041162227602905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2784930', 'n_tokens_mistral': 3032, 'n_tokens_neox': 2946, 'n_words': 539}