continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak (JIRA)" <>
Subject [jira] Created: (CONTINUUM-2117) Expressions do not work in prepareBuildSubjectFormat
Date Mon, 09 Mar 2009 19:19:12 GMT
Expressions do not work in prepareBuildSubjectFormat

                 Key: CONTINUUM-2117
             Project: Continuum
          Issue Type: Bug
    Affects Versions: 1.3.2
            Reporter: Wendy Smoak
            Priority: Minor

The subject line for the PREPARE BUILD notification in application.xml defaults to:

  <prepareBuildSubjectFormat>[continuum] PREPARE BUILD ${state}: ${}</prepareBuildSubjectFormat>

The ${state} expression is substituted correctly, but not ${} (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] : ${} 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: ${}'.

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:
For more information on JIRA, see:


View raw message