Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 94372 invoked from network); 19 Aug 2006 20:42:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Aug 2006 20:42:40 -0000 Received: (qmail 13860 invoked by uid 500); 19 Aug 2006 20:42:40 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 13566 invoked by uid 500); 19 Aug 2006 20:42:39 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 13555 invoked by uid 99); 19 Aug 2006 20:42:39 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Aug 2006 13:42:39 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [204.127.200.84] (HELO sccrmhc14.comcast.net) (204.127.200.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 19 Aug 2006 13:42:27 -0700 Received: from intrepid.infinity.nu (c-24-128-239-207.hsd1.nh.comcast.net[24.128.239.207]) by comcast.net (sccrmhc14) with ESMTP id <2006081920412001400gkbdse>; Sat, 19 Aug 2006 20:41:20 +0000 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: Blame mechanism with SVN X-MimeOLE: Produced By Microsoft Exchange V6.5.6944.0 Date: Sat, 19 Aug 2006 16:41:20 -0400 Message-ID: <2BABBE7D2A66E04DB8A66A527D29927E0BE02D@intrepid.infinity.nu> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Blame mechanism with SVN Thread-Index: AcbDSn8E/PnLArHPSX2XnAxkr54PFAAhUEHA From: "Brian E. Fox" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Paying more attention now, I noticed that is seems like continuum only = does this if there was just 1 commit since the last build. If not, all = you get it a list of files.=20 -----Original Message----- From: Binil Thomas [mailto:binil.thomas.public@gmail.com]=20 Sent: Saturday, August 19, 2006 12:46 AM To: continuum-users@maven.apache.org Subject: Re: Blame mechanism with SVN Same here; and that was what my original post was about. >From previous posts here, I expected the notification email to have not = just the list of changed files, but also the authors of those changes = (date and commit comments, if available, would be real nice too). >From the logs (which I had posted earlier), I can see that Continuum = does issue an svn log command. Also, when I try the same command on the = console, I do get the required data from the SVN server. Has anyone got this working on their Continuum 1.0.3 installation? Thanks, Binil On 8/18/06, Brian E. Fox wrote: > That's more than I get now. I only get a list of files changed: > > > Changes > = application\std-interview\src\main\java\com\stchome\dsms\appl\formdatasou= rces\stdinterview\InterviewTravelHistoryListHelper.java > = application\std-interview\src\main\java\com\stchome\dsms\appl\formdatasou= rces\stdinterview\InterviewTravelHistoryHelper.java > =20 > application\std-interview\src\main\java\com\stchome\dsms\appl\formdata > sources\stdinterview\InterviewTravelAndNotesHelper.java > > I'm using 1.0.3....so how do I turn on the other info? > > -----Original Message----- > From: Emmanuel Venisse [mailto:emmanuel@venisse.net] > Sent: Friday, August 18, 2006 9:19 AM > To: continuum-users@maven.apache.org > Subject: Re: Blame mechanism with SVN > > It isn't really the svn blame mechanism but only the list of changes=20 > in the build result screen with (author, date, modified files and=20 > commit comments) > > Emmanuel > > Brian E. Fox a =E9crit : > > Actually, I mean turn on the svn blame output in continuum. > > > > -----Original Message----- > > From: Binil Thomas [mailto:binil.thomas.public@gmail.com] > > Sent: Friday, August 18, 2006 1:57 AM > > To: continuum-users@maven.apache.org > > Subject: Re: Blame mechanism with SVN > > > > Brian, > > > > I assume that you meant the logs when you asked "How do you turn = this on?". > > > > I do not remember doing anything special for turning on the logs. I = think they are configured in the = $CONTINUUM_HOME/apps/continuum/conf/application.xml file - look for the = component 'Logger manager'. For my installation, this component is = configured as: > > > > > > > > org.codehaus.plexus.logging.LoggerManager > > = org.codehaus.plexus.logging.log4j.Log4JLoggerManager > > basic > > > > > > DEBUG > > console,rolling > > > > > > console > > DEBUG > > org.apache.log4j.ConsoleAppender > > %d [%t] %-5p %-30c{1} - = %m%n > > > > > > > > rolling > > DEBUG > > org.apache.log4j.RollingFileAppender > > %-4r [%t] %-5p %c %x -=20 > > %m%n > > > > > > > > file > > ${plexus.home}/logs/continuum.log > > > > > > append > > true > > > > > > maxBackupIndex > > 10 > > > > > > maxFileSize > > 10MB > > > > > > > > > > > > > > = org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelp= er > > INFO > > > > > > org.codehaus.plexus.velocity > > WARN > > > > > > = org.codehaus.plexus.mailsender.MailSender > > INFO > > > > > > JPOX > > INFO > > > > > > JPOX.Cache > > WARN > > > > > > > > > > > > I don't remeber touching these configurations. > > > > Also, in my installation, Contiuum logs to = %CONTIUUM_HOME/apps/continuum/logs/contiuum.log. It also logs to = %CONTIUUM_HOME%/logs/wrapper.log, although I do not know where this is = configured at. > > > > Thanks, > > Binil > > > > > > On 8/18/06, Brian E. Fox wrote: > >> How do you turn this on? I'm also using 1.0.3 and svn but haven't = seen this option anywhere. > >> > >> -----Original Message----- > >> From: Binil Thomas [mailto:binil.thomas.public@gmail.com] > >> Sent: Friday, August 11, 2006 9:57 AM > >> To: continuum-users@maven.apache.org > >> Subject: Re: Blame mechanism with SVN > >> > >> Emmanuel, > >> > >> I looked through the logs and found the svn command which Continuum = issues to get the logs. When I run that command on the CI server = machine, I do get proper log information. > >> > >> Here is what I get: > >> > >>> svn --non-interactive log -v -r "{2006-08-07 13:37:58 +0000}:HEAD" > >>> http://my.svn.server/myproject/trunk/myapp > >> ------------------------------------------------------------------- > >> --- > >> -- > >> r174 | one.developer | 2006-08-08 12:24:02 +0530 (Tue, 08 Aug 2006) = | 1 line Changed paths: > >> D /myproject/trunk/myapp/src/test/java/apackage > >> [snipped ...] > >> D /myproject/trunk/myapp/src/test/java/mypackage/an.xml > >> > >> One line of comment. > >> ------------------------------------------------------------------- > >> --- > >> -- r180 | one.developer | 2006-08-11 11:08:35 +0530 (Fri, 11 Aug=20 > >> 2006) > >> | 4 lines Changed paths: > >> M /myproject/trunk/myapp/.classpath [snipped ...] > >> D /myproject/trunk/myapp/src/test/java/mypackage/ATest.java > >> > >> A comment here. > >> > >> Another comment here. > >> Yet another comment here. > >> ------------------------------------------------------------------- > >> --- > >> -- > >> > >> > >> > >> > >> > >> Here is a snippet of log that might be useful. > >> > >> > >> > >> INFO | jvm 1 | 2006/08/11 18:53:09 | 2006-08-11 18:53:09,587 > >> [Thread-2] INFO ContinuumScm - Updating project: > >> id: '22', name 'myapp'. > >> INFO | jvm 1 | 2006/08/11 18:53:09 | 2006-08-11 18:53:09,602 > >> [Thread-2] INFO ScmManager - Executing: svn > >> --non-interactive update > >> INFO | jvm 1 | 2006/08/11 18:53:09 | 2006-08-11 18:53:09,602 > >> [Thread-2] INFO ScmManager - Working = directory: > >> = D:\softwares\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-direc= tory\22 > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,103 > >> [Thread-31] DEBUG ScmManager - U > >> src\test\java\my\package\File1.java > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,103 > >> [Thread-31] DEBUG ScmManager - D > >> src\test\java\my\package\File2.java > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,103 > >> [Thread-31] DEBUG ScmManager - Skipping = non-file: > >> src\test\my\package\File3.java > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,103 > >> [Thread-31] DEBUG ScmManager - D > >> src\main\java\my\package\File4.java > >> > >> [snipped ...] > >> > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,212 > >> [Thread-31] DEBUG ScmManager - U > >> src\main\webapp\file5.jsp > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,212 > >> [Thread-31] DEBUG ScmManager - Updated to = revision > >> 184. > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,228 > >> [Thread-2] INFO ScmManager - Executing: svn > >> --non-interactive log -v -r "{2006-08-08 07:55:05 +0000}:HEAD" > >> http://my.svn.server/myproject/trunk/myapp > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,228 > >> [Thread-2] INFO ScmManager - Working = directory: > >> = D:\softwares\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-direc= tory\22 > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,493 > >> [Thread-2] INFO ContinuumScm - Updated 14 files. > >> INFO | jvm 1 | 2006/08/11 18:53:15 | 2006-08-11 18:53:15,556 > >> [Thread-2] INFO Action:update-project-from-working-directory - = Updating project 'myapp' from checkout. > >> INFO | jvm 1 | 2006/08/11 18:53:24 | 2006-08-11 18:53:17,978 > >> [Thread-2] INFO ShellCommandHelper - Executing: > >> D:\softwares\maven-2.0.4\bin\mvn --batch-mode --non-recursive clean = install deploy > >> INFO | jvm 1 | 2006/08/11 18:53:24 | 2006-08-11 18:53:17,978 > >> [Thread-2] INFO ShellCommandHelper - Working = directory: > >> = D:\softwares\continuum-1.0.3\bin\win32\..\..\apps\continuum\working-direc= tory\22 > >> INFO | jvm 1 | 2006/08/11 18:54:01 | 2006-08-11 18:54:01,825 > >> [Thread-2] INFO ContinuumBuildExecutor:maven2 - Exit code: 1 > >> INFO | jvm 1 | 2006/08/11 18:54:02 | 2006-08-11 18:54:01,950 > >> [Thread-2] ERROR VelocityComponent - Left side of '>' > >> operation is not a valid type. It is a class java.lang.Long. > >> Currently only integers (1,2,3...) and Integer type is supported. > >> /org/apache/maven/continuum/notification/mail/templates/maven2/Buil > >> dCo > >> mplete.vm > >> [line 25, column 27] > >> INFO | jvm 1 | 2006/08/11 18:54:02 | 2006-08-11 18:54:01,950 > >> [Thread-2] INFO Notifier:mail - Sending message: > >> From '"Continuum@MY.CI.SERVER" '. > >> INFO | jvm 1 | 2006/08/11 18:54:02 | 2006-08-11 18:54:01,950 > >> [Thread-2] INFO Notifier:mail - Recipient: To > >> ''. > >> INFO | jvm 1 | 2006/08/11 18:54:02 | DEBUG: setDebug: JavaMail > >> version 1.3.2 > >> INFO | jvm 1 | 2006/08/11 18:54:02 | DEBUG: getProvider() > >> returning > >> javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport, > >> Sun > >> Microsystems, Inc] > >> INFO | jvm 1 | 2006/08/11 18:54:02 | DEBUG SMTP: useEhlo true, > >> useAuth false > >> INFO | jvm 1 | 2006/08/11 18:54:02 | DEBUG SMTP: trying to > >> connect to host mailserver.mycompany.com", port 25, isSSL false > >> > >> [snipped ...] > >> > >> INFO | jvm 1 | 2006/08/11 18:54:02 | 250 2.6.0 > >> <19911387.1155302641950.JavaMail.infra3@MY.CI.SERVER> Queued mail=20 > >> for delivery > >> > >> > >> The section indicated as [snipped ...] are where I have deleted = verbose information which might not be useful. > >> > >> Thanks, > >> Binil > >> > >> > >> On 8/10/06, Emmanuel Venisse wrote: > >>> If it's english, it's ok. > >>> Personnally, I defined the locale to use with LC_MESSAGES env=20 > >>> property LC_MESSAGES=3Den_EN > >>> > >>> I'm not sure you'll can find something that can help in logs. > >>> The only thing that can help us would be that you run manually the = > >>> svn log command printed in continuum log and send us the output. > >>> > >>> Emmanuel > >>> > >>> Binil Thomas a =E9crit : > >>>> Emmanuel, > >>>> > >>>> I am unsure what language is used by my SVN installation. I=20 > >>>> looked at the SVN documentation at=20 > >>>> http://svnbook.red-bean.com/nightly/en/svn-book.html, > >>>> and there is nothing specific to 'languages'. > >>>> > >>>> The SVN book mentions that SVN can work with different locales=20 > >>>> and print all messages in an appropriate language; if that is the = > >>>> info you are looking for, the SVN client on the CI server is=20 > >>>> printing out english messages only. > >>>> > >>>> Also, although English is not the native tounge of most of us=20 > >>>> here at our office, all of us converse in English for official = purposes. > >>>> So I would be very surprised if the language is set to anything=20 > >>>> other than English. :) > >>>> > >>>> So can you please let me know how to figure out the language used = > >>>> by my SVN installation? Also, should I be looking for some=20 > >>>> specific > >>>> (error) messages in the Contiuum logs? > >>>> > >>>> Thanks, > >>>> Binil > >>>> > >>>> On 8/8/06, Emmanuel Venisse wrote: > >>>>> What is the language used by your svn? I guess it isn't english, = right? > >>>>> > >>>>> Emmanuel > >>>>> > >>>>> Binil Thomas a =E9crit : > >>>>>> Hi all, > >>>>>> > >>>>>> I am using Continuum 1.0.3, Maven 2.0.4 and SVN. Is there=20 > >>>>>> anything special I need to do to get the blame mechanism = working? > >>>>>> I have seen previous > >>>>> posts > >>>>>> here, and someone did reply that it is fixed in 1.0.3, but I=20 > >>>>>> still am > >>>>> not > >>>>>> getting it to work. > >>>>>> > >>>>>> I am attaching a sample failure email I got. It currently shows = > >>>>>> the > >>>>> files > >>>>>> that are changed, but does not show who changed them. > >>>>>> > >>>>>> Kindly help me configure the failure email to show the id which = > >>>>>> changed > >>>>> a > >>>>>> file. > >>>>>> > >>>>>> Thanks, > >>>>>> Binil > >>>>>> > >>>>>> Online report : > >>>>>> Build statistics: > >>>>>> State: Failed > >>>>>> Previous State: Failed > >>>>>> Started at: Mon, 7 Aug 2006 15:52:38 +0530 Finished at: Mon, > >>>>>> 7 Aug 2006 15:52:59 +0530 Total time: 21s Build Trigger: > >>>>>> Forced Exit code: 1 Building machine hostname: > >>>>>> MY-BUILD-MACHINE Operating system : Windows 2000(Service Pack = 4) Java version : > >>>>>> 1.5.0_06(Sun Microsystems Inc.) > >>>>>> > >>>>>> Changes > >>>>>> > >>>>>> src\main\java\my\package\MyClass.java > >>>>>> > >>>>>> > >>>>> **************************************************************** > >>>>> * > >>>>> ** > >>>>> ********* > >>>>> > >>>>>> Output: > >>>>>> > >>>>> **************************************************************** > >>>>> * > >>>>> ** > >>>>> ********* > >>>>> > >>>>>> [INFO] Scanning for projects... > >>>>>> [INFO] > >>>>>> > >>>>> ---------------------------------------------------------------- > >>>>> - > >>>>> -- > >>>>> --------- > >>>>> > >>>>>> [INFO] Building myproject > >>>>>> [INFO] task-segment: [clean, install, deploy] > >>>>>> [INFO] > >>>>>> > >>>>> ---------------------------------------------------------------- > >>>>> - > >>>>> -- > >>>>> --------- > >>>>> > >>>>>> [INFO] [clean:clean] > >>>>>> [INFO] Deleting directory D:\softwares\continuum-=20 > >>>>>> 1.0.3\apps\continuum\working-directory\20\target > >>>>>> [INFO] Deleting directory D:\softwares\continuum-=20 > >>>>>> 1.0.3\apps\continuum\working-directory\20\target\classes > >>>>>> [INFO] Deleting directory D:\softwares\continuum-=20 > >>>>>> 1.0.3\apps\continuum\working-directory\20\target\test-classes > >>>>>> [INFO] [cobertura:clean {execution: clean}] [INFO]=20 > >>>>>> [resources:resources] [INFO] Using default encoding to copy=20 > >>>>>> filtered resources. > >>>>>> [INFO] [compiler:compile] > >>>>>> Compiling 68 source files to D:\softwares\continuum-=20 > >>>>>> 1.0.3\apps\continuum\working-directory\20\target\classes > >>>>>> [INFO] [resources:testResources] [INFO] Using default encoding=20 > >>>>>> to copy filtered resources. > >>>>>> [INFO] [compiler:testCompile] > >>>>>> Compiling 19 source files to D:\softwares\continuum-=20 > >>>>>> 1.0.3\apps\continuum\working-directory\20\target\test-classes > >>>>>> [INFO] [surefire:test] > >>>>>> [INFO] Surefire report directory: D:\softwares\continuum-=20 > >>>>>> 1.0.3\apps\continuum\working-directory\20\target\surefire-repor > >>>>>> ts > >>>>>> > >>>>>> ------------------------------------------------------- > >>>>>> T E S T S > >>>>>> ------------------------------------------------------- > >>>>>> > >>>>>> [..snipped..] > >>>>>> > >>>>>> Results : > >>>>>> Tests run: 61, Failures: 0, Errors: 3, Skipped: 0 > >>>>>> > >>>>>> [INFO] > >>>>>> > >>>>> ---------------------------------------------------------------- > >>>>> - > >>>>> -- > >>>>> ----- > >>>>>> [ERROR] BUILD FAILURE > >>>>>> [INFO] > >>>>>> > >>>>> ---------------------------------------------------------------- > >>>>> - > >>>>> -- > >>>>> ----- > >>>>>> [INFO] There are test failures. > >>>>>> [INFO] > >>>>>> > >>>>> ---------------------------------------------------------------- > >>>>> - > >>>>> -- > >>>>> ----- > >>>>>> [INFO] For more information, run Maven with the -e switch=20 > >>>>>> [INFO] > >>>>>> > >>>>> ---------------------------------------------------------------- > >>>>> - > >>>>> -- > >>>>> ----- > >>>>>> [INFO] Total time: 19 seconds > >>>>>> [INFO] Finished at: Mon Aug 07 15:52:59 IST 2006 [INFO] Final > >>>>>> Memory: 7M/20M [INFO] > >>>>>> > >>>>> ---------------------------------------------------------------- > >>>>> - > >>>>> -- > >>>>> ----- > >>>>>> > >>>>> **************************************************************** > >>>>> * > >>>>> ** > >>>>> ********* > >>>>> > >>>>>> > >>>>> > >>> > >> > >> > > > > > > > > > > > > >