svn commit: rev 22703 - avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks

[email protected]
Newsgroups gmane.comp.jakarta.avalon.cvs
Message-ID <[email protected]>
Author: mcconnell
Date: Thu Jul  8 03:26:45 2004
New Revision: 22703

Modified:
   avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/GumpTask.java
Log:
Update gump task to explicity declare magic as a dependencies instead of using depend/property mix.

Modified: avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/GumpTask.java
==============================================================================
--- avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/GumpTask.java	(original)
+++ avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/GumpTask.java	Thu Jul  8 03:26:45 2004
@@ -446,7 +446,7 @@
         writer.write( 
            "\n      <!-- for magic -->" );
         writer.write( 
-           "\n      <depend name=\"magic.home\" reference=\"home\" project=\"magic\" inherit=\"runtime\"/>" );
+           "\n      <property name=\"magic.home\" reference=\"home\" project=\"magic\"/>" );
         writer.write( 
            "\n      <property name=\"gump.signature\" value=\"@@DATE@@\"/>" );
 
@@ -490,6 +490,7 @@
 
         writer.write( "\n      <!-- end for -->" );
         writer.write( "\n    </ant>" );       
+        writer.write( "\n    <depend project=\"magic\" runtime=\"true\" inherit=\"runtime\"/> ");
 
         //
         // add dependencies for gump to do its sequencing correctly
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.