svn commit: rev 22429 - avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model

[email protected]
Newsgroups gmane.comp.jakarta.avalon.cvs
Message-ID <[email protected]>
Author: mcconnell
Date: Thu Jul  1 08:43:44 2004
New Revision: 22429

Modified:
   avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/Magic.java
Log:
Update Magic's resolution of index.xml to include ${basedir}.

Modified: avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/Magic.java
==============================================================================
--- avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/Magic.java	(original)
+++ avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/Magic.java	Thu Jul  1 08:43:44 2004
@@ -204,9 +204,7 @@
         }
         else
         {
-            final String error = 
-              "Cannot continue due to missing index attribute.";
-            throw new BuildException( error );
+            return resolve( basedir );
         }
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.