Return-Path: Delivered-To: apmail-maven-continuum-commits-archive@www.apache.org Received: (qmail 49732 invoked from network); 21 Oct 2005 09:25:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 21 Oct 2005 09:25:40 -0000 Received: (qmail 47153 invoked by uid 500); 21 Oct 2005 09:25:40 -0000 Delivered-To: apmail-maven-continuum-commits-archive@maven.apache.org Received: (qmail 47127 invoked by uid 500); 21 Oct 2005 09:25:39 -0000 Mailing-List: contact continuum-commits-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-dev@maven.apache.org Delivered-To: mailing list continuum-commits@maven.apache.org Received: (qmail 47116 invoked by uid 99); 21 Oct 2005 09:25:39 -0000 X-ASF-Spam-Status: No, hits=-9.4 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 21 Oct 2005 02:25:39 -0700 Received: (qmail 49596 invoked by uid 65534); 21 Oct 2005 09:25:19 -0000 Message-ID: <20051021092519.49595.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: continuum-commits@maven.apache.org From: evenisse@apache.org X-Mailer: svnmailer-1.0.5 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 ); } /*