{
final Resource appCatalogResource = _rootResource.forFile(_appCatalog);
// If the application catalog exists, set it up as the root, otherwise use null.
MessagesBundle appCatalogBundle = appCatalogResource.toURL() == null ? null
: new MessagesBundle()
{
public Resource getBaseResource()
{
return appCatalogResource;