String fileName = srcFile.getProjectRelativePath().toString().substring("app/".length());
// the compiler assumes the path separator is system specific separator
fileName = fileName.replace('/', File.separatorChar);
JapidTemplate temp = new JapidTemplate(fileName, src);
JapidAbstractCompiler c = null;
if (JapidTemplateTransformer.looksLikeLayout(src)) {
c = new JapidLayoutCompiler();
} else {
// regular template and tag are the same thing
c = new JapidTemplateCompiler();
}
c.compile(temp);
// now we have the derived source
String text = temp.javaSource;
String newline = "\n";// System.getProperty("line.separator");
String[] lines = text.split("[" + newline + "]");