[jira] Updated: (TUSCANY-729) Improve Ruby Container for supporting references and properties
[ http://issues.apache.org/jira/browse/TUSCANY-729?page=all ] ant elder updated TUSCANY-729: -- Fix Version/s: Java-M2 Affects Version/s: Java-M2 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 Affects Versions: Java-M2 Reporter: Venkatakrishnan Fix For: Java-M2 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]
[jira] Updated: (TUSCANY-729) Improve Ruby Container for supporting references and properties
[ 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]
Re: [jira] Updated: (TUSCANY-729) Improve Ruby Container for supporting references and properties
I agree that support for Properties needs to be completed/fixed properly. But thats a separate piece of work so i'd like to just commit this temporary fix for now to get simple string properties working so we can finish up this work on all the script containers, and i'll raise a JIRA for completing the property support work item properly. ...ant On 9/18/06, Venkatakrishnan (JIRA) tuscany-dev@ws.apache.org wrote: [ 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]