[wirebox-160]Excluding directories in mapDirectory and Wirebox

I know there is an exclude and include option when using mapDirectory() but I cannot figure out exactly what the regex might be to exclude all sub-directories from the mapped package path. In other words:

mapDirectory(“model”,exclude=“all subdirectories”)

Mike Craig

Have you tried a regex tester: http://gskinner.com/blog/archives/2008/03/regexr_free_onl.html

^model(\|/).*

should do the trick

signature0.jpg

Luis F. Majano
CEO
Ortus Solutions, Corp
www.ortussolutions.com

ColdBox Platform: http://www.coldbox.org
Linked In: http://www.linkedin.com/pub/3/731/483
Blog: http://www.luismajano.com
IECFUG Manager: http://www.iecfug.com

Social: twitter.com/lmajano facebook.com/lmajano