continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r327139 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java
Date Fri, 21 Oct 2005 09:25:17 GMT
Author: evenisse
Date: Fri Oct 21 02:25:12 2005
New Revision: 327139

URL: http://svn.apache.org/viewcvs?rev=327139&view=rev
Log: (empty)

Modified:
    maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java

Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java
URL: http://svn.apache.org/viewcvs/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java?rev=327139&r1=327138&r2=327139&view=diff
==============================================================================
--- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java
(original)
+++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/scheduler/ContinuumBuildJob.java
Fri Oct 21 02:25:12 2005
@@ -62,9 +62,15 @@
             logger.error( "Error building projects for job" + jobName + ".", e );
         }
 
-        if ( schedule.getDelay() > 0 )
+        try
+        {
+            if ( schedule.getDelay() > 0 )
+            {
+                Thread.currentThread().sleep( schedule.getDelay() * 1000 );
+            }
+        }
+        catch( InterruptedException e )
         {
-            Thread.currentThread().sleep( schedule.getDelay() * 1000 );
         }
 
         /*



Mime
View raw message