Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350507 - Clean action to target project particularly
Summary: Clean action to target project particularly
Status: RESOLVED INVALID
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Ant (show other bugs)
Version: 4.1   Edit
Hardware: PC Windows 7
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Ant-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 21:16 EDT by Issac Hor CLA
Modified: 2011-06-28 14:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.