A little fix for use it on windows

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162806 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Emmanuel Venisse 2004-06-19 13:36:02 +00:00
parent f00f23e685
commit 581fa34537
1 changed files with 8 additions and 1 deletions

View File

@ -98,7 +98,14 @@ public class Verifier
}
else
{
expectedFile = new File( basedir, line );
if ( line.indexOf( ":" ) > 0 ) //windows
{
expectedFile = new File( line );
}
else
{
expectedFile = new File( basedir, line );
}
}
if ( !expectedFile.exists() )