Bug #5589


Add missing ptolemy actors to library

Added by Derik Barseghian about 12 years ago. Updated almost 12 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


We should look through ptolemy's source and add Kepler library representations for any actors we don't already display and that will work in Kepler. Today the need for some of the Matrix actors came up, and they're two years old, so I suspect there are a number of ptolemy actors we should add. -createActorXML can be used.
We could probably issue a patch to the actors module.


missing-actors.txt (32.1 KB) missing-actors.txt Daniel Crawl, 07/02/2012 03:27 PM
missingActors.txt (41.1 KB) missingActors.txt Christopher Brooks, 07/20/2012 10:50 AM
Actions #2

Updated by Daniel Crawl about 12 years ago

I added a new ant target, "find-missing-actors", to list the files of actors, directors, and parameters not in the actor tree, and attached the output to this bug. Christopher, if you tell me what can be added to Kepler, I'll create the metadata files so they appear in the actor tree. Many of the Ptolemy files belong to domains not currently present in Kepler, e.g., SR, Rendezvous, Taskpt, etc. If these are not available in Kepler, then it would be good to update build-area/settings/ptolemy-excludes.

Actions #3

Updated by Christopher Brooks almost 12 years ago

The list did not include attributes in vergil/actor/lib?

There are some actors that are listed that are base classes for actors
that are already included.

Actions #4

Updated by Daniel Crawl almost 12 years ago

Thanks, Christopher! I added most of the actors and attributes on the list. I also updated ptolemy-excludes.

I couldn't create kar entries for some of the actors because clone() threw an NPE:

[null] java.lang.NullPointerException
[null] at
[null] java.lang.NullPointerException
[null] at
[null] java.lang.NullPointerException
[null] at
Actions #5

Updated by Christopher Brooks almost 12 years ago

I added a test that, for each configuration, instantiates an actor and then
calls clone on the actor.

I fixed clone(Workspace) in ptolemy/actor/lib/
and ptolemy/actor/lib/

Actions #6

Updated by Daniel Crawl almost 12 years ago

Thanks again, Christopher. After your fix, I was able to add entries for ComputeHistogram, RecursiveLattice, VariableRecursiveLattice, Lattice, and VariableLattice.

Actions #7

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5589


Also available in: Atom PDF