Bug 480761 - Binaries folder does not appear after "Build on resource save" check and "OK"
Summary: Binaries folder does not appear after "Build on resource save" check and "OK"
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 8.6.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-27 07:37 EDT by Marina Gorshkova CLA
Modified: 2020-09-04 15:18 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 Marina Gorshkova CLA 2015-10-27 07:37:53 EDT

    
Comment 1 Marina Gorshkova CLA 2015-10-27 07:46:21 EDT
Steps to reproduce:
1. Create a C/C++ project (New -> C Project -> Executable -> Hello World ANSI C Project)
2. Go to Project "Properties"->"Build C/C++" -> Select "Behavior" page
3. Check "Build on resource save (Auto build)"
4. Click "OK"

The project is built successfully. 

14:40:56 **** Rebuild of configuration Debug for project test2 ****
Info: Internal Builder is used for build
gcc -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\test2.o" "..\\src\\test2.c" 
gcc -o test2.exe "src\\test2.o" 

14:40:57 Build Finished (took 1s.36ms)

Elf file is created in <prject>/Debug" folder. But "Binaries" folder does not exist in the project tree.

Go again to "Build C/C++"/"Behavior" page.
Click "Apply".

14:43:52 **** Incremental Build of configuration Debug for project test2 ****
Info: Internal Builder is used for build
gcc -o test2.exe "src\\test2.o" 

14:43:53 Build Finished (took 519ms)

"Binaries" folder appears in the project tree.

The behavior for "OK" and "Apply" buttom in "Build C/C++" shall be identical: project building shall be executed and "Binaries" folder shall appear in case of succussfull building.
Comment 2 Marina Gorshkova CLA 2017-01-09 09:45:40 EST
Additional issue:

1. Create two C/C++ projects (New -> C Project -> Executable -> Hello World ANSI C Project)
2. Set Reference from project1 to project2
3.  Go to Project "Properties"->"Build C/C++" -> Select "Behavior" page for the "main" project (project1)
4. Check "Build on resource save (Auto build)"
5. Click "Apply"

Both projects are built.

"Binaries" folder appears in the project tree for project1 but does not exist for project2.

Go to Settings-> Binary Parser (project2) -> Apply

"Binaries" folder appears for project2