code: private String getProjectStageFromLocators() {
  
          // try to locate web.xml
          WebResourceLocator webResourceLocator = new WebResourceLocator();
          URL webXmlLocation = webResourceLocator.getWebResourceUrl("/WEB-INF/web.xml");
  
          // try to parse the web.xml if the locator returned a result
          if (webXmlLocation != null) {
  
              String projectStage = parseWebXml(webXmlLocation);
  
              // accept the first result
              if (projectStage != null) {
                  return projectStage;
              }
  
          }
  
          // not result found
          return null;
  
      }
docs: Tries to get the name of the project stage from web.xml. This method will use Solder's {@link WebResourceLocator} to find
  the location of web.xml.
  
  @return name of the project stage or <code>null</code>