Bug 309830

Summary: There should by some kind of feedback on pruning a build directory
Product: [Applications] kdevelop Reporter: Torbjörn K. <torbjoern.k>
Component: Build tools: CMakeAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: wishlist CC: aleixpol
Priority: NOR    
Version: unspecified   
Target Milestone: 4.3.0   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

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+)]

http://commits.kde.org/kdevelop/93bf70ecaa2b183c94799eb90e3f5b18f918d371