public Boolean hasTheme() {
return !(MISSING_THEME_NAME.equals(theme));
}
public List<List<String>> getModulePrefixes() {
PackageRepository packageRepo = PackageRepository.getInstance();
List<List<String>> modulePrefixLocations = new ArrayList<List<String>>();
Set<String> modulePrefixes = new HashSet<String>();
// Create custom module lookup, used to match module prefixes with a
// package location
Map<String, String> packageLocationLookup = new HashMap<String, String>();
Iterator<Map<String, String>> iter = packages.iterator();
while(iter.hasNext()) {
Map<String, String> referencedPackage = iter.next();
String name = referencedPackage.get("name"),
version = referencedPackage.get("version");
packageLocationLookup.put(name, packageRepo.getPackageLocation(name, version));
}
// Search through all module dependencies, creating location references for
// all module prefixes
Iterator<Map<String, Object>> layerIter = layers.iterator();