<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
There is not much difference in the execution. The difference is in
the look and feel.<br>
<br>
ptolemy.moml.MoMLCommandLineApplication extends
ptolemy.moml.MoMLSimpleApplication.<br>
<br>
See
<a class="moz-txt-link-freetext" href="http://sisyphus.eecs.berkeley.edu:8079/hudson/job/ptII/javadoc/ptolemy/moml/MoMLCommandLineApplication.html">http://sisyphus.eecs.berkeley.edu:8079/hudson/job/ptII/javadoc/ptolemy/moml/MoMLCommandLineApplication.html</a><br>
<br>
org.kepler.KeplerConfiguration extends
ptolemy.actor.gui.Configuration and uses Ptolemy configurations to
define what actors are available in a UI and the look and feel of
the run control panel.<br>
See
<a class="moz-txt-link-freetext" href="http://sisyphus.eecs.berkeley.edu:8079/hudson/job/kepler/javadoc/org/kepler/KeplerConfigurationApplication.html">http://sisyphus.eecs.berkeley.edu:8079/hudson/job/kepler/javadoc/org/kepler/KeplerConfigurationApplication.html</a><br>
<br>
So, the two classes have different parent class hierarchies.<br>
<br>
MoMLCommandLineApplication is better for non-graphical models,
KeplerConfiguration is better for graphical applications.<br>
<br>
For information about invoking Ptolemy and configurations, see
<a class="moz-txt-link-freetext" href="http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#invoking%20Ptolemy%20II">http://ptolemy.eecs.berkeley.edu/ptolemyII/ptIIfaq.htm#invoking%20Ptolemy%20II</a>?<br>
<br>
_Christopher.<br>
<br>
<div class="moz-cite-prefix">On 4/25/13 12:51 AM, Yogini Joshi
wrote:<br>
</div>
<blockquote
cite="mid:741CEB36EC28BA419CD6CDF3B8BB3146072363B2@HJ-MBX1.persistent.co.in"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:10.0pt">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">My existing
project is using below command ,
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Kepler </span><span
style="font-size:10.0pt;font-family:"Segoe
UI","sans-serif";color:black">-runwf -nogui
-redirectgui dir -nocache -noilwc workflow.xml</span><span
style="font-size:10.0pt;font-family:"Times New
Roman","serif""><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Which
initializes “</span><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">ptolemy.moml.MoMLCommandLineApplication”
. Therefore the call is blocking means it will return only
when workflow execution is finished. <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">However if I change the command with
no cache as below,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Kepler </span><span
style="font-size:10.0pt;font-family:"Segoe
UI","sans-serif";color:black">-runwf -nogui
-redirectgui dir -noilwc workflow.xml<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Segoe
UI","sans-serif";color:black">It will
</span><span style="font-size:10.0pt;font-family:"Courier
New";color:black">call
“org.kepler.KeplerConfigurationApplication". This is non
blocking as it will spawn new thread for each model and
return.
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">My query if I choose second approach
ie using org.kepler.KeplerConfigurationApplication
instance, then is there any difference in the workflow
execution behavior. If so can you please describe in detail
the difference in both these flows.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:"Courier
New";color:black">Yogini<o:p></o:p></span></p>
</div>
<p>DISCLAIMER
==========
This e-mail may contain privileged and confidential information
which is the property of Persistent Systems Ltd. It is intended
only for the use of the individual or entity to which it is
addressed. If you are not the intended recipient, you are not
authorized to read, retain, copy, print, distribute or use this
message. If you have received this communication in error,
please notify the sender and delete all copies of this message.
Persistent Systems Ltd. does not accept any liability for virus
infected mails.</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-dev@kepler-project.org">Kepler-dev@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
Academic Program Manager & Software Engineer US Mail: 337 Cory Hall
CHESS/iCyPhy/Ptolemy/TerraSwarm Berkeley, CA 94720-1774
<a class="moz-txt-link-abbreviated" href="mailto:cxh@eecs.berkeley.edu">cxh@eecs.berkeley.edu</a>, 707.332.0670 (Office: 545Q Cory)
</pre>
</body>
</html>