Bug 69820 - Build All is greyed out when Build Automatically is on
Summary: Build All is greyed out when Build Automatically is on
Status: RESOLVED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 minor (vote)
Target Milestone: 3.1 M4   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 07:35 EDT by Ricky Clarkson CLA
Modified: 2004-12-16 06:20 EST (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 Ricky Clarkson CLA 2004-07-12 07:35:29 EDT
Build Automatically doesn't work as expected.

In my project, I run 'make clean' at the command line.  In this case it is
because the Makefile originally generated a javadocs/ directory and it's
annoying me.

When I go back to Eclipse and click Refresh, Eclipse doesn't build the project.
 If I go to the Project menu I can't Build All or Build Project because they are
greyed out.

I have to turn off Build Automatically to be able to build my project.  This is
very counter-intuitive.

I have seen other bugs that are similar to this, but they are confused with
issues of CDT.  I find it difficult to tell what the overall conclusion is; I
see Verified Fixed but I still see the bug.

If you do assign this as a duplicate of another bug, please can you tell me why
they are a duplicate, as the similar bugs that I've seen don't seem to be the
same (and it obviously isn't fixed, otherwise I wouldn't be logging this bug).
Comment 1 Dirk Baeumer CLA 2004-07-12 08:53:48 EDT
Moving to JDT/Core to comment on the fact, what should happen if clients 
delete the output folder outside Eclipse and do a refresh.
Comment 2 Ricky Clarkson CLA 2004-07-12 11:14:18 EDT
Dirk,

I noticed you moved this bug to Core.

That suggests that you believe the problem of not building automatically
after refresh is the real
bug here, rather than the menu items being greyed out.  Is this correct?

I don't see why the Build All needs to be greyed out if building
automatically is turned on.  Some
users might want to build anyway, just to make sure.  That action might be
wrong, but they might
want to do it.  If a user upgrades from a previous version, Build
Automatically is turned on, and
they're used to being able to use Build All.  That change is not intuitive.
Comment 3 Dirk Baeumer CLA 2004-07-12 14:22:36 EDT
Build All stands for "manual build" (in opposite to automatic build). In 
previous releases Eclipse offered a Rebuild All, which got replaced by the 
Clean action. So may be you are locking for this ?
Comment 4 Ricky Clarkson CLA 2004-07-12 14:23:47 EDT
That is probably true, yes.
Comment 5 Jerome Lanneluc CLA 2004-12-16 05:43:35 EST
The output folder is owned by the Java builder. Tempering with this folder is
not supported. There is no plan to support this.
As Dirk suggested, you must manually do Project>Clean if you temper with the
output folder.
Comment 6 Jerome Lanneluc CLA 2004-12-16 06:20:40 EST
Sorry I meant "tampering" not "tempering"