//print.ln(files[i]+" - "+p);
doCompileFile(mapping,files[i],p,errors);
}
}
else if(file.isFile()) {
PageSourceImpl ps=(PageSourceImpl) mapping.getPageSource(path);
try {
ps.clear();
ps.loadPage(pageContext);
//pageContext.compile(ps);
} catch (PageException pe) {
//PageException pe = pse.getPageException();
String template=ps.getDisplayPath();
StringBuilder msg=new StringBuilder(pe.getMessage());
msg.append(", Error Occurred in File [");
msg.append(template);
if(pe instanceof PageExceptionImpl) {
try{