resolve a uri issue with war files coming in from context.xml files
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@920 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
parent
f86b4124cc
commit
a0ba8a3bc3
|
@ -69,7 +69,14 @@ public class WebappVerifierConfiguration implements Configuration
|
|||
|
||||
RuleSet suite = RuleSet.load( configurationUri.toURL() );
|
||||
|
||||
WebappVerifier verifier = suite.createWebappVerifier( new URI( context.getWar() ) );
|
||||
String warLocation = context.getWar();
|
||||
|
||||
if ( !warLocation.startsWith("file:" ) )
|
||||
{
|
||||
warLocation = "file:" + warLocation;
|
||||
}
|
||||
|
||||
WebappVerifier verifier = suite.createWebappVerifier( new URI( warLocation ) );
|
||||
|
||||
verifier.visitAll();
|
||||
|
||||
|
|
Loading…
Reference in New Issue