We should not hardcode the advanced frameworks that have custom web.xmls.  Instead we should dynamically detect the existence of the custom web.xml file in the tools/portlat_<frameworkname>_tmpl/ folder.
tools/portlet_<frameworkname>_tmpl/docroot/WEB-INF/web.xml