Hi,

When the current working directory differs from the directory in which the 
project.xml is stored, extends seems to be broken. I  think the following 
patch fixes this.

-- 
Cheers,

Peter Donald
--------------------------------------------------
 The fact that nobody understands you doesn't 
 mean you're an artist.
--------------------------------------------------
? maven.txt
Index: src/java/org/apache/maven/MavenUtils.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-turbine-maven/src/java/org/apache/maven/MavenUtils.java,v
retrieving revision 1.76
diff -u -r1.76 MavenUtils.java
--- src/java/org/apache/maven/MavenUtils.java   11 Dec 2002 22:30:07 -0000      1.76
+++ src/java/org/apache/maven/MavenUtils.java   13 Dec 2002 04:31:20 -0000
@@ -143,7 +143,7 @@
     public static Project getProject( File projectDescriptor )
         throws Exception
     {
-        return getProject( projectDescriptor, new File( "." ) );
+        return getProject( projectDescriptor, projectDescriptor.getParentFile() );
     }
 
     /**

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to