Page 1 of 1

Empty folder causes Build error

Posted: Thu Mar 09, 2006 3:22 am
by ncgjka
I have a treestructure defined in my TARGETDIR

-FolderA
----FolderB
----FolderC

When I build my project I get an error saying
"Error during build: No files matching pattern ..\\..\\FolderA\\*.*"

The FolderA happens to be empty, only has the subfolders which contain files. If i add a "dummy" file Text.txt in FolderA the Build works!

Is there any other way around this problem, I do not want to have the dummy file in the folder.

Posted: Thu Mar 09, 2006 3:56 am
by MichaelNesmith
Did you actually check the "Include subfolders if wildcards used" box on the Install Files dialog?

Posted: Thu Mar 09, 2006 3:59 am
by ncgjka
Yes, I checked that option. But the problem is that the FolderA does not contain any files. If I add the dummy "Text.txt" file in the source FolderA it works. It seems the compiler does not like empty folders...?

Posted: Thu Mar 09, 2006 12:25 pm
by MichaelNesmith
I tried this as you described - created two folders inside an empty folder - and placed a file inside one of the subfolders. It worked just fine, so I don't know what's wrong at your end, sorry.

Posted: Fri Mar 10, 2006 4:16 am
by ncgjka
Ok. I'll see if I can figure iy out.. Must be some wierd mismatch somewhere. Thanks anyway!