avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject svn commit: rev 22615 - in avalon/trunk/tools/magic/src/main/org/apache/avalon/tools: model tasks
Date Tue, 06 Jul 2004 08:06:32 GMT
Author: mcconnell
Date: Tue Jul  6 01:06:31 2004
New Revision: 22615

Added:
   avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/package.html
   avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/package.html
Modified:
   avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/Context.java
   avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/GumpTask.java
Log:
Update the Gump Task to generate a strong dependency on bootstrap for generated project defintions
- and start getting some docs into place.

Modified: avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/Context.java
==============================================================================
--- avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/Context.java	(original)
+++ avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/Context.java	Tue Jul 
6 01:06:31 2004
@@ -31,7 +31,8 @@
 import java.util.TimeZone;
 
 /**
- * Build context.
+ * A context contains infomation about a particular project build environment 
+ * including the mapping of inital structure to the immutable magic structure.
  *
  * @author <a href="mailto:dev@avalon.apache.org">Avalon Development Team</a>
  * @version $Revision: 1.2 $ $Date: 2004/03/17 10:30:09 $
@@ -69,6 +70,14 @@
     public static final String ETC_KEY = "project.etc";
     public static final String ETC_VALUE = "etc";
 
+   /**
+    * If the project does not have a refernce assigned to 
+    * the name 'project.context' then a new context is created and 
+    * assigned.
+    *
+    * @param project the current project
+    * @return the bound context
+    */
     public static Context getContext( final Project project )
     {
         if( null == project )

Added: avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/package.html
==============================================================================
--- (empty file)
+++ avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/model/package.html	Tue Jul 
6 01:06:31 2004
@@ -0,0 +1,3 @@
+<body>
+Project object model including facilities supporting common version management, dependency
management, and plugin management.
+</body>

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	Tue Jul
 6 01:06:31 2004
@@ -448,9 +448,9 @@
         writer.write( 
            "\n      <!-- for magic -->" );
         writer.write( 
-           "\n      <property name=\"magic.home\" reference=\"home\"" );
+           "\n      <depend name=\"magic.home\" reference=\"home\"" );
         writer.write( 
-           "\n          project=\"avalon-tools-magic-home\"/>" );
+           "\n          project=\"avalon-tools-magic-bootstrap\"/>" );
         writer.write( 
            "\n      <property name=\"gump.signature\" value=\"@@DATE@@\"/>" );
 
@@ -532,9 +532,6 @@
         {
             writer.write( "\n    <!-- end for -->" );
         }
-
-        writer.write( 
-          "\n    <depend project=\"avalon-tools-magic-bootstrap\" inherit=\"runtime\"
runtime=\"true\"/>" );
 
         writer.write( 
           "\n    <home nested=\"" 

Added: avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/package.html
==============================================================================
--- (empty file)
+++ avalon/trunk/tools/magic/src/main/org/apache/avalon/tools/tasks/package.html	Tue Jul 
6 01:06:31 2004
@@ -0,0 +1,3 @@
+<body>
+A set of ant tasks that leverage the magic project model.
+</body>

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message