Building task : xml not being read properly

mohan
Posts: 1
Joined: Wed Nov 06, 2013 2:42 am

Building task : xml not being read properly

Postby mohan » Wed Nov 06, 2013 2:47 am

Hi,

I tried installing my own task in casa, which didn't work, so I tried something simpler, which had the same error, described below.

I copied imhead.xml and task_imhead.py to the directory I run casapy from, changed 'imhead' to 'myimhead' everywhere, including the file names, and then !buildtasks and run mytask.py.

Then, when I 'inp myimhead', I get

# myimhead :: List, get and put image header parameters
2013-11-06 06:46:18 WARN utils::expandparam Contraints record not set, unable to expand parameter
2013-11-06 06:46:18 WARN utils::verifyparam Contraints record not set, unable to verify parameter
imagename = '' # Name of the input image
2013-11-06 06:46:18 WARN utils::expandparam Contraints record not set, unable to expand parameter
2013-11-06 06:46:18 WARN utils::verifyparam Contraints record not set, unable to verify parameter
mode = 'summary' # myimhead options: add, del, get, history, list, put, summary
2013-11-06 06:46:18 WARN utils::expandparam Contraints record not set, unable to expand parameter
2013-11-06 06:46:18 WARN utils::verifyparam Contraints record not set, unable to verify parameter
verbose = False # Give a full listing of beams or just a short summary? Only used when the image has multiple beams and # mode="summary".
2013-11-06 06:46:18 WARN utils::expandparam Contraints record not set, unable to expand parameter
2013-11-06 06:46:18 WARN utils::verifyparam Contraints record not set, unable to verify parameter
async = False # If true the taskname must be started using myimhead(...)

Am I doing something wrong ?
Niruj

willismramage
Posts: 4
Joined: Wed Feb 10, 2016 2:11 am

Re: Building task : xml not being read properly

Postby willismramage » Wed Feb 10, 2016 2:23 am

did you inspect what gets built -Yes, inside Eclipse I have build set to automatically. Looking in the in the project folder I see java package com, META-INF folder containing persistence.xml, and resources folder which are under Webapp/target/classes.
If the war is the same -Are you referring to the Webapp.war folder found in C:\workspace.metadata.plugins\org.eclipse.wst.server.core\tmp0\Weblogic12cDomain_auto_generated_ear_\Webapp.war ? If so the only thing in there is WEB-INF\lib\jsf-impl-2.1.7.jar


Return to “CASA”

Who is online

Users browsing this forum: No registered users and 1 guest