709597d36240d32d9047afe8d0b257518294c1ae,src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile_isolated_strategy.py,JvmCompileIsolatedStrategy,_write_to_artifact_cache,#JvmCompileIsolatedStrategy#Any#Any#Any#,273

Before Change


      for _, paths in resources_by_target[compile_context.target].abs_paths():
        artifacts.extend(paths)
    for dirpath, _, filenames in safe_walk(compile_context.classes_dir):
      artifacts.extend([os.path.join(dirpath, f) for f in filenames])
    log_file = self._capture_log_file(compile_context.target)
    if log_file and os.path.exists(log_file):
      artifacts.append(log_file)

After Change


    if resources_by_target is not None:
      for _, paths in resources_by_target[compile_context.target].abs_paths():
        artifacts.extend(paths)
    target_classes = self.context.products.get_data("classes_by_target").get(compile_context.target)
    for _, classfiles in target_classes.abs_paths():
      artifacts.extend(classfiles)
    log_file = self._capture_log_file(compile_context.target)
    if log_file and os.path.exists(log_file):
      artifacts.append(log_file)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: pantsbuild/pants
Commit Name: 709597d36240d32d9047afe8d0b257518294c1ae
Time: 2015-07-09
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile_isolated_strategy.py
Class Name: JvmCompileIsolatedStrategy
Method Name: _write_to_artifact_cache


Project Name: pantsbuild/pants
Commit Name: d365f9119a105f45f60f850fc8921a811f1bc52a
Time: 2014-11-19
Author: dturner@twopensource.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py
Class Name: JvmCompile
Method Name: _write_to_artifact_cache


Project Name: pantsbuild/pants
Commit Name: e556eaa08f9c8e1be64a694d739283235d6989b0
Time: 2014-11-19
Author: dturner@twopensource.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/jvm_compile.py
Class Name: JvmCompile
Method Name: _write_to_artifact_cache