unpack WEB-INF

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@610 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Greg Wilkins 2009-07-31 03:03:57 +00:00
parent e6b43daf54
commit ac6f18b3d4
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ public class WebInfConfiguration implements Configuration
extractedWebInfDir.delete();
extractedWebInfDir.mkdir();
Log.info("Extract " + web_inf + " to " + extractedWebInfDir);
JarResource.extract(web_app, extractedWebInfDir, false);
JarResource.extract(web_inf, extractedWebInfDir, false);
web_inf=Resource.newResource(extractedWebInfDir.toURL());
ResourceCollection rc = new ResourceCollection(new Resource[]{web_inf,web_app});
context.setBaseResource(rc);