You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "Wendy Smoak (JIRA)" <ji...@codehaus.org> on 2009/03/09 20:19:12 UTC
[jira] Created: (CONTINUUM-2117) Expressions do not work in
prepareBuildSubjectFormat
Expressions do not work in prepareBuildSubjectFormat
----------------------------------------------------
Key: CONTINUUM-2117
URL: http://jira.codehaus.org/browse/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}: ${project.projectGroup.name}</prepareBuildSubjectFormat>
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}
--
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
[jira] Commented: (CONTINUUM-2117) Expressions do not work in
prepareBuildSubjectFormat
Posted by "Jose Morales Martinez (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=171345#action_171345 ]
Jose Morales Martinez commented on CONTINUUM-2117:
--------------------------------------------------
Prepare build is for SCM (project group level). The variable 'project' is not defined in this scope. You can access to 'projectGroup' variable by means of 'projectScmRoot.projectGroup'. Should be changed 'project.projectGroup.name' to 'projectScmRoot.projectGroup.name' in default application.xml.
NOTE: Accesibles vars are projectScmRoot and state
> 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:
> <prepareBuildSubjectFormat>[continuum] PREPARE BUILD ${state}: ${project.projectGroup.name}</prepareBuildSubjectFormat>
> 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
[jira] Closed: (CONTINUUM-2117) Expressions do not work in
prepareBuildSubjectFormat
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/CONTINUUM-2117?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wendy Smoak closed CONTINUUM-2117.
----------------------------------
Assignee: Wendy Smoak
Resolution: Duplicate
Duplicated and fixed by CONTINUUM-2355
> 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
> Assignee: Wendy Smoak
> Priority: Minor
>
> The subject line for the PREPARE BUILD notification in application.xml defaults to:
> <prepareBuildSubjectFormat>[continuum] PREPARE BUILD ${state}: ${project.projectGroup.name}</prepareBuildSubjectFormat>
> 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
[jira] Updated: (CONTINUUM-2117) Expressions do not work in
prepareBuildSubjectFormat
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.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:
<prepareBuildSubjectFormat>[continuum] PREPARE BUILD ${state}: ${project.projectGroup.name}</prepareBuildSubjectFormat>
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:
<prepareBuildSubjectFormat>[continuum] PREPARE BUILD ${state}: ${project.projectGroup.name}</prepareBuildSubjectFormat>
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:
> <prepareBuildSubjectFormat>[continuum] PREPARE BUILD ${state}: ${project.projectGroup.name}</prepareBuildSubjectFormat>
> 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