protected void setupForExpandedWar() {

    webapp.setServerClasses(getServerClasses());
    webapp.setDescriptor(webapp + "/WEB-INF/web.xml");
    webapp.setResourceBase(resourceBase);
    webapp.setParentLoaderPriority(false);
  }
protected void setupForExpandedWar ( ) { webapp . setServerClasses ( getServerClasses ( ) ) ; webapp . setDescriptor ( webapp + "/WEB-INF/web.xml" ) ; webapp . setResourceBase ( resourceBase ) ; webapp . setParentLoaderPriority ( false ) ; }
Setup for an expanded webapp with resource base as a relative path.