<html>
<head>
<style>
body {
  font-family: Verdana, sans-serif;
  font-size: 0.8em;
  color:#484848;
}
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
h1 { font-size: 1.2em; }
h2, h3 { font-size: 1.1em; }
a, a:link, a:visited { color: #2A5685;}
a:hover, a:active { color: #c61a1a; }
a.wiki-anchor { display: none; }
hr {
  width: 100%;
  height: 1px;
  background: #ccc;
  border: 0;
}
.footer {
  font-size: 0.8em;
  font-style: italic;
}
</style>
</head>
<body>
<span class="header"></span>
Issue #6102 has been reported by Matt Jones.
<hr />
<h1><a href="https://projects.ecoinformatics.org/ecoinfo/issues/6102">Bug #6102: actor classes not saved properly in KAR files</a></h1>

<ul>
<li>Author: Matt Jones</li>
<li>Status: New</li>
<li>Priority: Normal</li>
<li>Assignee: Derik Barseghian</li>
<li>Category: core</li>
<li>Target version: </li>
  <li>Bugzilla-Id: </li>
</ul>

<p>Kenneth Jones <a class="email" href="mailto:kennethjone@gmail.com">kennethjone@gmail.com</a> reported:<br />In Ptolemy II it is possible to use Vergil to convert a component into a class, save the class, and use it (instantiate or subclass it) in other workflows in the future.  The Kepler GUI seems to have the ability to convert a component to a class and, in the workflow in which you created the class, create instances or subclasses of it, but I don't see a way to save the class, so it can be used in other workflows in the future (In Vergil there is a "save submodel only" checkbox in the File/Save dialog).  Can classes be saved and reused in Kepler?  If so, how?<br />------------</p>


        <p>I verified this by creating a class and then attempting to save that class in a KAR file.  The KAR file gets created, but does not contain the class.  Attempting to open the saved KAR file produces an error in Kepler saying it can not me opened.  The contents of the KAR file show it clearly is missing the class file, as all it contains is the manifest file:</p>


        <p><code>$ jar tvf MyRampTestClass.kar <br />   714 Wed Sep 25 11:41:54 AKDT 2013 META-INF/MANIFEST.MF<br /></code></p>


<hr />
<span class="footer"><p>You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="https://projects.ecoinformatics.org/ecoinfo/my/account">https://projects.ecoinformatics.org/ecoinfo/my/account</a></p></span>
</body>
</html>