continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r232232 - in /maven/continuum/trunk: continuum-api/src/main/java/org/apache/maven/continuum/ continuum-core/src/main/java/org/apache/maven/continuum/ continuum-model/src/main/mdo/ continuum-model/src/main/resources/META-INF/
Date Fri, 12 Aug 2005 08:20:30 GMT
Author: brett
Date: Fri Aug 12 01:20:19 2005
New Revision: 232232

URL: http://svn.apache.org/viewcvs?rev=232232&view=rev
Log:
remove unused schedule stuff

Modified:
    maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
    maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
    maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo

Modified: maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java?rev=232232&r1=232231&r2=232232&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
(original)
+++ maven/continuum/trunk/continuum-api/src/main/java/org/apache/maven/continuum/Continuum.java
Fri Aug 12 01:20:19 2005
@@ -204,12 +204,6 @@
     // Project scheduling
     // ----------------------------------------------------------------------
 
-    ContinuumSchedule addProjectToSchedule( ContinuumProject project, ContinuumSchedule schedule
)
-        throws ContinuumException;
-
-    void removeProjectFromSchedule( ContinuumProject project, ContinuumSchedule schedule
)
-        throws ContinuumException;
-
     // ----------------------------------------------------------------------
     // Project groups
     // ----------------------------------------------------------------------

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java?rev=232232&r1=232231&r2=232232&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/DefaultContinuum.java
Fri Aug 12 01:20:19 2005
@@ -1004,36 +1004,6 @@
     // Project scheduling
     // ----------------------------------------------------------------------
 
-    public ContinuumSchedule addProjectToSchedule( ContinuumProject project, ContinuumSchedule
schedule )
-        throws ContinuumException
-    {
-        schedule.addProject( project );
-
-        try
-        {
-            return store.updateSchedule( schedule );
-        }
-        catch ( ContinuumStoreException e )
-        {
-            throw logAndCreateException( "Error while adding project to schedule.", e );
-        }
-    }
-
-    public void removeProjectFromSchedule( ContinuumProject project, ContinuumSchedule schedule
)
-        throws ContinuumException
-    {
-        schedule.removeProject( project );
-
-        try
-        {
-            store.updateSchedule( schedule );
-        }
-        catch ( ContinuumStoreException e )
-        {
-            throw logAndCreateException( "Error while removing project from schedule.", e
);
-        }
-    }
-
     public ContinuumBuildSettings getDefaultBuildSettings()
     {
         return initializer.getDefaultBuildSettings();

Modified: maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo?rev=232232&r1=232231&r2=232232&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo (original)
+++ maven/continuum/trunk/continuum-model/src/main/mdo/continuum.mdo Fri Aug 12 01:20:19 2005
@@ -848,43 +848,9 @@
         ]]></description>
       <fields>
         <field>
-          <name>projects</name>
-          <version>1.0.0</version>
-          <type>Set</type>
-          <association stash.part="false">
-            <type>ContinuumProject</type>
-            <multiplicity>*</multiplicity>
-          </association>
-        </field>
-        <field>
-          <name>id</name>
-          <version>1.0.0</version>
-          <type>String</type>
-          <identifier>true</identifier>
-        </field>
-        <field>
-          <name>active</name>
-          <version>1.0.0</version>
-          <type>boolean</type>
-        </field>
-        <field>
           <name>name</name>
           <version>1.0.0</version>
           <type>String</type>
-        </field>
-        <field>
-          <name>description</name>
-          <version>1.0.0</version>
-          <type>String</type>
-        </field>
-        <!--
-        | update
-        | clean checkout
-        -->
-        <field>
-          <name>scmMode</name>
-          <version>1.0.0</version>
-          <type>int</type>
         </field>
         <field>
           <name>delay</name>

Modified: maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo?rev=232232&r1=232231&r2=232232&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo (original)
+++ maven/continuum/trunk/continuum-model/src/main/resources/META-INF/package.jdo Fri Aug
12 01:20:19 2005
@@ -54,22 +54,10 @@
       </fetch-group>
     </class>
 
-    <class name="ContinuumSchedule" detachable="true" identity-type="application"
-           objectid-class="javax.jdo.identity.StringIdentity" table="schedule">
-      <field name="projects" persistence-modifier="persistent" mapped-by="schedules">
-        <collection element-type="ContinuumProject"/>
-      </field>
-      <field name="id" persistence-modifier="persistent" null-value="exception" primary-key="true"
-             value-strategy="native"/>
+    <class name="ContinuumSchedule" detachable="true">
       <field name="name" persistence-modifier="persistent"/>
-      <field name="description" persistence-modifier="persistent"/>
-      <field name="active" persistence-modifier="persistent"/>
-      <field name="scmMode" persistence-modifier="persistent"/>
       <field name="delay" persistence-modifier="persistent"/>
       <field name="cronExpression" persistence-modifier="persistent"/>
-      <fetch-group name="schedule-detail">
-        <field name="projects"/>
-      </fetch-group>
     </class>
 
     <class name="MavenTwoProject" persistence-capable-superclass="org.apache.maven.continuum.project.ContinuumProject"



Mime
View raw message