I do it this way:
IManagedBuildInfo info = ManagedBuildManager.getBuildInfo(project);
if (info == null)
IConfiguration cfg = info.getDefaultConfiguration();
> hi all,
> How do I get the Active build configuration of project (i.e. Debug or
> Release), I have tried with
> (ManagedBuildManager.getBuildInfo(fileHandle.getProject())). getManagedProject().getConfigurations();
> but it gives me both configurations (i.e. Debug & Release) not the
> active (applied) one.
> please suggest something to get Active build configuration of project.
> Thanks in advance