}
private void readSources(){
log.info("Reading sources ...");
final SourceEntryLoader loader = Application.getContext().getSourceEntryLoader();
final SourceParser parser = Application.getContext().getSourceParser();
//load sources and load static files
FileFilter fileFilter = buildFilter();
List<SourceEntry> list = loader.loadSourceEntries(source, fileFilter);
if(sources != null && !sources.isEmpty()){
for(File src: sources){
List<SourceEntry> tempList = loader.loadSourceEntries(src, fileFilter);
if(tempList != null && !tempList.isEmpty()){
list.addAll(tempList);
}
}
}