0001-Added-LoadProperties-and-Properties-XML-elements-for.patch

These two patches extend the DeploymentComponent such that one can ask
to LoadProperties in XML and specify default properties (which can be
overridden by the separate property file.)

Comments welcome.

Peter

0001-Added-LoadProperties-and-Properties-XML-elements-for.patch

On Friday 09 January 2009 09:21:30 Peter Soetens wrote:
> These two patches extend the DeploymentComponent such that one can ask
> to LoadProperties in XML and specify default properties (which can be
> overridden by the separate property file.)
>
> Comments welcome.

Oops, typo in git-send-email...

Patch below.

Peter

Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm

[PATCH] Add Properties and LoadProperties doc to deployment manu

---
doc/xml/orocos-deployment.xml | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/doc/xml/orocos-deployment.xml b/doc/xml/orocos-deployment.xml
index ddddf19..71fae5d 100644
--- a/doc/xml/orocos-deployment.xml
+++ b/doc/xml/orocos-deployment.xml
@@ -349,6 +349,11 @@
1
1

+

+
+ 1.0
+

controller-main.cpf
controller-opts.cpf
@@ -414,12 +419,20 @@
default, is 0 (off).
- The section specifies from
- which XML file each component is configured and
+ The struct allows to configure
+ a component's properties from the main XML file. These values
+ can be overridden by the listed property files.
+
+
+ The element specifies from
+ which XML file each component is configured and this file
must contain values for all properties
of the component. In case you only want to update part of
the properties, use the
- element. The properties are read during the
+ element. Finally, it is also possible to load and create
+ new properties from a file using .
+ You can use any number or combination of these elements.
+ The order is respected. The properties are read during the
configureComponents() step of the
DeploymentComponent.
@@ -666,4 +679,4 @@
LDFLAGS=

-
\ No newline at end of file
+