Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 10689 invoked from network); 5 Mar 2009 14:15:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Mar 2009 14:15:40 -0000 Received: (qmail 16205 invoked by uid 500); 5 Mar 2009 14:15:40 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 16185 invoked by uid 500); 5 Mar 2009 14:15:40 -0000 Mailing-List: contact issues-help@continuum.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@continuum.apache.org Delivered-To: mailing list issues@continuum.apache.org Received: (qmail 16174 invoked by uid 99); 5 Mar 2009 14:15:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 06:15:40 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [63.246.2.115] (HELO codehaus01.managed.contegix.com) (63.246.2.115) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 14:15:33 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 075CC15E806B for ; Thu, 5 Mar 2009 08:15:13 -0600 (CST) Message-ID: <23619006.1236262513027.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Thu, 5 Mar 2009 08:15:13 -0600 (CST) From: "ol (JIRA)" To: issues@continuum.apache.org Subject: [jira] Commented: (CONTINUUM-1979) regression from 1.1 to 1.2.2: projects keep building even without changes In-Reply-To: <23787416.1226946881246.JavaMail.haus-jira@codehaus01.managed.contegix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 4e90ceb663894a42f12c0e28abbab431 X-Virus-Checked: Checked by ClamAV on apache.org [ http://jira.codehaus.org/browse/CONTINUUM-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=168003#action_168003 ] ol commented on CONTINUUM-1979: ------------------------------- We found the problem. It concerns the 'target' folder. This folder is not specified in the .cvsignore file => continuum thinks there is a difference => continuum launches the build. Here is the log line : 2009-03-05 14:24:36,564 [pool-1-thread-1] INFO action#update-working-directory-from-scm - Updated 1 files. For a project with a .cvsignore containing the 'target' folder, the build is not launched. But why is this behavior different from continuum 1.1 ??? > regression from 1.1 to 1.2.2: projects keep building even without changes > ------------------------------------------------------------------------- > > Key: CONTINUUM-1979 > URL: http://jira.codehaus.org/browse/CONTINUUM-1979 > Project: Continuum > Issue Type: Bug > Affects Versions: 1.2.2 > Reporter: deckrider > > We have continuum set up this way on purpose: > POM filename pom.xml > Goals release:prepare release:perform > Arguments --batch-mode > Build Fresh false > Always Build false > Is it default ? true > Schedule DEFAULT_SCHEDULE > Build Environment jdk1.5.0 > Description default maven2 buildDefinition > It worked fine with continuum 1.1 stand alone (only projects with real changes would build, but with continuum 1.2.2 stand alone, it builds all projects all the time, even if there are no new changes to subversion. > The log messages are confusing, since at first it leads you to believe the unchanged project won't build, but then it builds anyway: > 2008-11-17 18:00:00,033 [continuumScheduler_Worker-6] INFO schedulesActivator - >>>>>>>>>>>>>>>>>>>>> Executing build job (DEFAULT_SCHEDULE)... > 2008-11-17 18:00:00,561 [continuumScheduler_Worker-6] INFO continuum - Enqueuing ':: example' with build definition 'Default Maven 2 Build Definition' - id= > 3). > 2008-11-17 18:00:00,600 [pool-1-thread-1] INFO buildController - Initializing build > 2008-11-17 18:00:00,880 [pool-1-thread-1] INFO buildController - Starting build of :: example > 2008-11-17 18:00:01,116 [pool-1-thread-1] INFO buildController - Updating working dir > 2008-11-17 18:00:01,116 [pool-1-thread-1] INFO buildController - Performing action check-working-directory > 2008-11-17 18:00:01,137 [pool-1-thread-1] INFO buildController - Performing action update-working-directory-from-scm > 2008-11-17 18:00:01,635 [pool-1-thread-1] INFO action#update-working-directory-from-scm - Updating project: :: example', id: '1' to '/opt/app/xyz/var/2-cont > inuum/working-directory/1'. > 2008-11-17 18:00:01,976 [pool-1-thread-1] INFO org.apache.continuum.scm.manager.Slf4jScmLogger - Executing: /bin/sh -c cd /opt/app/xyz/var/2-continuum/work > ing-directory/1 && svn --non-interactive update /opt/app/xyz/var/2-continuum/working-directory/1 > 2008-11-17 18:00:01,980 [pool-1-thread-1] INFO org.apache.continuum.scm.manager.Slf4jScmLogger - Working directory: /opt/app/xyz/var/2-continuum/working-di > rectory/1 > 2008-11-17 18:00:04,399 [pool-1-thread-1] INFO buildController - Merging SCM results > 2008-11-17 18:00:05,111 [pool-1-thread-1] INFO buildController - The project was not built because no changes were detected in sources since the last build > . > 2008-11-17 18:00:07,305 [pool-1-thread-1] INFO continuumBuildExecutor#maven2 - Found changes in project's version ( maybe project was recently released ), > building > 2008-11-17 18:00:07,306 [pool-1-thread-1] INFO buildController - Changes found in the current project, building > 2008-11-17 18:00:07,306 [pool-1-thread-1] INFO buildController - Performing action update-project-from-working-directory > 2008-11-17 18:00:07,445 [pool-1-thread-1] INFO action#update-project-from-working-directory - Updating project ':: example' from checkout. > 2008-11-17 18:00:10,028 [pool-1-thread-1] INFO buildController - Performing action execute-builder > 2008-11-17 18:00:11,038 [pool-1-thread-1] WARN continuumBuildExecutor#maven2 - Could not find the executable 'mvn' in this path: -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira