Bug 387

Summary: Build fails with junk subdirectories in "scratch" directory
Product: ns-3 Reporter: Andrey Hippo <ahippo>
Component: build systemAssignee: Gustavo J. A. M. Carneiro <gjcarneiro>
Status: RESOLVED FIXED    
Severity: minor CC: craigdo, ns-bugs
Priority: P2    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: One of possible solutions

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.