Adding test for Absolute on xml paths on command line.

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@761 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Joakim Erdfelt 2009-08-25 15:14:56 +00:00
parent 2c4db31b34
commit d7c6df193c
1 changed files with 1 additions and 1 deletions

View File

@ -579,7 +579,7 @@ public class Main
private String resolveXmlConfig(String xmlFilename) throws FileNotFoundException
{
File xml = new File(xmlFilename);
if (xml.exists() && xml.isFile())
if (xml.exists() && xml.isFile() && xml.isAbsolute())
{
return xml.getAbsolutePath();
}