if (startScreenId != null)
{
builder.append("/{context}/" + moduleName + "/" + startScreenId + "\n");
}
FilePatternHandler pattern = new FilePatternHandler(offlineScreen.getIncludes(), offlineScreen.getExcludes());
for (String fn : artifacts)
{
if (!fn.endsWith("hosted.html") && pattern.isValidEntry(moduleName + "/" + fn))
{
String path = fn.contains("\\") ? fn.replaceAll("\\\\", "/") : fn;
builder.append("/{context}/" + moduleName + "/" + path + "\n");
}
}