[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
[cdt-dev] Change ScannerConfigDiscoveryProfileId for an autotools project programmatically
|
- From: Anna Dushistova <anna.dushistova@xxxxxxxxx>
- Date: Fri, 13 Apr 2012 03:35:08 +0400
- Delivered-to: cdt-dev@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=hU0dS90Z1SmRgOQ1kKMKBxztTX73qVBRd/df9ROhiFU=; b=WDBcI8KsnUEFU12mjwa3SDrEMKD5ywaF4tF6/2JvaCrNFpRbLrp/of5kyBPl550+BV IroxFfLMO2lpxCeSauswQsuXl+NeSQ8IX5oaweo3PkVsJ5a9Nf9luG3iMn1BY1gvSX/E B4/lp7qUzdf6QrbBnfv/Z7U/ZyXgnwz++KusEWOXzm0/lpOmD4/xxnOD0x8+M2FJB2Px linhQuhpCfwZQhNTaySbWtAJSTuCpbnJQ8hvR1WRwtOlXm2AfdGwfX375XhbRkOPdEjZ 9EJEyVqkGff4tsfmVXmGPSqEX+S3UVyfnBrepXPqo07zKdGoi+ySa6XVEY5VdZLzW3PI MoAA==
Hi All,
I'd like to replace the ScannerConfigDiscoveryProfileId in a toolchain
during the project creation.
What is the right way to do it?
I've tried
IConfiguration defaultConfiguration = buildInfo
.getDefaultConfiguration();
IToolChain toolchain = defaultConfiguration.getToolChain();
toolchain.setScannerConfigDiscoveryProfileId("annasGCCManagedMakePerProjectProfileC");
//$NON-NLS-1$
ManagedBuildManager.saveBuildInfo(project, true);
but somehow it doesn't take effect.
I still see the old profile id in the .cproject in the <storageModule
moduleId="scannerConfiguration"> section in the .cproject file.
Is there any way to change it there too?
Thanks!
Anna.