Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-13 Thread Kevin Williams
Well Mike, you broke a working test! :-) I tried your suggestion and initializing the property via the component type file does not seem to work. I opened T-2390. --Kevin On Thu, Jun 12, 2008 at 4:12 PM, Mike Edwards <[EMAIL PROTECTED]> wrote: > Raymond Feng wrote: >> >> Hi, >> >> I just make t

Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Mike Edwards
Raymond Feng wrote: Hi, I just make the protected field injectable. :-) Thanks, Raymond Folks, Unless I've got the wrong end of the stick, you should be able to derive a test to check that the property declaration from the componentType file IS being used, by setting a default value for the

Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Raymond Feng
Hi, I just make the protected field injectable. :-) Thanks, Raymond -- From: "Scott Kurz" <[EMAIL PROTECTED]> Sent: Thursday, June 12, 2008 1:08 PM To: Subject: Re: [jira] Commented: (TUSCANY-2383) Cannot define component propert

Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Scott Kurz
d or setter. > > See TUSCANY-2289 too. > > I just fixed it by not checking if the field is public. > > Thanks, > Raymond > > -- > From: "Kevin Williams" <[EMAIL PROTECTED]> > Sent: Thursday, June 12, 2008 1

Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Raymond Feng
mmented: (TUSCANY-2383) Cannot define component property with Component Type File I may not fully understand your comment but it seems inconsistent to support the provision of component type information via a type file for service and reference elements but not for property elements. In th

Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Kevin Williams
I may not fully understand your comment but it seems inconsistent to support the provision of component type information via a type file for service and reference elements but not for property elements. In the test I have only removed the @Property annotation from the java implementation and repla

Re: [jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Scott Kurz
>From another angle, does any spec disallow us from viewing all public setters on a Java impl as properties? It does say an @Property denotes a property but seems to allow that the converse isn't true. So, while creating a rule that such a property with a setter but no @Property must be listed in

[jira] Commented: (TUSCANY-2383) Cannot define component property with Component Type File

2008-06-12 Thread Raymond Feng (JIRA)
[ https://issues.apache.org/jira/browse/TUSCANY-2383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12604572#action_12604572 ] Raymond Feng commented on TUSCANY-2383: --- If the component is implemented in java, I