mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-05 13:29:13 +00:00
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:
parent
2c4db31b34
commit
d7c6df193c
@ -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();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user