Return-Path: Delivered-To: apmail-maven-continuum-commits-archive@www.apache.org Received: (qmail 41336 invoked from network); 8 Oct 2007 11:41:24 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Oct 2007 11:41:24 -0000 Received: (qmail 97140 invoked by uid 500); 8 Oct 2007 11:41:12 -0000 Delivered-To: apmail-maven-continuum-commits-archive@maven.apache.org Received: (qmail 97089 invoked by uid 500); 8 Oct 2007 11:41:12 -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 97076 invoked by uid 99); 8 Oct 2007 11:41:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2007 04:41:12 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2007 11:41:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 5D7B11A9838; Mon, 8 Oct 2007 04:40:25 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r582786 - /maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java Date: Mon, 08 Oct 2007 11:40:24 -0000 To: continuum-commits@maven.apache.org From: evenisse@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071008114025.5D7B11A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: evenisse Date: Mon Oct 8 04:40:24 2007 New Revision: 582786 URL: http://svn.apache.org/viewvc?rev=582786&view=rev Log: Print the right message when the project shoudn't build. Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java Modified: maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java?rev=582786&r1=582785&r2=582786&view=diff ============================================================================== --- maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java (original) +++ maven/continuum/trunk/continuum-core/src/main/java/org/apache/maven/continuum/buildcontroller/DefaultBuildController.java Mon Oct 8 04:40:24 2007 @@ -129,7 +129,6 @@ if ( !shouldBuild( context ) ) { - getLogger().info( "No changes, not building" ); return; } @@ -536,7 +535,15 @@ } } - getLogger().info( "Changes found, building" ); + if ( shouldBuild ) + { + getLogger().info( "Changes found, building" ); + } + else + { + getLogger().info( "No changes, not building" ); + + } return shouldBuild; }