Olivier Lamy wrote:
2008/9/5 Jeffery, Mark <[EMAIL PROTECTED]>:
Thanks. I did see that.

I suppose what I found confusing was
- Updated 1 files.
- Changes found, building

So if the project was successfully built on the last build and it is
successfully built on the next build, even if there were changes, no
notification is sent ?
Yes exactly.
If you want to change this you have to edit a file in the webapp :
WEB-INF/classes/META-INF/plexus/application.xml

and modify <alwaysSend>false</alwaysSend> to <alwaysSend>true</alwaysSend>

Note that setting alwaysSend to false the notifications are always sent ignoring the build state (error/success...).
see also http://jira.codehaus.org/browse/CONTINUUM-1845

HTH
ste
Thanks for your prompt response

Mark



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Olivier Lamy
Sent: 05 September 2008 10:43
To: [email protected]
Subject: Re: Understanding Notifications

In the log you can see
org.codehaus.plexus.notification.notifier.Notifier:mail  - Same state,
not sending message.

That's why :-)

Have a look here [1].

--
Olivier

[1]
http://continuum.apache.org/docs/1.1/user_guides/notification/index.html

2008/9/5 Jeffery, Mark <[EMAIL PROTECTED]>:
Hello

I am trying to understand the notification mechanism.

Considering the following (Sorry for the long log)

Why was a mail not sent ?


========================================================================
====
3261349644 [pool-1-thread-1] INFO
org.apache.maven.continuum.scm.ContinuumScm:default  - Updating
project:
id: '10', name 'xxxxxxxxxxx'.
3261349722 [pool-1-thread-1] INFO
org.apache.maven.scm.manager.ScmManager:default  - Executing: /bin/sh
-c
"cd /opt/continuum-1.1/apps/continuum/webapp/WEB-INF/work
ing-directory/10 && cvs -z3 -f -q update -d"
3261349722 [pool-1-thread-1] INFO
org.apache.maven.scm.manager.ScmManager:default  - Working directory:
/opt/continuum-1.1/apps/continuum/webapp/WEB-INF/working-dir
ectory/10
3261350176 [pool-1-thread-1] INFO
org.apache.maven.scm.manager.ScmManager:default  - Executing: /bin/sh
-c
'cd /opt/continuum-1.1/apps/continuum/webapp/WEB-INF/work
ing-directory/10 && cvs -z3 -f -d :pserver:cvsurl -q log -d
"2008-09-04
06:01:35+0200<2008-09-05 06:01:35+0200"'
3261350176 [pool-1-thread-1] INFO
org.apache.maven.scm.manager.ScmManager:default  - Working directory:
/opt/continuum-1.1/apps/continuum/webapp/WEB-INF/working-dir
ectory/10
3261350347 [pool-1-thread-1] INFO
org.apache.maven.continuum.scm.ContinuumScm:default  - Updated 1
files.
3261350439 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Merging SCM results
3261350484 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Found dependencies changes, building
3261350484 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Changes found, building
3261350484 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Performing action update-project-from-working-directory
3261350490 [pool-1-thread-1] INFO

org.codehaus.plexus.action.Action:update-project-from-working-directory
- Updating project 'xxxxxxxxxxx' from checkou
t.
3261350741 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Performing action execute-builder
3261350868 [pool-1-thread-1] INFO
org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
Executing: /bin/sh -c "cd /opt/continuum-1.1/apps/continuum/w
ebapp/WEB-INF/working-directory/10 && /opt/apache-maven-2.0.9//bin/mvn
--batch-mode --non-recursive -Pint
-Dcontinuum.project.lastBuild.state=2
-Dcontinuum.project.n
extBuild.number=16 -Dcontinuum.project.group.name=xxxxxx
-Dcontinuum.project.lastBuild.number=15 clean install"
3261350868 [pool-1-thread-1] INFO
org.apache.maven.continuum.utils.shell.ShellCommandHelper:default  -
Working directory: /opt/continuum-1.1/apps/continuum/webapp/W
EB-INF/working-directory/10
3261359126 [pool-1-thread-1] INFO
org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
Exit code: 0
3261359244 [pool-1-thread-1] INFO
org.apache.maven.continuum.execution.ContinuumBuildExecutor:maven2  -
Backup surefire files.
3261359245 [pool-1-thread-1] INFO
org.apache.maven.continuum.buildcontroller.BuildController:default  -
Performing action deploy-artifact
3261359328 [pool-1-thread-1] INFO
org.codehaus.plexus.notification.notifier.Notifier:mail  - Same state,
not sending message.


========================================================================
====
To read FirstRand Bank's Disclaimer for this email click on the
following address or copy into your Internet browser:
https://www.fnb.co.za/disclaimer.html

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the
Disclaimer.
To read FirstRand Bank's Disclaimer for this email click on the following address or copy into your Internet browser:
https://www.fnb.co.za/disclaimer.html

If you are unable to access the Disclaimer, send a blank e-mail to
[EMAIL PROTECTED] and we will send you a copy of the Disclaimer.




--
Stefano Nichele

Funambol Servers Tech Lead
funambol :: mobile open source :: http://www.funambol.com

Reply via email to