work in progress

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

View File

@ -444,6 +444,8 @@ public class WebInfConfiguration implements Configuration
if (extractedWebInfDir.exists())
extractedWebInfDir.delete();
extractedWebInfDir.mkdir();
extractedWebInfDir=new File(extractedWebInfDir,"WEB-INF");
extractedWebInfDir.mkdir();
Log.info("Extract " + web_inf + " to " + extractedWebInfDir);
JarResource.extract(web_inf, extractedWebInfDir, false);
web_inf=Resource.newResource(extractedWebInfDir.toURL());

View File

@ -25,7 +25,7 @@ detected.
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- Optional context configuration -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<Set name="extractWAR">true</Set>
<Set name="extractWAR">false</Set>
<Set name="copyWebDir">false</Set>
<Set name="defaultsDescriptor"><SystemProperty name="jetty.home" default="."/>/etc/webdefault.xml</Set>
<Set name="overrideDescriptor"><SystemProperty name="jetty.home" default="."/>/contexts/test.d/override-web.xml</Set>