Commits
Darrell Schiebel authored 4e33d4863d0
469 469 | moduledir = os.path.join(libdir,"casatasks") |
470 470 | xmldir = os.path.join(moduledir,"__xml__") |
471 471 | |
472 472 | copy_tree('src',moduledir) |
473 473 | |
474 474 | print("generating task python files...") |
475 475 | if tools_config is not None: |
476 476 | proc = Popen( [tools_config['build.compiler.xml-casa'], "output-task=%s" % moduledir, "-task"] + xml_files, |
477 477 | stdout=subprocess.PIPE ) |
478 478 | else: |
479 - | xml_jar_file = 'xml-casa-assembly-1.80.jar' |
479 + | xml_jar_file = 'xml-casa-assembly-1.82.jar' |
480 480 | xml_jar_url = 'http://casa.nrao.edu/download/devel/xml-casa/java/%s' % xml_jar_file |
481 481 | xml_jar_path = os.path.abspath(os.path.join( 'java', xml_jar_file)) |
482 482 | self.xml_jar_fetch(xml_jar_path, xml_jar_url) |
483 483 | proc = Popen(['java', '-jar', xml_jar_path, '-task', 'output-task=%s' % moduledir] + xml_files, stdout=subprocess.PIPE) |
484 484 | |
485 485 | (output, error) = pipe_decode(proc.communicate( )) |
486 486 | |
487 487 | exit_code = proc.wait( ) |
488 488 | |
489 489 | if exit_code != 0: |