cff740c5b4077bb29e4e687849b2d617a20d62f7,src/python/pants/backend/jvm/tasks/jvm_run.py,JvmRun,execute,#JvmRun#,57
Before Change
if len(binaries) > 0: // We only run the first one.
main = binaries[0].main
egroups = self.context.products.get_data("exclusives_groups")
group_key = egroups.get_group_key_for_target(binaries[0] )
group_classpath = egroups.get_classpath_for_group(group_key)
executor = CommandLineGrabber() if self.only_write_cmd_line else None
After Change
// http://jira.local.twitter.com/browse/AWESOME-1317
target_roots = self.context.target_roots
if len(target_roots) == 0:
raise TaskError("No target specified.")
elif len(target_roots) > 1:
raise TaskError("Multiple targets specified: %s" % ", ".join([repr(t) for t in target_roots]))
binary = target_roots[0]
if isinstance(binary, JvmBinary):
// We can"t throw if binary isn"t a JvmBinary, because perhaps we were called on a
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: pantsbuild/pants
Commit Name: cff740c5b4077bb29e4e687849b2d617a20d62f7
Time: 2014-06-17
Author: benjy@foursquare.com
File Name: src/python/pants/backend/jvm/tasks/jvm_run.py
Class Name: JvmRun
Method Name: execute
Project Name: pantsbuild/pants
Commit Name: a0a4eba7bf111138c9660e35e34e665961d1e720
Time: 2013-11-25
Author: benjy@foursquare.com
File Name: src/python/twitter/pants/tasks/bootstrap_utils.py
Class Name: BootstrapUtils
Method Name: get_jvm_build_tools_classpath
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