Commits
Darrell Schiebel authored b6a192bea74
87 87 | ( $proto_shutdown_dir, $proto_shutdown_name ) = ($proto_shutdown); |
88 88 | if ( ! $proto_img ) { die "no img proto specified" }; |
89 89 | ( $proto_img_dir, $proto_img_name ) = ($proto_img); |
90 90 | if ( ! $proto_ping ) { die "no ping proto specified" }; |
91 91 | ( $proto_ping_dir, $proto_ping_name ) = ($proto_ping); |
92 92 | |
93 93 | open( $xml_query, "python3 -m casatools --compiler-xml 2> /dev/null |" ); |
94 94 | chomp( $xml_compiler = <$xml_query> ); |
95 95 | close( $xml_query ); |
96 96 | |
97 - | @xml_files = ( 'casa-source/gcwrap/tasks/imview.xml', |
98 - | 'casa-source/gcwrap/tasks/msview.xml' ); |
97 + | @xml_files = ( 'casa-source/casa5/gcwrap/tasks/imview.xml', |
98 + | 'casa-source/casa5/gcwrap/tasks/msview.xml' ); |
99 99 | print("generating task wrappers...\n"); |
100 100 | open( $xml, "$xml_compiler -task output-task=$prefix @xml_files 2>&1 |" ) or die "could not compile task xml files"; |
101 101 | foreach ( <$xml> ) { |
102 102 | print("\t<xml> $_"); |
103 103 | } |
104 104 | close($xml); |
105 105 | print("generating gotask wrappers...\n"); |
106 106 | "$prefix/gotasks"); | (
107 107 | $stamp = ("%F %H:%M:%S", localtime); |
108 108 | open( $init, "> $prefix/gotasks/__init__.py" ); |