83104a088155cb5c17a9840905abb35c7f2ab75d,src/python/pants/backend/jvm/targets/jvm_app.py,Bundle,__call__,#Bundle#Any#Any#Any#Any#,127
Before Change
filenames, or a Fileset object (e.g. globs()).
E.g., ``relative_to="common"`` removes that prefix from all files in the application bundle.
deprecated_conditional(lambda: fileset is None,
"1.2.0",
"bare bundle() without `fileset=` param",
"Pass the `fileset=` parameter: `bundle(fileset=globs("*.config")`")
if mapper and relative_to:
raise ValueError("Must specify exactly one of "mapper" or "relative_to"")
After Change
filenames, or a Fileset object (e.g. globs()).
E.g., ``relative_to="common"`` removes that prefix from all files in the application bundle.
if fileset is None:
raise ValueError("In {}:\n Bare bundle() declarations without a `fileset=` parameter "
"are no longer supported.".format(self._rel_path))
if mapper and relative_to:
raise ValueError("Must specify exactly one of "mapper" or "relative_to"")
if rel_path and isinstance(fileset, FilesetWithSpec):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pantsbuild/pants
Commit Name: 83104a088155cb5c17a9840905abb35c7f2ab75d
Time: 2016-07-18
Author: stuhood@gmail.com
File Name: src/python/pants/backend/jvm/targets/jvm_app.py
Class Name: Bundle
Method Name: __call__
Project Name: pantsbuild/pants
Commit Name: 83104a088155cb5c17a9840905abb35c7f2ab75d
Time: 2016-07-18
Author: stuhood@gmail.com
File Name: src/python/pants/option/optionable.py
Class Name: Optionable
Method Name: validate_scope_name_component
Project Name: pantsbuild/pants
Commit Name: 0349078b01ed693223d0c4a65c8a9b8aafe115bc
Time: 2017-05-26
Author: stuhood@twitter.com
File Name: src/python/pants/backend/jvm/tasks/bundle_create.py
Class Name: BundleCreate
Method Name: bundle