Commits

Darrell Schiebel authored 483d76a84eb
log task end to log after an exception occurs [CAS-14150]

casatasks/setup.py

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

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut