Bug 71443 - "Build Project" "Rebuild Project"
Summary: "Build Project" "Rebuild Project"
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 2.0   Edit
Hardware: PC Linux-GTK
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: David Daoust CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-04 22:02 EDT by Albert Bicchi CLA
Modified: 2004-08-16 17:28 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Albert Bicchi CLA 2004-08-04 22:02:27 EDT
I am new to the CDT Project and was testing the "Hello World" demo that is on
the tutorial section of the "CDT FAQ". I was able to do all the steps even
though I am running linux and was creating the demo that is supposed to be for
the windows platform:
Here is a link:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/cdt-home/user/faq.html?cvsroot=Tools_Project#create_10

Creating a simple Managed C++ Project -- "Hello World on a Windows Platform"

The demo works fine its just the build part that gives me a problem. When I do a
right click on the project it does not let me select "Build Project" or the
"Rebuild Project" 
But when I press Ctrl-S it saves the file and rebuids it fine. At this point I
am able to run the program without any other problems.

So i do not know if this is a bug or not because the text clearly states that
the application is for windows.
Comment 1 Sean Evoy CLA 2004-08-05 11:08:01 EDT
You have build on resource change turned on. This is a feature that tries to 
keep the compiled code up-to-date. If you want to be in control of when the 
build happens, Window > Preferences > Workbench > (uncheck) Build automatically

This is not a bug.
Comment 2 Albert Bicchi CLA 2004-08-06 00:53:24 EDT
I do understand that this is not a bug, but the FAQ ask to: "In the C/C++ 
Projects View, select your new C/C++ project, right click and select "Rebuild 
Project"" 
 
Seems to me that when eclipse is installed the default is "build on resource 
change" turned ON. So if this feature is ON by default, a lot of people would 
get confused on the FAQ-tutorial trying to build something that is allready 
built. 
I am just sudjesting to rewrite the "Building C/C++ Projects" section. 
 
Comment 3 Sean Evoy CLA 2004-08-06 09:42:13 EDT
That's a valid point. I will forward the bug to the docs person and suggest 
that this is an area that could be clarified to eliminate the confusion.
Comment 4 Sean Evoy CLA 2004-08-06 09:45:50 EDT
Dave,
I think the text of the bug explains the problem. 
Comment 5 Dave Williams CLA 2004-08-06 14:30:32 EDT
Buried in the documentation "Help > Help Contents > C/C++ Development User Guide
> Tasks > Building Projects > Building Manually" there is a tip that tells you
to turn Build Automatically off.

Clearly that is not sufficient.  

I will update the "Before you Begin" doc to add in the tip and have Dave D.
update the webpage.

Comment 6 Dave Williams CLA 2004-08-06 14:46:32 EDT
patch sent to dev list.
Comment 7 David Daoust CLA 2004-08-16 17:28:12 EDT
Fixed in FAQ.