Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Detecting if a project is managed make vs standard make

Hi Derek,

One way to determine whether the project is managed or standard is to
check whether or not it contains the managed or standard project nature
(see the 
IProject.hasNature() method).
The managed projects usually have the
"org.eclipse.cdt.managedbuilder.managedBuildNature" while the standard
make projects have the "org.eclipse.cdt.make.makeNature" nature.
Note that this is going to change in the 4.0 since we are going to have
one build system that incorporates both Standard and Managed facilities.
See the New Project Model design for more detail
(https://bugs.eclipse.org/bugs/show bug.cgi?id=115935)


The root for the Managed Make project information is the
IManagedBuildInfo that can be obtained by the
ManagedBuildManager.getBuildInfo(project) method.

Mikhail

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx]
On Behalf Of Derek Morris
Sent: Tuesday, October 24, 2006 11:04 PM
To: CDT General developers list.
Subject: [cdt-dev] Detecting if a project is managed make vs standard
make

Hi,

Can anybody tell how to determine if a CDT project (IProject) is a
Managed Make 
or a Standard Make (or another type of build) project? Also, how do I
get the 
information associated with a Managed Make project?

TIA
-- 
Derek
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top