<?xml version="1.0"?>

<!--
Copyright 2014 Pants project contributors (see CONTRIBUTORS.md).
Licensed under the Apache License, Version 2.0 (see LICENSE).
-->

<!-- generated by pants! -->
<project version="4">
  <component name="CompilerConfiguration">
    <option name="DEFAULT_COMPILER" value="Javac"/>
    <resourceExtensions/>
    <wildcardResourcePatterns>
      {{#project.resource_extensions}}
      <entry name="?*{{.}}"/>
      {{/project.resource_extensions}}
    </wildcardResourcePatterns>
    <annotationProcessing>
      <profile default="true" name="Default" enabled="{{project.annotation_processing.enabled}}">
        <sourceOutputDir name="{{project.annotation_processing.rel_source_output_dir}}" />
        <sourceTestOutputDir name="{{project.annotation_processing.rel_test_source_output_dir}}" />
        {{#project.annotation_processing.processors}}
          <processor name="{{class_name}}" />
        {{/project.annotation_processing.processors}}
        <processorPath useClasspath="true" />
      </profile>
    </annotationProcessing>
  </component>

  <component name="JavacSettings">
    <option name="ADDITIONAL_OPTIONS_STRING" value="-encoding {{project.java.encoding}}" />
    <option name="MAXIMUM_HEAP_SIZE" value="{{project.java.maximum_heap_size}}" />
  </component>

  <component name="ProjectModuleManager">
    <modules>
      {{#project.modules}}
      <module fileurl="file://{{path}}"
              filepath="{{path}}"/>
      {{/project.modules}}
    </modules>
  </component>

  <component name="ProjectRootManager"
             version="2"
             languageLevel="{{project.java.language_level}}"
             project-jdk-name="{{project.java.jdk}}"
             project-jdk-type="JavaSDK">
    <output url="file://{{project.outdir}}"/>
  </component>

  <component name="ProjectRunConfigurationManager">
    <configuration default="false" name="Debug on port {{project.debug_port}}"
                   type="Remote"
                   factoryName="Remote">
      <option name="USE_SOCKET_TRANSPORT" value="true" />
      <option name="SERVER_MODE" value="false" />
      <option name="SHMEM_ADDRESS" value="javadebug" />
      <option name="HOST" value="localhost" />
      <option name="PORT" value="{{project.debug_port}}" />
      <method />
    </configuration>
  </component>

  {{#project.scala?}}
  <component name="ScalacSettings">
    <option name="USE_FSC"
            {{#project.scala.fsc}}
            value="true"
            {{/project.scala.fsc}}
            {{^project.scala.fsc}}
            value="false"
            {{/project.scala.fsc}}
    />
  </component>
  <component name="libraryTable">
    <library name="scala">
      <CLASSES>
        {{#project.scala.compiler_classpath}}
        <root url="jar://{{.}}!/"/>
        {{/project.scala.compiler_classpath}}
      </CLASSES>
      <JAVADOC />
      <SOURCES />
    </library>
  </component>
  {{/project.scala?}}

  <component name="VcsDirectoryMappings">
  {{#project.git_root}}
    <mapping directory="{{.}}" vcs="Git"/>
  {{/project.git_root}}
  </component>

  <component name="CheckStyle-IDEA">
    <option name="configuration">
      <map>
        <entry key="active-configuration" value="file://{{project.root_dir}}/build-support/checkstyle/coding_style.xml:Twitter CheckStyle rules." />
        <entry key="check-test-classes" value="test" />
        <entry key="location-0" value="CLASSPATH:/sun_checks.xml:The default CheckStyle rules." />
        <entry key="location-1" value="file://{{project.root_dir}}/build-support/checkstyle/coding_style.xml:Twitter CheckStyle rules." />
        <entry key="thirdparty-classpath" value="{{project.checkstyle_classpath}}" />
      </map>
    </option>
  </component>

{{#project.extra_components}}
  {{{.}}}
{{/project.extra_components}}
</project>
