Bug 45 - scons -c does not remove all files in build-dir/dbg-shared/include/ns3/ directory
scons -c does not remove all files in build-dir/dbg-shared/include/ns3/ direc...
Status: RESOLVED INVALID
Product: ns-3
Classification: Unclassified
Component: build system
pre-release
PC Linux
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-07-06 14:55 EDT by Emmanuelle Laprise
Modified: 2007-07-23 08: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 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.