@ Override protected void addBundlesToMapping ( ) throws DuplicateBundlePathException { Set < String > paths = rsHandler . getResourceNames ( baseDir ) ; for ( String path : paths ) { path = PathNormalizer . joinPaths ( baseDir , path ) ; if ( ! excludedPaths . contains ( path ) && rsHandler . isDirectory ( path ) ) { String bundleKey = path + resourceExtension ; addBundleToMap ( bundleKey , path + "/**" ) ; if ( LOGGER . isDebugEnabled ( ) ) LOGGER . debug ( "Added [" + bundleKey + "] with value [" + path + "/**] to a generated path list" ) ; } } }
Generates the resource bundles mapping expressions .