Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » DSDP - Real-Time Software Components (RTSC) » Property params of the build target was not copied to the config object model
icon5.gif  Property params of the build target was not copied to the config object model [message #996776] Wed, 02 January 2013 21:55 Go to next message
Chris Ring is currently offline Chris RingFriend
Messages: 16
Registered: July 2009
Location: Santa Barbara, CA
Junior Member
Can someone help me understand this remark:

Remark: Property params of the build target was not copied to the config object model.

I see it early in the build phase, I think when generating package.mak from package.bld. I don't see it from all packages, just a few select ones.

Thanks.

Chris
Re: Property params of the build target was not copied to the config object model [message #996823 is a reply to message #996776] Thu, 03 January 2013 01:05 Go to previous messageGo to next message
Sasha Slijepcevic is currently offline Sasha SlijepcevicFriend
Messages: 115
Registered: July 2009
Senior Member
First, I'll just say that the message does not indicate any serious problem, and I base that on the name of the property that's not being copied. A more complete explanation of the message and the code that emits it follows.

A RTSC target that builds an executable is selected and its parameters are set within the RTSC build object model. Before we exit the build object model, we determine the state of the RTSC target so we can reload the target and set it to the same state at the beginning of the RTSC config object model.
The config object model requires the target to be available so it can query its parameter and call its functions. The parameters and functions that are used by the object model are of well-defined types and we know how to replicate those and test them. However, for completeness we try to replicate the complete state of the target, in case a config script tries to access any of the target's properties. The remark means that we found a target property that we don't know how to replicate and we won't even try it. This usually happens with ITargetFilters because their parameter structure is of type Any, and anything could be in it.

We changed the message over the time to make it less scary, but also don't want to remove it in case some more serious malfunction happens in the future.
One solution would be to fix that code so it always replicates parameters correctly, but the existence of Any makes it hard to guarantee that all corner cases are resolved. Another solution would be to silently ignore any of Any parameters, but there could be future targets in which a config param of type Any affects the target properties that the config object model cares about.
The third solution, that I prefer, is just to copy this thread to FAQ. What do you think Chris?
Re: Property params of the build target was not copied to the config object model [message #996832 is a reply to message #996823] Thu, 03 January 2013 01:44 Go to previous message
Chris Ring is currently offline Chris RingFriend
Messages: 16
Registered: July 2009
Location: Santa Barbara, CA
Junior Member
Thanks for the background Sasha.

Behind my question is that I want quiet builds. This seems like just an "FYI Remark", so I question whether it should be enabled by default.

It seems similar to the TI compiler's -pdr option (and GNU's -W options). In those cases, remarks are disabled by default, but I can enable them if I want.

Chris
Previous Topic:Additional information
Next Topic:XGCONFIG disabling form input
Goto Forum:
  


Current Time: Sat Nov 09 02:42:31 GMT 2024

Powered by FUDForum. Page generated in 0.02639 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top