[kepler-dev] [Bug 3593] - exporting an actor to kar does not save portparameters that have been defined

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Fri May 1 15:21:01 PDT 2009


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





------- Comment #2 from barseghian at nceas.ucsb.edu  2009-05-01 15:21 -------
I note that when I set a portparameter in an actor within a composite, and then
export the composite, the value is saved in the moml...I'll see if I can do
something similar.

Side-note: In the composite moml I notice it's referred to twice, once as a
PortParameter and once as a ParameterPort - is that how it should be?

<entity name="DataTurbine" class="org.kepler.data.datasource.rbnb.DataTurbine">
...
 <property name="Start Time (for Request or Subscribe modes)"
class="ptolemy.actor.parameters.PortParameter" value="&quot;2008-01-01
11:11:11&quot;">

and

<port name="Start Time (for Request or Subscribe modes)"
class="ptolemy.actor.parameters.ParameterPort">
        <property name="input"/>
        <property name="_cardinal" class="ptolemy.kernel.util.StringAttribute"
value="NORTH">
        </property>
    </port>


More information about the Kepler-dev mailing list