You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Andrew Borley <aj...@gmail.com> on 2006/09/13 23:16:21 UTC
[C++] Component properties failure
Hi all,
Is anyone else finding that loading composites containing component
properties is failing at the moment?
On my system I have a sample.calculator.composite file with the following:
<component name="CalculatorComponent">
<implementation.cpp library="Calculator" header="CalculatorImpl.h"/>
<reference
name="divideService">DivideComponent/DivideService</reference>
<property name="round">true</property>
</component>
But when I try to run the normal calculator client I get:
SystemConfigurationException raised: Undefined property: round
being thrown from the Component::setProperty() method.
Does anyone else see this? Am I doing something wrong?
Cheers
Andy
Re: [C++] Component properties failure
Posted by Andrew Borley <aj...@gmail.com>.
Ah. My mistake :-)
Sorted now - thanks for the pointer!
Andy
On 9/13/06, Jean-Sebastien Delfino <js...@apache.org> wrote:
> Andrew Borley wrote:
> > Hi all,
> >
> > Is anyone else finding that loading composites containing component
> > properties is failing at the moment?
> > On my system I have a sample.calculator.composite file with the
> > following:
> > <component name="CalculatorComponent">
> > <implementation.cpp library="Calculator"
> > header="CalculatorImpl.h"/>
> > <reference
> > name="divideService">DivideComponent/DivideService</reference>
> > <property name="round">true</property>
> > </component>
> >
> > But when I try to run the normal calculator client I get:
> > SystemConfigurationException raised: Undefined property: round
> >
> > being thrown from the Component::setProperty() method.
> > Does anyone else see this? Am I doing something wrong?
> >
> > Cheers
> > Andy
> >
> Andy,
>
> What does your component type definition look like?
>
> --
> Jean-Sebastien
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org
Re: [C++] Component properties failure
Posted by Jean-Sebastien Delfino <js...@apache.org>.
Andrew Borley wrote:
> Hi all,
>
> Is anyone else finding that loading composites containing component
> properties is failing at the moment?
> On my system I have a sample.calculator.composite file with the
> following:
> <component name="CalculatorComponent">
> <implementation.cpp library="Calculator"
> header="CalculatorImpl.h"/>
> <reference
> name="divideService">DivideComponent/DivideService</reference>
> <property name="round">true</property>
> </component>
>
> But when I try to run the normal calculator client I get:
> SystemConfigurationException raised: Undefined property: round
>
> being thrown from the Component::setProperty() method.
> Does anyone else see this? Am I doing something wrong?
>
> Cheers
> Andy
>
Andy,
What does your component type definition look like?
--
Jean-Sebastien
---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org