final String newBaseDirectory = FileUtil.normalize( baseDirectory );
final String[] newIncludes = prefixPatterns( newBaseDirectory,
includes );
final String[] newExcludes = prefixPatterns( newBaseDirectory,
excludes );
final PathMatcher matcher = new PathMatcher( newIncludes,
newExcludes );
final File[] files = FileUtil.resolveFileSet( base, matcher );
try
{
return FileUtil.toURLs( files );