bored-art-40741
09/03/2015, 1:48 AMbored-art-40741
09/03/2015, 1:48 AM- # Compute jar -> target.
- self.context.log.debug('Mapping jars...')
- compile_classpath = self.context.products.get_data('compile_classpath')
- for jar_lib in self.context.targets(lambda t: isinstance(t, JarLibrary)):
- for _, artifact_path in compile_classpath.get_for_target(jar_lib, transitive=False):
- targets_by_file[artifact_path].add(jar_lib)
bored-art-40741
09/03/2015, 1:48 AMbored-art-40741
09/03/2015, 1:48 AM+ # Compute jar -> target.
+ self.context.log.debug('Mapping jars...')
+ compile_classpath = self.context.products.get_data('compile_classpath')
+ for jar_lib in self.context.targets(lambda t: isinstance(t, JarLibrary)):
+ for _, artifact_path in compile_classpath.get_for_target(jar_lib, transitive=False):
+ if artifact_path.endswith('.jar'):
+ for cls in self._jar_classfiles(artifact_path):
+ targets_by_file[cls].add(jar_lib)
bored-art-40741
09/03/2015, 1:48 AMbored-art-40741
09/03/2015, 1:49 AMbored-art-40741
09/03/2015, 1:49 AMwitty-crayon-22786
09/03/2015, 1:50 AMbored-art-40741
09/03/2015, 1:51 AMadventurous-twilight-44110
09/03/2015, 1:51 AMwitty-crayon-22786
09/03/2015, 1:51 AMbored-art-40741
09/03/2015, 1:51 AMbored-art-40741
09/03/2015, 1:52 AMwitty-crayon-22786
09/03/2015, 1:52 AMbored-art-40741
09/03/2015, 1:52 AMbored-art-40741
09/03/2015, 1:52 AMwitty-crayon-22786
09/03/2015, 1:53 AMbored-art-40741
09/03/2015, 1:53 AMwitty-crayon-22786
09/03/2015, 1:53 AMbored-art-40741
09/03/2015, 1:54 AMadventurous-twilight-44110
09/03/2015, 1:54 AMbored-art-40741
09/03/2015, 1:57 AMbored-art-40741
09/03/2015, 2:07 AMbored-art-40741
09/03/2015, 2:08 AMcuddly-accountant-94274
09/03/2015, 2:38 AMcuddly-accountant-94274
09/03/2015, 2:40 AMcuddly-accountant-94274
09/03/2015, 2:40 AMbored-art-40741
09/03/2015, 2:41 AMbootstrapped_binary.write(stream())
bored-art-40741
09/03/2015, 2:41 AMbored-art-40741
09/03/2015, 2:42 AM