// include everything, no filter needed
if(addCFMLFiles && addNonCFMLFiles)filter=null;
// CFML Files but no other files
else if(addCFMLFiles) {
if(mappingType==MAPPING_CFC)filter=new ExtensionResourceFilter(new String[]{"class","cfc","MF"},true,true);
else filter=new ExtensionResourceFilter(new String[]{"class","cfm","cfml","cfc","MF"},true,true);
}
// No CFML Files, but all other files
else if(addNonCFMLFiles) {
filter=new NotResourceFilter(new ExtensionResourceFilter(new String[]{"cfm","cfml","cfc"},false,true));
}
// no files at all
else {
filter=new ExtensionResourceFilter(new String[]{"class","MF"},true,true);
}
// create manifest
StringBuilder manifest=new StringBuilder();