Bug 309830 - There should by some kind of feedback on pruning a build directory
Summary: There should by some kind of feedback on pruning a build directory
Alias: None
Product: kdevelop
Classification: Applications
Component: Build tools: CMake (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist (vote)
Target Milestone: 4.3.0
Assignee: kdevelop-bugs-null
Depends on:
Reported: 2012-11-09 22:48 UTC by Torbjörn K.
Modified: 2013-03-06 17:31 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Torbjörn K. 2012-11-09 22:48:05 UTC
There should be some kind of feedback to the user when he pruned the build directory of a selected build target.

Reproducible: Always

Steps to Reproduce:
Select a target or have targets in the buildset and click "Prune Selection".
Actual Results:  
No visual or otherwise recognizable feedback that the build directory of the selected target has actually been pruned. (the pruning itself works)

Expected Results:  
There should be a message, e.g. in the build console/log, that the selected target has been pruned. Probably together with the executed command: `rm -rf <build_dir>/*`. Similar as it's happening for triggering a build (i.e. make <target>`.
Comment 1 Aleix Pol 2012-11-15 02:07:56 UTC

*** This bug has been marked as a duplicate of bug 238455 ***
Comment 2 Aleix Pol 2013-03-06 17:31:47 UTC
Git commit 93bf70ecaa2b183c94799eb90e3f5b18f918d371 by Aleix Pol.
Committed on 06/03/2013 at 18:31.
Pushed by apol into branch 'master'.

Add feedback on cmake prune job

Instead of just passing the KIO job, pass an outputjob that tells us what
it's doing, more or less.

M  +1    -0    projectbuilders/cmakebuilder/CMakeLists.txt
M  +2    -22   projectbuilders/cmakebuilder/cmakebuilder.cpp
M  +2    -3    projectbuilders/cmakebuilder/cmakejob.cpp
A  +91   -0    projectbuilders/cmakebuilder/prunejob.cpp     [License: GPL (v2+)]
A  +43   -0    projectbuilders/cmakebuilder/prunejob.h     [License: GPL (v2+)]