Project

General

Profile

Bug #2685

confused about the MOML file

Added by jordan jordan over 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
actors
Target version:
Start date:
11/28/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2685

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>

History

#1 Updated by Chad Berkley about 12 years ago

You'll need to add the ports in your java class as well as the moml. This isn't a kepler bug.

#2 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 2685

Also available in: Atom PDF