|Re: Change "Warning" to "Remark" [message #3382 is a reply to message #3349]
||Wed, 20 May 2009 16:17
| Chris Ring
Registered: July 2009
Location: Santa Barbara, CA
dave russo wrote:|
> Chris Ring wrote:
>> I'd like to suggest that the current "Warning: no config.bld file was
>> found along the package path..." emitted whenever the
>> $XDC_INSTALL_DIR/packages/config.bld is used be changed to a
>> "Remark". Or perhaps provide some way to say "I know I'm using that
>> config.bld, please don't warn me about it".
>> Some of my packages don't contain any binaries, and the default
>> config.bld provided in XDCtools is exactly what I want. But my build
>> logs show this as a warning - and I prefer to build without warnings.
> We added the warning because too many users complained that the when
> their config.bld was not picked up by the tools (e.g., it was not on the
> package path), the xdc command would complete without any indication of
> a problem.
Got it, and I like it - my only issue is that it's classified as a
"Warning", so it makes my builds chatty and full of "Warnings".
>> Open to other workarounds... I fundamentally just want to avoid the
>> Warning msg.
> The "last resort" config.bld is $XDCROOT/etc/config.bld and is only used
> when no config.bld can be found in the current working directory or
> along the package path.
> You can explicitly specify the config.bld to use on the command line,
> place a config.bld in the package's base, or place it in any directory
> named on the package path.
If I explicitly say XDCBUILDCFG=$XDCROOT/etc/config.bld on the cmd line,
it'd be nice if the Warning goes away? (Can $XDCROOT/etc/config.bld
detect that and only conditionally issue the warning?)
Or is the only option to provide my own one-line config.bld?
> You could create a repository that just contains your config.bld and
> place this on your package path. Note, however, the latest release of
> the path tool will warn about repositories that do not contain packages
Powered by FUDForum
. Page generated in 0.02082 seconds