Bug 387 - Build fails with junk subdirectories in "scratch" directory
Build fails with junk subdirectories in "scratch" directory
Product: ns-3
Classification: Unclassified
Component: build system
All All
: P2 minor
Assigned To: Gustavo J. A. M. Carneiro
Depends on:
  Show dependency treegraph
Reported: 2008-10-22 14:10 EDT by Andrey Hippo
Modified: 2008-11-18 09:06 EST (History)
2 users (show)

See Also:

One of possible solutions (1.15 KB, patch)
2008-10-22 14:18 EDT, Andrey Hippo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Hippo 2008-10-22 14:10:33 EDT
For example, in "scratch" there are subdirectories, named like "CVS" or ".svn", created by another version control system.
Theses subdirectories are needed for proper functioning of these version control systems and shouldn't be deleted.
So let's teach "wscript" to ignore them.
Maybe it will be enough to just skip all directories and files starting with ".".

In other words:
1) Steps to Reproduce
Add any ns release to some version control system.
Run ./waf configure; ./waf build
2) Actual Results
Build fails due to special directories in "scratch"
3) Expected Results
Build system should silently skip special directories in "scratch"
Comment 1 Andrey Hippo 2008-10-22 14:18:19 EDT
Created attachment 277 [details]
One of possible solutions
Comment 2 Gustavo J. A. M. Carneiro 2008-11-18 09:06:53 EST
Pushed a slightly tweaked version of your patch.