3553fd8dd597907c39c4b840ba9cc15e2ec61428,src/python/pants/backend/jvm/targets/jvm_binary.py,Bundle,add,#Bundle#,366
Before Change
else [fileset]
for path in paths:
abspath = path
if not os.path.isabs(abspath):
abspath = os.path.join(get_buildroot(), self._rel_path, path)
if not os.path.exists(abspath):
raise ValueError("Given path: %s with absolute path: %s which does not exist"
% (path, abspath))
self.filemap[abspath] = self.mapper(abspath)
After Change
Add files to the bundle, where ``filesets`` is a filename, ``globs``, or ``rglobs``.
add() may be specified any number of times.
return self._add(filesets)
def _add(self, filesets):
for fileset in filesets:
paths = fileset() if isinstance(fileset, Fileset) \
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 8
Instances Project Name: pantsbuild/pants
Commit Name: 3553fd8dd597907c39c4b840ba9cc15e2ec61428
Time: 2015-02-25
Author: dturner@twopensource.com
File Name: src/python/pants/backend/jvm/targets/jvm_binary.py
Class Name: Bundle
Method Name: add
Project Name: pantsbuild/pants
Commit Name: 6d72a3345b1ba2ef9982c61ca6a6ea07c49bbaa1
Time: 2018-12-20
Author: tyurina.katty@yandex.ru
File Name: src/python/pants/build_graph/app_base.py
Class Name: BundleProps
Method Name: filemap
Project Name: pantsbuild/pants
Commit Name: f28482ca5dd87f981de73ba8cb47def171e754f3
Time: 2016-08-09
Author: yujieproject@gmail.com
File Name: src/python/pants/backend/jvm/targets/jvm_app.py
Class Name: BundleProps
Method Name: create_bundle_props