From 581fa345375a2f71ca9eab64e04219dbbd83c39a Mon Sep 17 00:00:00 2001 From: Emmanuel Venisse Date: Sat, 19 Jun 2004 13:36:02 +0000 Subject: [PATCH] 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 --- .../src/main/java/org/apache/maven/it/Verifier.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java b/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java index 1d4d57ca8d..122bd49815 100644 --- a/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java +++ b/maven-core-it-verifier/src/main/java/org/apache/maven/it/Verifier.java @@ -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() )