[OCL] Default property filename

Hi,

yesterday we were setting up an application with the FileReporting component from OCL. We're working with rtt/ocl 1.6 and hence followed
<Http://www.orocos.org/stable/documentation/ocl/v1.6.x/doc-xml/orocos-reporting.html> [*].

However, from that page we couldn't figure out what name to use for the property configuration file? Did we miss something?
The only thing I found about OCL property filenames was in this Mailinglist post about the OCL guidelines <http://www.orocos.org/node/527>

Best regards,

Klaas

ps. I had a quick glance at the documentation of 1.8, and although the 2 files are merged there, it seems like the property filename is also missing.

[*] It seems like one cannot access this page from the ocl webpage directly anymore? When surfing to <http://www.orocos.org/ocl>, both
'OCL Documentation' -> 'Version 1.8.x' and 'Version 1.6.x' end up to the same page

[OCL] Default property filename

On Tuesday 07 April 2009 09:36:47 Klaas Gadeyne wrote:
> However, from that page we couldn't figure out what name to use for the
> property configuration file? Did we miss something? The only thing I found
> about OCL property filenames was in this Mailinglist post about the OCL
> guidelines <http://www.orocos.org/node/527>

What makes you think there's a default ? You always (ie for each component in
your application) need to specify the property file yourself.

For 1.6, it's marshalling.updateProperties("myconfig.cpf")
For 1.8, it's marshalling.loadProperties("myconfig.cpf")

or specify the equivalent in your deployment XML file.

>
> [*] It seems like one cannot access this page from the ocl webpage directly
> anymore? When surfing to <http://www.orocos.org/ocl>, both 'OCL
> Documentation' -> 'Version 1.8.x' and 'Version 1.6.x' end up to the same
> page

Fixed.

Peter

[OCL] Default property filename

On Tue, Apr 7, 2009 at 10:32 AM, Peter Soetens <peter [dot] soetens [..] ...> wrote:
> On Tuesday 07 April 2009 09:36:47 Klaas Gadeyne wrote:
>> However, from that page we couldn't figure out what name to use for the
>> property configuration file?  Did we miss something? The only thing I found
>> about OCL property filenames was in this Mailinglist post about the OCL
>> guidelines <http://www.orocos.org/node/527>
>
> What makes you think there's a default ? You always (ie for each component in
> your application) need to specify the property file yourself.

The code (and the above node) seems to disagree...

ReportingComponent::ReportingComponent( std::string name /*= "Reporting" */ )
: TaskContext( name ),
report("Report"),
autotrigger("AutoTrigger","When set to 1, the data is taken
upon each update(), "
"otherwise, the data is only taken when the user
invokes 'snapshot()'.",
true),
config("Configuration","The name of the property file which
lists what is to be reported.",
"cpf/reporter.cpf"),
writeHeader("WriteHeader","Set to true to start each report
with a header.", true),
starttime(0),
timestamp("TimeStamp","The time at which the data was read.",0.0)

so in this case the default is cpf/reporter.cpf.
However, I couldn't find this name in the docs.

Klaas