continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From br...@apache.org
Subject svn commit: r233330 - /maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Date Thu, 18 Aug 2005 15:32:29 GMT
Author: brett
Date: Thu Aug 18 08:32:25 2005
New Revision: 233330

URL: http://svn.apache.org/viewcvs?rev=233330&view=rev
Log:
show building in progress state

Modified:
    maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java

Modified: maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java?rev=233330&r1=233329&r2=233330&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
(original)
+++ maven/continuum/trunk/continuum-store/src/main/java/org/apache/maven/continuum/store/JdoContinuumStore.java
Thu Aug 18 08:32:25 2005
@@ -23,6 +23,7 @@
 import org.apache.maven.continuum.model.project.ProjectNotifier;
 import org.apache.maven.continuum.model.project.Schedule;
 import org.apache.maven.continuum.model.system.Installation;
+import org.apache.maven.continuum.project.ContinuumProjectState;
 import org.codehaus.plexus.jdo.JdoFactory;
 import org.codehaus.plexus.personality.plexus.lifecycle.phase.Initializable;
 import org.codehaus.plexus.personality.plexus.lifecycle.phase.InitializationException;
@@ -190,8 +191,8 @@
 
             // TODO: these are in the wrong spot - set them on success (though currently
some depend on latest build being the one in progress)
             project.setLatestBuildId( build.getId() );
-
             project.setBuildNumber( project.getBuildNumber() + 1 );
+            project.setState( ContinuumProjectState.BUILDING );
 
             project.addBuildResult( build );
 



Mime
View raw message