[Rock-dev] Se default --overridable-- flavor

Matthias Goldhoorn matthias.goldhoorn at uni-bremen.de
Thu Oct 18 15:34:48 CEST 2012


On 18.10.2012 15:25, Sylvain Joyeux wrote:
> On 10/18/2012 03:08 PM, Matthias Goldhoorn wrote:
>> Is there an way to set an default flavor, which might be overriable by
>> the user. On an current bootstrap stable is recommended automatic, is
>> there an way to change this to next?
> What you can do is check if ROCK_FLAVOR is set before setting it to 
> your default value, i.e. in autoproj/init.rb
>
> if !Autoproj.has_config_key?('ROCK_FLAVOR')
>    Autoproj.change_option('ROCK_FLAVOR', 'next', true)
> end
But did this really help, then the ROCK_FLAVOR is setted hart and cannot 
be overriden even if you are know what you are doing. (expect later in 
the config).
Where is the question at all located?, i searched for the "Which Flavor" 
and for ROCK_FLAVOR in the package sets and autoproj gem but found nothing.
Which code/file triggers the question during bootstrap?

Second question this came me just up, is there an way to disable all 
orogen components for an bootstrap-instance?.
Since i work in an Project where still Windows users are it would be 
great to keep the same manifest, but disable (by an question) all orogen 
(rtt) components.

Matthias



-- 
  Dipl.-Inf. Matthias Goldhoorn
  Space and Underwater Robotic

  Universität Bremen
  FB 3 - Mathematik und Informatik
  AG Robotik
  Robert-Hooke-Straße 5
  28359 Bremen, Germany

  Tel.:     +49 421 178 45-4193
  Zentrale: +49 421 178 45-6550
  Fax:      +49 421 178 45-4150
  E-Mail:   matthias.goldhoorn at uni-bremen.de

  Weitere Informationen: http://www.informatik.uni-bremen.de/robotik



More information about the Rock-dev mailing list