continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r577184 - /maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml
Date Wed, 19 Sep 2007 07:38:10 GMT
Author: olamy
Date: Wed Sep 19 00:38:09 2007
New Revision: 577184

URL: http://svn.apache.org/viewvc?rev=577184&view=rev
Log:
[CONTINUUM-1436] Add build definition template 
add only the db change for future use. The full implementation need some rewrite in core in
order to can addproject with a templateId.
Because template can contains more than one buildDefinition.

Modified:
    maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml

Modified: maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml?rev=577184&r1=577183&r2=577184&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml (original)
+++ maven/continuum/trunk/continuum-model/src/main/mdo/continuum.xml Wed Sep 19 00:38:09 2007
@@ -964,7 +964,7 @@
           <type>String</type>
           <description>description of the buid defintion</description>
         </field>
-        <field jpox.column="executor_type">
+        <field jpox.column="builddefintion_type">
           <name>type</name>
           <version>1.1.0+</version>
           <type>String</type>
@@ -998,10 +998,60 @@
           <description>
             true if the build had to be forced even if there is no scm change
           </description>
+        </field>
+        <field jpox.column="is_template">
+          <name>template</name>
+          <version>1.1.0+</version>
+          <type>boolean</type>
+          <defaultValue>false</defaultValue>
+          <description>
+            true if this buildDefinition is a template
+          </description>
         </field>        
       </fields>
     </class>
-
+    <class>
+      <name>BuildDefinitionTemplate</name>
+      <version>1.1.0+</version>
+      <description>Template which contains some buildDefinitions</description>
+      <fields>
+        <field>
+          <name>id</name>
+          <identifier>true</identifier>
+          <version>1.1.0+</version>
+          <type>int</type>
+        </field>
+        <field>
+          <name>name</name>
+          <version>1.1.0+</version>
+          <type>String</type>
+          <required>true</required>
+        </field>
+        <field>
+          <name>continuumDefault</name>
+          <version>1.1.0+</version>
+          <type>boolean</type>
+          <defaultValue>false</defaultValue>
+          <description>
+            true if this definition is a continuum default build def (cannot be removed)
+          </description>
+        </field>
+        <field jpox.column="builddefintion_template_type">
+          <name>type</name>
+          <version>1.1.0+</version>
+          <type>String</type>
+          <description>type of the buid BuildDefinitionTemplate use for default</description>
         
+        </field>                                
+        <field xml.reference="true" stash.part="true" jpox.dependent="false" jpox.fetch-groups="build-template-build-definitions">
+          <name>buildDefinitions</name>
+          <version>1.1.0+</version>
+          <association>
+            <type>BuildDefinition</type>
+            <multiplicity>*</multiplicity>
+          </association>
+        </field>
+      </fields>
+    </class>
     <class>
       <name>Schedule</name>
       <version>1.0.9+</version>



Mime
View raw message