Set project's basedir on the ant Target so relative paths

work.


git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@232502 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kenney Westerhof 2005-08-13 15:04:18 +00:00
parent f14a81d454
commit aefdc2b95d
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ public abstract class AbstractAntMojo
antLogger.setOutputPrintStream( System.out );
antLogger.setErrorPrintStream( System.err );
antTasks.getProject().addBuildListener( antLogger );
antTasks.getProject().setBaseDir( mavenProject.getBasedir() );
getLog().info( "Executing tasks" );