[kepler-dev] Help on creating actor
sbowers at ucdavis.edu
Thu Aug 17 16:37:24 PDT 2006
I believe the tutorial is a bit outdated in some places now.
Probably the change you need to make is to change the element:
<property name="semanticType00" value="urn:lsid:localhost:onto:1:1#ConstantActor"
in the HelloWorld.xml file to:
<property name="semanticType00" value="urn:lsid:localhost:onto:2:1#Constant"
This is essentially adding the actor to a different underlying library,
because the old library is no longer used in the default Kepler
BTW, this is a low-level, "brute force" way to register actors with
Keplery ... and hopefully soon there will more user-friendly tools to help
with this task. If the goal is to add an actor to your local kepler
installation, you can insert the actor onto a canvas, right click on the
actor, and select "save in library", which will open a dialog for saving
the actor to various places within the library, etc.
On Fri, 18 Aug 2006 c_zhang at hotmail.com wrote:
> I'm new to Kepler and just did a fresh CVS HEAD checkout of the Ptolemy and Kepler and built them yesterday. I tried to add the HelloWorld actor following the Kepler Developers Tutorial. The LSID I used for my HelloWorld actor was 509, which was no conflict with others. "ant buildkarlib" was running successfully but the actor didn't appear either using Eclipse "Run as" or "ant run-dev".
> Can someone please help me to figure out where I was doing wrong?
More information about the Kepler-dev