Bug 45

Summary: scons -c does not remove all files in build-dir/dbg-shared/include/ns3/ directory
Product: ns-3 Reporter: Emmanuelle Laprise <emmanuelle.laprise>
Component: build systemAssignee: ns-bugs <ns-bugs>
Status: RESOLVED INVALID    
Severity: normal CC: gjcarneiro
Priority: P3    
Version: pre-release   
Hardware: PC   
OS: Linux   

Description Emmanuelle Laprise 2007-07-06 14:55:39 EDT
Because of this, if a file changes name or is removed, there is an old copy that is kept in the build-dir/dbg-shared/include/ns3/ directory and if you left by mistake a reference to that file, it will use it, even if the file does not exist anymore. As far as I know, the only way to remove those files is by hand with an rm command.

Would it be possible for them to be removed at least by scons -c, if not by the normal scons command?

Thanks,

Emmanuelle
Comment 1 Tom Henderson 2007-07-06 17:32:27 EDT
if we move to waf next week as planned, this will be OBE (overcome by events) but it would be good to check whether waf has the right behavior
Comment 2 Gustavo J. A. M. Carneiro 2007-07-09 05:48:35 EDT
"waf clean" leaves only a couple of files generated by "waf configure":
gjc@nazgul:ns-3-dev$ ls build/debug/ns3/
core-config.h  simulator-config.h

"waf distclean" cleans everything (the whole build directory).
Comment 3 Mathieu Lacage 2007-07-23 08:18:58 EDT
closing since we use waf now which does not have this problem.