[ http://issues.apache.org/jira/browse/TUSCANY-729?page=all ]
Venkatakrishnan updated TUSCANY-729: ------------------------------------ Attachment: Tuscany-kernel-core-Sept-18.diff Tuscany-Ruby-Container-Update-Sept-18.diff Hi Here is a patch that enables Ruby scripts to call out component references and use component properties. I have had to hack a bit with the PropertyLoader and I have attached a patch to this effect. It is to do with the creation of Property objects. The Property objects do not have the java type set as a result of which there is a NPE when the ComponentLoader creates PropertyValues. The fix I have provides suits the testcase I have put in place and is not scalable. However if the community feels that the approach I have taken is fine then I can fill in futher. The existing testcase, ruby script and application scdl have been modified for including properties and references. Please let me know if this is ok. Thanks. > Improve Ruby Container for supporting references and properties > --------------------------------------------------------------- > > Key: TUSCANY-729 > URL: http://issues.apache.org/jira/browse/TUSCANY-729 > Project: Tuscany > Issue Type: Sub-task > Reporter: Venkatakrishnan > Attachments: Tuscany-kernel-core-Sept-18.diff, > Tuscany-Ruby-Container-Update-Sept-18.diff > > -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]