272e8e62d42aefa3d2547ae9108858ffb7c2d172,src/python/pants/backend/jvm/tasks/bundle_create.py,BundleCreate,bundle,#BundleCreate#Any#Any#,167

Before Change


          fileset_empty = False

      if fileset_empty:
        raise TaskError("In target {}, bundle index {} of "bundles" field does not match any files.".format(
          app.address.spec, bundle_counter))

    return bundle_dir

After Change


        os.symlink(path, bundle_path)

      if file_count == 0 and dir_count == 0:
        raise TargetDefinitionException(app.target,
                                        "Bundle index {} of "bundles" field "
                                        "does not match any files.".format(bundle_counter))

      if dir_count == 1 and file_count == 0:
        // When this deprecation finishes, we should remove symlinking of directories into the
        // bundle (which implicitly includes their contents), and instead create them using mkdir.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: pantsbuild/pants
Commit Name: 272e8e62d42aefa3d2547ae9108858ffb7c2d172
Time: 2017-05-25
Author: stuhood@twitter.com
File Name: src/python/pants/backend/jvm/tasks/bundle_create.py
Class Name: BundleCreate
Method Name: bundle


Project Name: pantsbuild/pants
Commit Name: e56d7ae3c210d96d8a683e1379945cdb3b0a8373
Time: 2014-07-24
Author: mateorod9@gmail.com
File Name: src/python/pants/backend/android/targets/android_target.py
Class Name: AndroidTarget
Method Name: __init__


Project Name: pantsbuild/pants
Commit Name: 1ed9dd5b11564a51dc8191ae4f2417dcbec4e105
Time: 2016-04-15
Author: garrett.malmquist@gmail.com
File Name: src/python/pants/backend/jvm/targets/credentials.py
Class Name: LiteralCredentials
Method Name: __init__


Project Name: pantsbuild/pants
Commit Name: 272e8e62d42aefa3d2547ae9108858ffb7c2d172
Time: 2017-05-25
Author: stuhood@twitter.com
File Name: src/python/pants/backend/jvm/tasks/bundle_create.py
Class Name: BundleCreate
Method Name: bundle