Bug 237941 - [IDE] [GlobalActions] Clean Project and Clean Build Project option in Projects context menu
Summary: [IDE] [GlobalActions] Clean Project and Clean Build Project option in Project...
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.4   Edit
Hardware: PC Windows XP
: P3 enhancement with 5 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 342341 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-20 10:43 EDT by Nukul Bhasin CLA
Modified: 2020-07-17 05:22 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nukul Bhasin CLA 2008-06-20 10:43:41 EDT
A "Clean Project" menu item to the context menu that displays when right-clicking on a project in the "Package Explorer" view would be very useful.  There is currently a "Build Project" menu item but a "Clean Project" menu item would be great to force a build if the project changed outside of Eclipse.  On the same note, a "Clean then Build Project" menu item would also be useful.
Comment 1 Remy Suen CLA 2008-06-20 13:03:36 EDT
I'd be in favour of a 'Clean Project' menu item.
Comment 2 Eric Moffatt CLA 2008-06-20 16:01:05 EDT
Hmmm, maybe we should just have 'Clean' since it + "build automatically' == Build...having both seems like overkill to me...just a thought.

Passing to JDT for comment...(is there a non java specific place to send these type of things? seems like C++ would need the same type of support)
Comment 3 Dani Megert CLA 2008-06-21 03:54:04 EDT
>Hmmm, maybe we should just have 'Clean' since it + "build automatically' ==
>Build...having both seems like overkill to me...just a thought.
Nope, that's not the same, as that would always do a lot more (just think of having a very large project: if you change a single file it would clean everything and rebuild the whole project while 'Build' would only build the changes.

If we change this for the PE, we should also adjust the Navigator and the Project Explorer accordingly.
Comment 4 Paul Webster CLA 2008-06-23 06:57:51 EDT
Would it be sufficient to have a "Clean Project" that behaved the same way as Clean in the Project menu except it would open the clean dialog with:

1) "Clean projects selected below" checked and the project selected
2) In manual build mode, "Start a build immediately" and "Build only the selection project" checked.

PW
Comment 5 Nukul Bhasin CLA 2008-06-23 10:24:35 EDT
(In reply to comment #0)
> A "Clean Project" menu item to the context menu that displays when
> right-clicking on a project in the "Package Explorer" view would be very
> useful.  There is currently a "Build Project" menu item but a "Clean Project"
> menu item would be great to force a build if the project changed outside of
> Eclipse.  On the same note, a "Clean then Build Project" menu item would also
> be useful.
> 

(In reply to comment #4)
> Would it be sufficient to have a "Clean Project" that behaved the same way as
> Clean in the Project menu except it would open the clean dialog with:
> 
> 1) "Clean projects selected below" checked and the project selected
> 2) In manual build mode, "Start a build immediately" and "Build only the
> selection project" checked.
> 
> PW
> 
I think that would be sufficient. 
Comment 6 Paul Webster CLA 2009-03-02 11:41:43 EST
Updated as per http://wiki.eclipse.org/Platform_UI/Bug_Triage
PW
Comment 7 Dani Megert CLA 2011-04-11 06:57:12 EDT
*** Bug 342341 has been marked as a duplicate of this bug. ***