MPLUGIN-58: File Parameter Evaluation

Submitted by: Benjamin Bentmann 
Reviewed by: Vincent Siveton

o patch applied

git-svn-id: https://svn.apache.org/repos/asf/maven/plugin-tools/trunk@613502 13f79535-47bb-0310-9956-ffa450edef68
master
Vincent Siveton 2008-01-20 03:38:55 +00:00
parent 510eadd9a3
commit dfebacc116
1 changed files with 8 additions and 2 deletions

View File

@ -128,7 +128,13 @@ public class ResolverExpressionEvaluatorStub
{ {
return file; return file;
} }
else if ( file.isAbsolute() )
return new File( PlexusTestCase.getBasedir() + File.pathSeparator + file.getPath() ); {
return file;
}
else
{
return new File( PlexusTestCase.getBasedir(), file.getPath() );
}
} }
} }