[kepler-dev] Ptoelmy Port and Parameter names should match the Java variable names + Mail actor.

Gongjing Cao gongjing.cao at gmail.com
Tue Feb 8 16:27:43 PST 2011


Hi, Christopher,

Thanks for the reminder. Do you mean they have to be exact the same?

"Cloning", do you mean the regular java cloning?

Thanks for letting me know there is another mail actor.

Best,
Gongjing




On Tue, Feb 8, 2011 at 3:12 PM, Christopher Brooks <cxh at eecs.berkeley.edu>wrote:

> Hi Gongjing,
>
> BTW - If the parameter names do not match name of the variable,
> then cloning the actor will fail.
>
> Cloning occurs when Actor Oriented Classes are used.
>
> Also, there is newish mail actor in the Ptolemy II tree at
> ptolemy.actor.lib.mail.SendMail.java
> To try out the actor, use
> Tools -> Instantiate Component
>
> _Christopher
>
> On 2/8/11 3:04 PM, gongjing at ecoinformatics.org wrote:
>
>> Author: gongjing
>> Date: 2011-02-08 15:04:26 -0800 (Tue, 08 Feb 2011)
>> New Revision: 27048
>>
>> Modified:
>>    trunk/modules/koogle/src/org/kepler/actor/util/MailSender.java
>> Log:
>> typo
>>
>> Modified: trunk/modules/koogle/src/org/kepler/actor/util/MailSender.java
>> ===================================================================
>> --- trunk/modules/koogle/src/org/kepler/actor/util/MailSender.java
>>  2011-02-08 22:54:36 UTC (rev 27047)
>> +++ trunk/modules/koogle/src/org/kepler/actor/util/MailSender.java
>>  2011-02-08 23:04:26 UTC (rev 27048)
>> @@ -55,7 +55,7 @@
>>          authTokenPParameter.setStringMode(true);
>>          tokenSecretPParameter = new PortParameter(this, "Token Secret");
>>          tokenSecretPParameter.setStringMode(true);
>> -        fromEmailPParameter = new PortParameter(this, "From Emial");
>> +        fromEmailPParameter = new PortParameter(this, "From Email");
>>          fromEmailPParameter.setStringMode(true);
>>          toEmailPParameter = new PortParameter(this, "To Emails");
>>          toEmailPParameter.setStringMode(true);
>>
>> _______________________________________________
>> Kepler-cvs mailing list
>> Kepler-cvs at kepler-project.org
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-cvs
>>
>
> --
> Christopher Brooks, PMP                       University of California
> CHESS Executive Director                      US Mail: 337 Cory Hall
> Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
> ph: <+15106439841>510.643.9841 <+15106439841>
>      (Office: 545Q Cory)
> home: (F-Tu) <+17076650131>707.665.0131 <+17076650131> cell:
> <+17073320670>707.332.0670 <+17073320670>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-dev/attachments/20110208/f5affa47/attachment.html>


More information about the Kepler-dev mailing list