Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 329885

Summary: When launching an android project unrelated c++ projects build
Product: z_Archived Reporter: alan birtles <alan>
Component: SequoyahAssignee: Project Inbox <android.sequoyah-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: alan, cdtdoug, kpqb38, nkvg64, wmg040
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description alan birtles CLA 2010-11-10 06:04:22 EST
When any android project is launched all c++ projects in the workspace are build first. This occurs even on projects without native support enabled. The expected behaviour would be for only the launched project and its dependencies to be built
Comment 1 Marcel Gorri CLA 2010-11-19 08:19:53 EST
(In reply to comment #0)
Hi Alan, 

the default behavior when the 'build all' flag is set is that all the projects in the workspace are built. Can you please check if this option is set in your workspace? 

Regards, 
 Marcel

> When any android project is launched all c++ projects in the workspace are
> build first. This occurs even on projects without native support enabled. The
> expected behaviour would be for only the launched project and its dependencies
> to be built
Comment 2 alan birtles CLA 2010-11-19 11:59:17 EST
Where is the flag? C++ "build scope" is set to build active and "build automatically" is turned on
(In reply to comment #1)
> (In reply to comment #0)
> Hi Alan, 
> 
> the default behavior when the 'build all' flag is set is that all the projects
> in the workspace are built. Can you please check if this option is set in your
> workspace? 
> 
> Regards, 
>  Marcel
> 
> > When any android project is launched all c++ projects in the workspace are
> > build first. This occurs even on projects without native support enabled. The
> > expected behaviour would be for only the launched project and its dependencies
> > to be built
Comment 3 Marcel Gorri CLA 2010-11-19 12:04:58 EST
(In reply to comment #2)
Sorry, this is the flag we were talking about "build automatically". Have you tried to disable (unselect) it and then build?

> Where is the flag? C++ "build scope" is set to build active and "build
> automatically" is turned on
> (In reply to comment #1)
> > (In reply to comment #0)
> > Hi Alan, 
> > 
> > the default behavior when the 'build all' flag is set is that all the projects
> > in the workspace are built. Can you please check if this option is set in your
> > workspace? 
> > 
> > Regards, 
> >  Marcel
> > 
> > > When any android project is launched all c++ projects in the workspace are
> > > build first. This occurs even on projects without native support enabled. The
> > > expected behaviour would be for only the launched project and its dependencies
> > > to be built
Comment 4 Marcel Gorri CLA 2011-09-06 14:49:30 EDT
The behavior pointed in this bug is in fact an expected behavior from ADT. It forces a Build All for the projects everytime you hit run.