42f162d1f8cfe9cea6c0c938ffe1f566c5449f1c,src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py,RscCompile,_runtool_hermetic,#RscCompile#Any#Any#Any#Any#Any#Any#Any#,581

Before Change


    if res.exit_code != 0:
      raise TaskError(res.stderr, exit_code=res.exit_code)

    if output_dir:
      res.output_directory_digest.dump(output_dir)
      self.context._scheduler.materialize_directories((
        DirectoryToMaterialize(
          // NB the first element here is the root to materialize into, not the dir to snapshot
          text_type(get_buildroot()),
          res.output_directory_digest),
      ))
      // TODO drop a file containing the digest, named maybe output_dir.digest
    return res

  // The classpath is parameterized so that we can have a single nailgun instance serving all of our
  // execution requests.

After Change



    res.output_directory_digest.dump(ctx.rsc_jar_file.path)

    ctx.rsc_jar_file = ClasspathEntry(ctx.rsc_jar_file.path, res.output_directory_digest)

    self.context._scheduler.materialize_directories((
      DirectoryToMaterialize(
        // NB the first element here is the root to materialize into, not the dir to snapshot
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pantsbuild/pants
Commit Name: 42f162d1f8cfe9cea6c0c938ffe1f566c5449f1c
Time: 2019-06-07
Author: dawagner@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py
Class Name: RscCompile
Method Name: _runtool_hermetic


Project Name: pantsbuild/pants
Commit Name: f612f023e0e49c18e8f307a8ba647e02b0fb5cb8
Time: 2015-08-11
Author: fedor.korotkov@gmail.com
File Name: src/python/pants/backend/project_info/tasks/ide_gen.py
Class Name: IdeGen
Method Name: map_external_jars


Project Name: pantsbuild/pants
Commit Name: d45af2806326ee71c8f163daea6c0512b58fadd2
Time: 2019-07-28
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/tasks/resources_task.py
Class Name: ResourcesTask
Method Name: execute