You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@continuum.apache.org by James Clinton <Ja...@patsystems.com> on 2007/09/03 09:48:19 UTC

RE: Strange - Success icon shown and no emails sent in case of bu ild-failure

This is a KI.

Use this script to fix.

The fixed script for maven 2.0.7 is :
https://svn.apache.org/repos/asf/maven/components/branches/maven-2.0.x/maven
-core/src/bin/mvn.bat 

-----Original Message-----
From: mfs [mailto:farhan.sarwar@gmail.com] 
Sent: 31 August 2007 00:02
To: continuum-users@maven.apache.org
Subject: Re: Strange - Success icon shown and no emails sent in case of
build-failure


Finally got it fixed...after alot of research...it was due to a maven
(2.0.7) issue on windows...issue - MNG-3084...had to modify the mvn.bat file
to get it working.

Thanks nyways

Farhan.


mfs wrote:
> 
> Dear All,
> 
> I am getting this strange behavior where even on a build-failure (as
> below) as shown in the Result, the success icon is shown against the 
> project on "show-project" screen and same is the case with history 
> screen against a project...and even no emails are sent as its 
> intrepreting that the build is a success (dont know why) and no state 
> change since last build..
> 
> [INFO] Scanning for projects...
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] Building Share : PDFP
> [INFO]    task-segment: [clean, install]
> [INFO]
> ----------------------------------------------------------------------
> ------
> [INFO] [clean:clean]
> [INFO] Deleting directory C:\continuum\continuum_wd\8\target
> [INFO] Deleting directory C:\continuum\continuum_wd\8\target\classes
> [INFO] Deleting directory 
> C:\continuum\continuum_wd\8\target\test-classes
> [INFO] Deleting directory C:\continuum\continuum_wd\8\target\site
> [INFO] [resources:resources]
> [INFO] Using default encoding to copy filtered resources.
> [INFO] [compiler:compile]
> [INFO] Compiling 18 source files to
> C:\continuum\continuum_wd\8\target\classes
> [INFO]
> ----------------------------------------------------------------------
> --
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Compilation failure
> C:\continuum\continuum_wd\8\src\main\java\vaudit\pdfp\PdfField.java:[1
> ,0]
> 'class' or 'interface' expected
> 
> 
> 
> C:\continuum\continuum_wd\8\src\main\java\vaudit\pdfp\PdfField.java:[1
> ,0]
> 'class' or 'interface' expected
> 
> 
> [INFO]
> ----------------------------------------------------------------------
> -- [INFO] For more information, run Maven with the -e switch [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 1 second
> [INFO] Finished at: Thu Aug 30 11:01:50 PDT 2007 [INFO] Final Memory: 
> 4M/8M [INFO]
> ----------------------------------------------------------------------
> --
> 
> 

--
View this message in context:
http://www.nabble.com/Strange---Success-icon-shown-and-no-emails-sent-in-cas
e-of-build-failure-tf4355976.html#a12417831
Sent from the Continuum - Users mailing list archive at Nabble.com.
DISCLAIMER: This e-mail is confidential and may also be legally privileged.
If you are not the intended recipient, use of the information contained in
this e-mail (including disclosure, copying or distribution) is prohibited
and may be unlawful.  Please inform the sender and delete the message
immediately from your system.  This e-mail is attributed to the sender and
may not necessarily reflect the views of the Patsystems Group and no member
of the Patsystems Group accepts any liability for any action taken in
reliance on the contents of this e-mail (other than where it has a legal or
regulatory obligation to do so) or for the consequences of any computer
viruses which may have been transmitted by this e-mail. The Patsystems Group
comprises Patsystems plc and its subsidiary group of companies.