http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5435

Christopher Brooks <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #3 from Christopher Brooks <[email protected]> 2011-06-30 
16:53:24 PDT ---
Take a look at

http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#invoking%20Ptolemy%20II?
which gives hints.  However, I ended up needing more escaping, I'll
update the faq momentarily.

ptparamx.xml worked with

$PTII/bin/ptolemy ptparamx.xml -x '\&quot\;xxx\&quot\;'

What is happening with

$PTII/bin/ptolemy ptparamx.xml -x xxx

is that the Const actor is looking for a variable named xxx.

Maybe a StringConst would be a better choice if you want to use
string values?

I agree that the escaping is a pain.  To pass parameters more easily,
use ptolemy/actor/parameters/ParameterSet.java

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
Kepler-dev mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev

Reply via email to