bored-art-40741
08/27/2015, 7:24 PMbored-art-40741
08/27/2015, 7:24 PM_deps_by_caller
ref graph, but not adding them to modules_by_ref
or _artifacts_by_ref
bored-art-40741
08/27/2015, 7:25 PMbored-art-40741
08/27/2015, 7:25 PMmodule
could have multiple artifacts, which also meant that it could legitimately have empty artifactswitty-crayon-22786
08/27/2015, 7:43 PMwitty-crayon-22786
08/27/2015, 7:43 PMbored-art-40741
08/27/2015, 7:44 PMbored-art-40741
08/27/2015, 7:44 PMwitty-crayon-22786
08/27/2015, 7:44 PMbored-art-40741
08/27/2015, 7:45 PMivy_jar_products
bored-art-40741
08/27/2015, 7:45 PMbored-art-40741
08/27/2015, 7:45 PMwitty-crayon-22786
08/27/2015, 7:45 PMbored-art-40741
08/27/2015, 7:45 PMivy_jar_products
wasn't needed downstream I wouldn't have to populate it at all from our resolver -- which already populates compile_classpath
properly anywaywitty-crayon-22786
08/27/2015, 7:46 PMbored-art-40741
08/27/2015, 7:46 PMdef _populate_compile_classpath(self):
products = self.context.products
compile_classpath = products.get_data('compile_classpath', UnionProducts)
for target in self.context.targets(predicate=lambda t: t in self.all_jar_libs):
artifact_paths = []
for coord in self.target_to_maven_coordinate_closure[target.id]:
for artifact in self.maven_coordinate_to_provided_artifacts[coord]:
artifact_paths.append(os.path.join(self.artifact_symlink_dir, artifact.artifact_path))
compile_classpath.add_for_target(target, [('default', entry) for entry in artifact_paths])
bored-art-40741
08/27/2015, 7:46 PMivy_jar_products
ancient-stone-50795
08/27/2015, 7:47 PMivy_jar_products
. It used to contain IvyArtifact instances, now it contains stringsancient-stone-50795
08/27/2015, 7:47 PMbored-art-40741
08/27/2015, 7:47 PMbored-art-40741
08/27/2015, 7:47 PMbored-art-40741
08/27/2015, 7:51 PMcompile_classpath
productbored-art-40741
08/27/2015, 7:51 PMwitty-crayon-22786
08/27/2015, 9:41 PMwitty-crayon-22786
08/27/2015, 9:41 PMwitty-crayon-22786
08/27/2015, 9:41 PMbillowy-alarm-80641
08/27/2015, 9:51 PM./pants test examples/tests/java/org/pantsbuild/example/hello/greet --no-test-junit-suppress-output --test-junit-test=org.pantsbuild.example.hello.greet.GreetingTest_THIS_CLASS_DOESNT_EXIST
billowy-alarm-80641
08/27/2015, 9:51 PMbillowy-alarm-80641
08/27/2015, 9:51 PMwitty-crayon-22786
08/27/2015, 9:57 PM