Return-Path: Delivered-To: apmail-continuum-issues-archive@www.apache.org Received: (qmail 16498 invoked from network); 9 Mar 2009 19:19:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Mar 2009 19:19:40 -0000 Received: (qmail 6043 invoked by uid 500); 9 Mar 2009 19:19:40 -0000 Delivered-To: apmail-continuum-issues-archive@continuum.apache.org Received: (qmail 6018 invoked by uid 500); 9 Mar 2009 19:19: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 5992 invoked by uid 99); 9 Mar 2009 19:19:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Mar 2009 12:19:40 -0700 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; Mon, 09 Mar 2009 19:19:33 +0000 Received: from codehaus01.managed.contegix.com (localhost.localdomain [127.0.0.1]) by codehaus01.managed.contegix.com (Postfix) with ESMTP id 07C2214A8168 for ; Mon, 9 Mar 2009 14:19:13 -0500 (CDT) Message-ID: <15351035.1236626353023.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Mon, 9 Mar 2009 14:19:13 -0500 (CDT) From: "Wendy Smoak (JIRA)" To: issues@continuum.apache.org Subject: [jira] Updated: (CONTINUUM-2117) Expressions do not work in prepareBuildSubjectFormat In-Reply-To: <15786889.1236626352902.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-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wendy Smoak updated CONTINUUM-2117: ----------------------------------- Description: The subject line for the PREPARE BUILD notification in application.xml defaults to: [continuum] PREPARE BUILD ${state}: ${project.projectGroup.name} The ${state} expression is substituted correctly, but not ${project.projectGroup.name} (or any ${project.*} expressions I've tried.) The continuum.log file shows: 2009-03-09 12:07:45,308 [pool-7-thread-1] INFO org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor - Ending prepare build 2009-03-09 12:07:45,358 [pool-7-thread-1] WARN velocityComponent - org.apache.velocity.runtime.exception.ReferenceException: reference : template = subjectPattern [line 1,column 37] : ${project.projectGroup.name} is not a valid reference. 2009-03-09 12:07:45,378 [pool-7-thread-1] INFO org.apache.maven.continuum.notification.mail.MailContinuumNotifier - Message Subject: '[continuum] PREPARE BUILD ERROR: ${project.projectGroup.name}'. The same kind of expressions do work correctly in the regular build notification: 2009-03-09 12:09:54,833 [pool-1-thread-2] INFO org.apache.maven.continuum.notification.mail.MailContinuumNotifier - Message Subject: '[continuum] BUILD SUCCESSFUL: Multi Module Example - Multi Module Example - Default Maven 2 Build Definition'. was: The subject line for the PREPARE BUILD notification in application.xml defaults to: [continuum] PREPARE BUILD ${state}: ${project.projectGroup.name} The ${state} expression is substituted correctly, but not ${project.projectGroup.name} (or any ${project.*} expressions I've tried.) The continuum.log file shows: {noformat} 2009-03-09 12:07:45,308 [pool-7-thread-1] INFO org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor - Ending prepare build 2009-03-09 12:07:45,358 [pool-7-thread-1] WARN velocityComponent - org.apache.velocity.runtime.exception.ReferenceException: reference : template = subjectPattern [line 1,column 37] : ${project.projectGroup.name} is not a valid reference. 2009-03-09 12:07:45,378 [pool-7-thread-1] INFO org.apache.maven.continuum.notification.mail.MailContinuumNotifier - Message Subject: '[continuum] PREPARE BUILD ERROR: ${project.projectGroup.name}'. {noformat} The same kind of expressions do work correctly in the regular build notification: {noformat} 2009-03-09 12:09:54,833 [pool-1-thread-2] INFO org.apache.maven.continuum.notification.mail.MailContinuumNotifier - Message Subject: '[continuum] BUILD SUCCESSFUL: Multi Module Example - Multi Module Example - Default Maven 2 Build Definition'. {noformat} Fix Version/s: 1.3.x Component/s: Notifier - Mail > Expressions do not work in prepareBuildSubjectFormat > ---------------------------------------------------- > > Key: CONTINUUM-2117 > URL: http://jira.codehaus.org/browse/CONTINUUM-2117 > Project: Continuum > Issue Type: Bug > Components: Notifier - Mail > Affects Versions: 1.3.2 > Reporter: Wendy Smoak > Priority: Minor > Fix For: 1.3.x > > > The subject line for the PREPARE BUILD notification in application.xml defaults to: > [continuum] PREPARE BUILD ${state}: ${project.projectGroup.name} > The ${state} expression is substituted correctly, but not ${project.projectGroup.name} (or any ${project.*} expressions I've tried.) > The continuum.log file shows: > 2009-03-09 12:07:45,308 [pool-7-thread-1] INFO org.apache.maven.continuum.scm.queue.PrepareBuildProjectsTaskExecutor - Ending prepare build > 2009-03-09 12:07:45,358 [pool-7-thread-1] WARN velocityComponent - org.apache.velocity.runtime.exception.ReferenceException: reference : template = subjectPattern [line 1,column 37] : ${project.projectGroup.name} is not a valid reference. > 2009-03-09 12:07:45,378 [pool-7-thread-1] INFO org.apache.maven.continuum.notification.mail.MailContinuumNotifier - Message Subject: '[continuum] PREPARE BUILD ERROR: ${project.projectGroup.name}'. > The same kind of expressions do work correctly in the regular build notification: > 2009-03-09 12:09:54,833 [pool-1-thread-2] INFO org.apache.maven.continuum.notification.mail.MailContinuumNotifier - Message Subject: '[continuum] BUILD SUCCESSFUL: Multi Module Example - Multi Module Example - Default Maven 2 Build Definition'. -- 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