Hi Christopher,<div><br></div><div>I basically wrote a new receiver that batches together sets of single tokens into arrayTokens and passes them to the actor as an array. This of course only works for Actors capable of working with ArrayTokens. Anyway that's no the real point.</div>
<div><br></div><div>The reason I want to change the TypedIOPort is to avoid the type checking when a transferInside() call is made on input ports of composite actors. I get an exception every time a token is transfered. </div>
<div><br></div><div>One hack I tried was to switch the type of the actor whenever it had a new token to pass and then turn it back for when a put() happen to be on the correct single token type. This works when the director is a single threaded one, but on my variation of the PN director it was causing immediate deadlocks.</div>
<div><br></div><div>Cheers,</div><div>Panickos</div><div class="gmail_extra"><br clear="all">-------------------------------------<br>Panickos Neophytou<br>Advanced Data Management Technologies Lab<br>Department of Computer Science, University of Pittsburgh<br>
<a href="http://www.cs.pitt.edu/~panickos">http://www.cs.pitt.edu/~panickos</a><br>
<br><br><div class="gmail_quote">On Thu, Nov 22, 2012 at 2:31 PM, Christopher Brooks <span dir="ltr"><<a href="mailto:cxh@eecs.berkeley.edu" target="_blank">cxh@eecs.berkeley.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Panickos,<br>
What's the exception in TypedIOPort? It is probably there for a
reason.<br>
<br>
If you would like to modify TypedIOPort, I suggest working from the
devel tree. <br>
<br>
_Christopher<div><div class="h5"><br>
<br>
<div>On 11/22/12 3:49 AM, Panickos Neophytou
wrote:<br>
</div>
</div></div><blockquote type="cite"><div><div class="h5">
<div>Hi all,</div>
<div><br>
</div>
<div>I'm trying to override the TypedIOPort to avoid an exception
in my module.</div>
<div><br>
</div>
<div>I've read the instructions G4 in this: <a href="https://kepler-project.org/developers/teams/build/systems/extension-build-system/extension-build-system-problems-solutions" target="_blank">https://kepler-project.org/developers/teams/build/systems/extension-build-system/extension-build-system-problems-solutions</a></div>
<div><br>
</div>
<div>I have copied the file to my module src directory and made
the necessary changes but the when trying to run kepler either
through eclipse or the command line kepler.sh file it seems like
the original file is always being used.</div>
<div><br>
</div>
<div>Do I need to setup some configuration file? The modules.txt
is configured correctly with my module's name on top of the
kepler suite.</div>
<div><br>
</div>
<div>I'm using kepler 2.3.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Panickos</div>
<br clear="all">
-------------------------------------<br>
Panickos Neophytou<br>
Advanced Data Management Technologies Lab<br>
Department of Computer Science, University of Pittsburgh<br>
<a href="http://www.cs.pitt.edu/%7Epanickos" target="_blank">http://www.cs.pitt.edu/~panickos</a><br>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Kepler-dev mailing list
<a href="mailto:Kepler-dev@kepler-project.org" target="_blank">Kepler-dev@kepler-project.org</a>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-dev</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<pre cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: <a href="tel:510.643.9841" value="+15106439841" target="_blank">510.643.9841</a> (Office: 545Q Cory)
home: (F-Tu) <a href="tel:707.665.0131" value="+17076650131" target="_blank">707.665.0131</a> cell: <a href="tel:707.332.0670" value="+17073320670" target="_blank">707.332.0670</a> </pre>
</font></span></div>
</blockquote></div><br></div>