CollectionUtils.addAll(urls, classLoader.getResources(META_INF_TOBAGO_CONFIG_XML));
CollectionUtils.addAll(urls, classLoader.getResources(META_INF_TOBAGO_THEME_XML));
for (URL themeUrl : urls) {
if (themeUrl.toString().endsWith(META_INF_TOBAGO_CONFIG_XML)) {
TobagoConfigFragment tobagoConfig = new TobagoConfigParser().parse(themeUrl);
for (ThemeImpl theme : tobagoConfig.getThemeDefinitions()) {
if (theme.isVersioned()) {
String themeUrlStr = themeUrl.toString();
int index = themeUrlStr.indexOf(META_INF_TOBAGO_CONFIG_XML);
String metaInf = themeUrlStr.substring(0, index) + "META-INF/MANIFEST.MF";
Properties properties = new Properties();