Bug #2685
closedconfused about the MOML file
0%
Description
I am trying to create a KAR for an actor, but can't seem to make my output port visible. I wish to have an input port and an output port. I can't seem to find any documentation on the exact specifics of how the MOML file is to be setup (the XML descriptor of the actor). Here's my XML file below:
<entity name="VorbLogger" class="ptolemy.kernel.ComponentEntity">
<property name="entityId"
value="urn:lsid:kepler-project.org:actor:508:1"
class="org.kepler.moml.NamedObjId" />
<property name="class" value="org.ROADnet.Vorb.VorbLogger"
class="ptolemy.kernel.util.StringAttribute">
<property name="id"
value="urn:lsid:kepler-project.org:class:983:1"
class="ptolemy.kernel.util.StringAttribute" />
</property>
<property name="filePath" class="org.kepler.moml.PortAttribute">
<property name="direction" value="input"
class="ptolemy.kernel.util.StringAttribute" />
<property name="dataType" value="string"
class="ptolemy.kernel.util.StringAttribute" />
<property name="isMultiport" value="false"
class="ptolemy.kernel.util.StringAttribute" />
<property name="semanticType00"
value="urn:lsid:localhost:onto:1:1#ImageManipulationActor"
class="org.kepler.sms.SemanticType" />
</property>
<property name="triggerReady"
class="org.kepler.moml.PortAttribute">
<property name="direction" value="output"
class="ptolemy.kernel.util.StringAttribute" />
<!--
<property name="dataType" value="string"
class="ptolemy.kernel.util.StringAttribute" />
-->
<property name="isMultiport" value="false"
class="ptolemy.kernel.util.StringAttribute" />
<property name="semanticType00"
value="urn:lsid:localhost:onto:1:1#ImageManipulationActor"
class="org.kepler.sms.SemanticType" />
</property>
</entity>
Updated by Chad Berkley over 17 years ago
You'll need to add the ports in your java class as well as the moml. This isn't a kepler bug.