[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
] [
List Home
]
Re: [cdt-dev] Set active build configuration
From
: Há Thá BÃ <
ctbk1989@xxxxxxxxx
>
Date
: Fri, 10 Aug 2012 09:05:38 -0600
Delivered-to
: cdt-dev@eclipse.org
Dkim-signature
: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=bS/pXsKSrdBxhDxIOAzLokedkOsI9gTEcvLYdUR5R98=; b=xwOw0QPAQA1fqZptxWfQhM8ClgMl8jGzodShypoHpW0uV6s1Ojsm86Jc3JCJWr+5Nv FEXZKPT3DCn5kr3HGRHqr9zU9K90EQ/JhYVkl3eb+LujQB7dGh5ivGn+6mRwG5X20IJK s8kyUOd+J02bCSOOxc0d9bEXZU/TbSjUdO3wrZtjIGWrPwi7cYK3F/LnbiASTkDEG4Wq +3jaaRoTJrlHtgqIHM1vcB+Y5JUp15Erw6DnfA6gm/4O6zSWeBRadMSD30J19XYs80U2 7s6NEQvUlJ2kX2wswL0rVM/RtuF7W+C0Hh64vlwAhNMEzMlo/JgAbqL4ca3lROVFSvo6 9RBA==
I have some code
public static void activeBuiltRom(IProject project) throws CoreException{
IProjectDescription desc = project.getDescription();
IManagedBuildInfo buildInfo = ManagedBuildManager.getBuildInfo(project);
IConfiguration configs[] = buildInfo.getManagedProject().getConfigurations();
desc.setActiveBuildConfig(configs[0].toString());
project.setDescription(desc, null);
ManagedBuildManager.saveBuildInfo(project, true);
}
But it's not effect to active build configuration
Follow-Ups
:
Re: [cdt-dev] Set active build configuration
From:
Marc-Andre Laperle
References
:
Re: [cdt-dev] Set active build configuration
From:
Andrew Gvozdev
Re: [cdt-dev] Set active build configuration
From:
Doug Schaefer
Prev by Date:
Re: [cdt-dev] Set active build configuration
Next by Date:
Re: [cdt-dev] Set active build configuration
Previous by thread:
Re: [cdt-dev] Set active build configuration
Next by thread:
Re: [cdt-dev] Set active build configuration
Index(es):
Date
Thread