User forums > Help

How do I get recursively adding files to work?

<< < (2/4) > >>

tzonkov:
There is nothing selected in "Wildcard Select".

I don't see any files listed when I first select the directory. I have verified that this works on other XP installations. But I need to make it work on this one, since this is my main development system.

Thanks for the ideas, any more? I am hoping the person who wrote this feature might be able to help...

Alex

mandrav:
The only thing that alters the actual files list, is this piece of code:


--- Code: (cpp) ---    while (i < array.GetCount())
    {
        // discard directories, as well as some well known SCMs control folders ;)
        // also discard C::B project files
        if (wxDirExists(array[i]) ||
            array[i].Contains(_T("\\.svn\\")) ||
            array[i].Contains(_T("/.svn/")) ||
            array[i].Contains(_T("\\CVS\\")) ||
            array[i].Contains(_T("/CVS/")) ||
            array[i].Lower().Matches(_T("*.cbp")))
        {
            array.RemoveAt(i);
        }
        else
            ++i;

--- End code ---

As you can see, some items are discarded from the list. C::B project files, directories and files that reside under paths like /CVS/ or /.svn/.

Is your directory structure something like this?

tzonkov:
Yes my directory structure is all under c:\CVS

That explains the blank file list dialog... what are my options?

takeshimiya:

--- Quote from: tzonkov on August 15, 2006, 08:54:38 am ---Yes my directory structure is all under c:\CVS

That explains the blank file list dialog... what are my options?

--- End quote ---
C:\cvs (lowercase) or c:\CBS ? :P

EDIT: I think this shall not be hard-coded.

tzonkov:
I figured I can change the directory name and get it to work. I guess I can add a request to remove that harcoded filter. Since there is the wildcard filter, the hardcoded list of ommissions should not be needed any longer. Amy I correct in assuming this?

By the way thanks for the clarification and solution....

Alex

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version