Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
AW: [cdt-dev] Disabling Scanner Configuration Builder programmatically

Thanks Wieant, your tip works for me...

>> I want to programmatically disable the Scanner Configuration Builder
>> in my process started through the template engine. Does anybody have
>> an idea of how to do this?
>
>In order for the scanner info to be always up-to-date we trigger it
>ourselve instead of using the builder. Perhaps there's a more elegant
>way, but we disabled the builder by simply removing it from the
>project description, something like:
>
>IProjectDescription description = project.getDescription();
>ICommand[] commands = description.getBuildSpec();
>remove
>commands[x].getBuilderName().equals(ScannerConfigBuilder.BUILDER_ID))
>project.setDescription(description, null); 
 
*******************************************
Harman Becker Automotive Systems GmbH
Management Board: Dr. Klaus Blickle (Chairman), Dr. Udo Hüls, Michael Mauser, Regis Baudot
Chairman of the Supervisory Board: Ansgar Rempp | Domicile: Karlsbad | 
Local Court Mannheim: Register No. 361395

 
*******************************************
Diese E-Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und loeschen Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the contents in this e-mail is strictly forbidden.
*******************************************


Back to the top