[kepler-dev] [Bug 2459] - Need for actor/attribute that detects OS/executables
bugzilla-daemon at ecoinformatics.org
Thu Jun 15 11:31:33 PDT 2006
------- Comment #1 from cxh at eecs.berkeley.edu 2006-06-15 11:31 -------
I'll bet we could use the expression syntax to get properties and then
invoke ThrowModelError if things aren't right.
See also $PTII/ptolemy/kernel/attributes/RequireVersion.java for
how we require a specific version of Java.
Perhaps this could be extended to have a parameter that takes an expression
that must evaluate to true. We might use something like
getProperty("java.whatever")== "Windoze" || findFile("MyBinary")
(The syntax is probably off)
More information about the Kepler-dev