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

Bug 350507

Summary: Clean action to target project particularly
Product: [Eclipse Project] Platform Reporter: Issac Hor <chuanhor85>
Component: AntAssignee: Platform-Ant-Inbox <platform-ant-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: minor    
Priority: P3 CC: Michael_Rennie
Version: 4.1   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Issac Hor CLA 2011-06-27 21:16:06 EDT
Build Identifier: 20110218-0911

I would like to know how to configure ant builder to a project particularly. 

I configure a project with ant builder and clean action to the target build-clean. And I try to configure another same project with this way but different build.xml.
When I click project>clean, and I only choose either 1 project, but it will compile 2 project together. 

May I know how do I configure for clean action for particular project only?

Reproducible: Always
Comment 1 Michael Rennie CLA 2011-06-28 11:36:40 EDT
It sounds like you have already got it configured per-project, perhaps the projects are related somehow, so building one causes the other to be built?
Comment 2 Issac Hor CLA 2011-06-28 11:43:24 EDT
Yes, so any way to set the project particularly. I prefer for referring some example.

Thanks for the advice
Comment 3 Michael Rennie CLA 2011-06-28 14:58:35 EDT
There is no way to separate the projects during a build in this manner. If the two projects are related such that one uses the other and one is cleaned they are both built - part of the a project being built means its Ant project builders get run as well.

For example if you have project B that uses project A and you clean A, B is also built.

Closing the bug, since there is no bug here.