[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
Mon May 4 12:02:33 PDT 2009


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





------- Comment #4 from barseghian at nceas.ucsb.edu  2009-05-04 12:02 -------
This dates back to kommineni, r12215: "addAttribute method has been changed to
eliminate duplicate entries in moml file ...".

With my fix in place, things fine for me, but we do refer to the PortParameter
three times now in moml, instead of the usual two. I don't think this is the
"duplication" originally referred to, but let me know if you see any problems.
E.g.:


<property name="kepler:Duration (for Request or Subscribe modes)"
class="org.kepler.moml.PortAttribute">
  <property name="direction" value="input"
class="ptolemy.kernel.util.StringAttribute"/>
  <property name="dataType" value="unknown"
class="ptolemy.kernel.util.StringAttribute"/>
  <property name="isMultiport" value="false"
class="ptolemy.kernel.util.StringAttribute"/>
  </property>

[snip]

<property name="Duration (for Request or Subscribe modes)"
class="ptolemy.actor.parameters.PortParameter" value="&quot;11111&quot;">
</property>

[snip]

<property name="prop:Duration (for Request or Subscribe modes)"
class="ptolemy.kernel.util.ConfigurableAttribute"><configure>The duration of
the request. Unit is seconds unless fetchByFrame is set.</configure></property>


More information about the Kepler-dev mailing list