52c5ae6120c81e17065ca0e1a71d5af0f3853080,src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py,RscCompile,register_extra_products_from_contexts,#RscCompile#Any#Any#,188
Before Change
for root, dirs, files in os.walk(rsc_cc.rsc_index_dir):
found_files.update(os.path.join(root, f) for f in files)
for f in found_files:
self._metacp_jars_classpath_product.add_for_target(
rsc_cc.target, [(conf, f) for conf in self._confs])
else:
pass
def _metacpable(self, target):
After Change
elements_in_index_dir = [os.path.join(rsc_cc.rsc_index_dir, s)
for s in os.listdir(rsc_cc.rsc_index_dir)]
entries = to_classpath_entries(elements_in_index_dir, self.context._scheduler)
self._metacp_jars_classpath_product.add_for_target(
rsc_cc.target, confify(entries))
else:
pass
def _metacpable(self, target):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 52c5ae6120c81e17065ca0e1a71d5af0f3853080
Time: 2018-11-16
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py
Class Name: RscCompile
Method Name: register_extra_products_from_contexts
Project Name: pantsbuild/pants
Commit Name: 1dd8207434f24b6d10685188c52ef5840c4b34bb
Time: 2019-02-27
Author: nh@baroquebobcat.com
File Name: src/python/pants/backend/jvm/tasks/jvm_compile/rsc/rsc_compile.py
Class Name: RscCompile
Method Name: register_extra_products_from_contexts
Project Name: pantsbuild/pants
Commit Name: beaa80565f1b1ee25a71a28e83b2863df876825d
Time: 2017-10-26
Author: stuhood@twitter.com
File Name: src/python/pants/backend/jvm/tasks/provide_tools_jar.py
Class Name: ProvideToolsJar
Method Name: execute