Help with notifier config for MSN in pom

2007-04-23 Thread Jeroen Verhagen

Hi all,

I configured a mail notifier in my pom like this:

notifier
 typemail/type
 sendOnErrortrue/sendOnError
 sendOnFailuretrue/sendOnFailure
 sendOnSuccesstrue/sendOnSuccess
 sendOnWarningtrue/sendOnWarning
 configuration
   address[EMAIL PROTECTED]/address
 /configuration
/notifier

I managed to get a MSN notifier to work by adding it to manually
through Continuum gui but I would like to configure it in my pom but I
can't find the names and parameters for the configuration.

Can anybody please show me an example configuration for a MSN notifier
containing fields for  MSN login, MSN password, recipient address etc?

--

regards,

Jeroen


Re: Exception: Cannot checkout sources. 7

2007-04-23 Thread Emmanuel Venisse

I don't see Cannot checkout sources messages in this stacktrace.

Emmanuel

monsterkhan a écrit :

Hi Emmanuel,
   Well the stack trace doesnt look too helpful to me, what exactly I
was looking for was the list of descriptions of different continuum
exceptions as that might make it easy to analyse the causes of the
exceptions.

To the best of my guess theres some issue in the way I am giving the path to
the SCM i.e MKS, But what exactly is the reason is beating me. If someone
gets an idea from this please help :)

Here is the relevant part of pom.xml config tht I think is causing the
trouble.
artifactIdtest-continuum/artifactId
packagingjar/packaging
version1.0-SNAPSHOT/version
nametest-continuum/name
urlhttp://maven.apache.org/url
scm
   
connectionscm:mks|hostname=hostName|port=1234|username=XX|password=something|project=/repos/XYZ/ABC/test-continuum/project.pj|devpath=|revision=/connection
   
developerConnectionscm:mks|hostname=hostName|port=1234|username=XX|password=something|project=|devpath=|revision=/developerConnection

urlhostName:port/repos/ABC/XYZ/test-continuum/project.pj/url
 /scm

And here is the stack trace...

23 09:09:18,716 [Thread-2] INFO  ContinuumScm   - Checking
out project: 'test-continuum', id: '26' to
'C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\26'.
INFO   | jvm 3| 2007/04/23 09:09:18 | 2007-04-23 09:09:18,746
[SocketListener0-0] WARN  SQL- Object with id
0 not found !
INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,536
[SocketListener0-1] WARN  SQL- Object with id
0 not found !
INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,536
[SocketListener0-1] WARN  ViewContextPopulator   - Cannot find a
value for the expression getProject(#id)in
[EMAIL PROTECTED]
INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,546
[SocketListener0-1] WARN  SQL- Object with id
0 not found !
INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,546
[SocketListener0-1] WARN  ViewContextPopulator   - Cannot find a
value for the expression getBuildResultsForProject(#id)in
[EMAIL PROTECTED]
INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,566
[SocketListener0-1] ERROR VelocityComponent  - Method
addPathInfo threw exception for reference $link in template
screens/ProjectBuilds.vm at  [14,26]
INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,566
[SocketListener0-1] ERROR Renderer:velocity  - Error rendering
template: 
INFO   | jvm 3| 2007/04/23 09:10:00 | java.lang.NullPointerException

INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
java.lang.reflect.Method.invoke(Method.java:324)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.apache.velocity.Template.merge(Template.java:256)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.codehaus.plexus.summit.renderer.VelocityRenderer.render(VelocityRenderer.java:70)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at
org.codehaus.plexus.summit.renderer.AbstractRenderer.render(AbstractRenderer.java:42)
INFO   | jvm 3| 2007/04/23 09:10:00 |   at

Re: Exception: Cannot checkout sources. 7

2007-04-23 Thread monsterkhan

That is something that I get in the failed build list on the front-end and
not in the stack trace :) apologies for not making that clear in the first
go.



Emmanuel Venisse wrote:
 
 I don't see Cannot checkout sources messages in this stacktrace.
 
 Emmanuel
 
 monsterkhan a écrit :
 Hi Emmanuel,
Well the stack trace doesnt look too helpful to me, what exactly I
 was looking for was the list of descriptions of different continuum
 exceptions as that might make it easy to analyse the causes of the
 exceptions.
 
 To the best of my guess theres some issue in the way I am giving the path
 to
 the SCM i.e MKS, But what exactly is the reason is beating me. If someone
 gets an idea from this please help :)
 
 Here is the relevant part of pom.xml config tht I think is causing the
 trouble.
 artifactIdtest-continuum/artifactId
 packagingjar/packaging
 version1.0-SNAPSHOT/version
 nametest-continuum/name
 urlhttp://maven.apache.org/url
 scm

 connectionscm:mks|hostname=hostName|port=1234|username=XX|password=something|project=/repos/XYZ/ABC/test-continuum/project.pj|devpath=|revision=/connection

 developerConnectionscm:mks|hostname=hostName|port=1234|username=XX|password=something|project=|devpath=|revision=/developerConnection
 urlhostName:port/repos/ABC/XYZ/test-continuum/project.pj/url
  /scm
 
 And here is the stack trace...
 
 23 09:09:18,716 [Thread-2] INFO  ContinuumScm   -
 Checking
 out project: 'test-continuum', id: '26' to
 'C:\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-directory\26'.
 INFO   | jvm 3| 2007/04/23 09:09:18 | 2007-04-23 09:09:18,746
 [SocketListener0-0] WARN  SQL- Object with id
 0 not found !
 INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,536
 [SocketListener0-1] WARN  SQL- Object with id
 0 not found !
 INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,536
 [SocketListener0-1] WARN  ViewContextPopulator   - Cannot find a
 value for the expression getProject(#id)in
 [EMAIL PROTECTED]
 INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,546
 [SocketListener0-1] WARN  SQL- Object with id
 0 not found !
 INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,546
 [SocketListener0-1] WARN  ViewContextPopulator   - Cannot find a
 value for the expression getBuildResultsForProject(#id)in
 [EMAIL PROTECTED]
 INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,566
 [SocketListener0-1] ERROR VelocityComponent  - Method
 addPathInfo threw exception for reference $link in template
 screens/ProjectBuilds.vm at  [14,26]
 INFO   | jvm 3| 2007/04/23 09:10:00 | 2007-04-23 09:10:00,566
 [SocketListener0-1] ERROR Renderer:velocity  - Error
 rendering
 template: 
 INFO   | jvm 3| 2007/04/23 09:10:00 | java.lang.NullPointerException
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.codehaus.plexus.summit.util.UriBuilder.addPathInfo(UriBuilder.java:263)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 java.lang.reflect.Method.invoke(Method.java:324)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:51)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:95)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:70)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.apache.velocity.Template.merge(Template.java:256)
 INFO   | jvm 3| 2007/04/23 09:10:00 |at
 org.codehaus.plexus.summit.renderer.VelocityRenderer.render(VelocityRenderer.java:70)
 INFO   | jvm 3