Module ImportFrom alias alias alias alias alias alias alias Import alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Expr Str Raise Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body With Call AttributeLoad NameLoad attr NameStore body With Call AttributeLoad NameLoad attr NameStore body With Call NameLoad NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad Str With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str NameLoad Call AttributeLoad Str attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Str Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad Str attr keyword NameLoad Assign NameStore ListLoad Str Str Assign NameStore ListComp Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameLoad comprehension NameStore NameLoad With Call NameLoad NameStore body Assign NameStore ListLoad Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad keyword NameLoad keyword ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list
N/A __future__ absolute_import division generators nested_scopes print_function unicode_literals with_statement N/A os textwrap dedent pants.util.contextutil temporary_dir ResolveJarsTestMixin N/A object N/A N/A Mixin for evaluating tasks which resolve their own source and javadoc jars (such as Export). evaluate_subtask N/A N/A self targets workdir load_extra_confs extra_args expected_jars N/A N/A N/A Evaluate the underlying task with the given target specs.

    :param targets: the list of targets.
    :param string workdir: the working directory to execute in.
    :param bool load_extra_confs: whether to attempt to download sources and javadocs.
    :param list extra_args: extra args to pass to the task.
    :param list expected_jars: list of jars that were expected to be resolved.
     N/A N/A NotImplementedError N/A _test_jar_lib_with_url N/A N/A self load_all N/A N/A N/A N/A N/A self temporary_workdir workdir N/A N/A N/A N/A self temporary_sourcedir source_dir N/A N/A N/A temporary_dir dist_dir N/A N/A N/A N/A os makedirs N/A N/A N/A os path join source_dir src N/A N/A open N/A N/A N/A os path join source_dir src BUILD.one w+ f N/A N/A N/A N/A f write N/A dedent 
              jvm_binary(name='synthetic',
                source='Main.java',
              )
             N/A N/A open N/A N/A N/A os path join source_dir src Main.java w+ f N/A N/A N/A N/A f write N/A dedent 
              public class Main {
                public static void main(String[] args) {
                  System.out.println("Hello.");
                }
              }
             N/A N/A open N/A N/A N/A os path join source_dir src Foo.java w+ f N/A N/A N/A N/A f write N/A dedent 
              public class Foo {
                public static void main(String[] args) {
                  Main.main(args);
                }
              }
             N/A binary_target N/A N/A {}:synthetic format N/A N/A N/A os path join source_dir src N/A pants_run N/A N/A self run_pants_with_workdir N/A binary binary_target N/A N/A --pants-distdir={} format dist_dir workdir N/A N/A N/A self assert_success pants_run N/A jar_path N/A N/A N/A os path realpath N/A N/A N/A os path join dist_dir synthetic.jar N/A N/A N/A self assertTrue N/A N/A N/A os path exists jar_path Synthetic binary was not created! N/A jar_url N/A N/A file://{} format N/A N/A N/A os path abspath jar_path N/A N/A open N/A N/A N/A os path join source_dir src BUILD.two w+ f N/A N/A N/A N/A f write N/A N/A N/A dedent 
              jar_library(name='lib_with_url',
                jars=[
                  jar(org='org.pantsbuild', name='synthetic-test-jar', rev='1.2.3',
                  url='{jar_url}')
                ],
              )

              java_library(name='src',
                sources=['Foo.java'],
                dependencies=[':lib_with_url'],
              )
             format jar_url jar_url N/A spec_names N/A lib_with_url src N/A targets N/A N/A N/A {0}:{1} format N/A N/A N/A os path join source_dir src name N/A name spec_names N/A N/A temporary_dir ivy_temp_dir N/A N/A extra_args N/A N/A N/A --ivy-cache-dir={} format ivy_temp_dir N/A N/A N/A self evaluate_subtask targets workdir load_all extra_args extra_args expected_jars N/A org.pantsbuild:synthetic-test-jar:1.2.3 N/A test_jar_lib_with_url_resolve_default N/A N/A self N/A N/A N/A N/A N/A self _test_jar_lib_with_url False N/A test_jar_lib_with_url_resolve_all N/A N/A self N/A N/A N/A N/A N/A self _test_jar_lib_with_url True N/A N/A