From continuum-users-return-1898-apmail-maven-continuum-users-archive=maven.apache.org@maven.apache.org Fri Jun 16 09:08:25 2006 Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 5736 invoked from network); 16 Jun 2006 09:08:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Jun 2006 09:08:25 -0000 Received: (qmail 65720 invoked by uid 500); 16 Jun 2006 09:08:24 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 65696 invoked by uid 500); 16 Jun 2006 09:08:23 -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 65685 invoked by uid 99); 16 Jun 2006 09:08:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jun 2006 02:08:23 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.193.206.9] (HELO webmail9.amenworld.com) (62.193.206.9) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 16 Jun 2006 02:08:22 -0700 Received: (qmail 28870 invoked from network); 16 Jun 2006 09:08:02 -0000 Received: from 74.189.97-84.rev.gaoland.net (HELO ?127.0.0.1?) (84.97.189.74) by 0 with SMTP; 16 Jun 2006 09:08:02 -0000 Message-ID: <449274ED.4030803@venisse.net> Date: Fri, 16 Jun 2006 11:07:57 +0200 From: Emmanuel Venisse User-Agent: Thunderbird 1.5.0.4 (Windows/20060516) MIME-Version: 1.0 To: continuum-users@maven.apache.org Subject: Re: build is not finished if start executable References: <448FEB0D.8040905@softwarium.net> <448FEE85.9030200@bird.cris.net> <449012D7.3070008@venisse.net> <44911B4C.4040709@bird.cris.net> <44915230.1050002@venisse.net> <44915C4F.7030606@bird.cris.net> <44916576.80108@venisse.net> <44917438.4010703@bird.cris.net> <4491B8FA.8050306@venisse.net> <44926D2E.2080602@bird.cris.net> In-Reply-To: <44926D2E.2080602@bird.cris.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Which server do you want to restart? Maksimenko Alexander a écrit : > Emmanuel Venisse wrote: >> Hmm, very strange. >> >> Do you have updated your ant script? >> http://maven.apache.org/continuum/faqs.html#how-does-continuum-detect-a-successful-build >> > > yes of cause > has anybody tried to restart server in project build? I think it is > common task for continues integration > >> >> Emmanuel >> >> Maksimenko Alexander a écrit : >>> Emmanuel Venisse wrote: >>>> BUILD SUCCESSFUL isn't a continuum message but a ant message. >>>> >>>> it's perhaps a bug in ShellCommandHelper, the exit code is return by >>>> Process class and printed in AbstractBuildExecutor (line 189). >>>> so if you don't have "Exit code:" in your log, it's because Process >>>> objec doesn't return it. >>>> >>>> Can you try with a non gui app? >>> >>> yes >>> the same result ;( >>>> >>>> Emmanuel >>>> >>>> Maksimenko Alexander a écrit : >>>>> Emmanuel Venisse wrote: >>>>>> if it's all your logs, the ant process isn't finished because you >>>>>> should have "return code = 0" in log >>>>>> >>>>> >>>>> but if it's not finished - what does it mean BUILD SUCCESSFUL >>>>> message in continuum's log? >>>>> if I perform this task in shell then ant process will be finished >>>>> so may be incorrect work in ShellCommandHelper ? >>>>> >>>>> ps this log message is appear when I close calculator application >>>>> >>>>>> Emmanuel >>>>>> >>>>>> Maksimenko Alexander a écrit : >>>>>>> Emmanuel Venisse wrote: >>>>>>>> Can you send your continuum logs? >>>>>>> it's nothing odd in the log : >>>>>>> >>>>>>> INFO Continuum - Enqueuing 'processbuilder' >>>>>>> (Build definition id=1). >>>>>>> INFO ContinuumScm - Updating project: id: '1', >>>>>>> name 'processbuilder'. >>>>>>> INFO ScmManager - Executing: svn --username >>>>>>> *** --password ***** --non-interactive update >>>>>>> INFO ScmManager - Working directory: >>>>>>> D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 >>>>>>> >>>>>>> DEBUG ScmManager - At revision 3172. >>>>>>> NFO Action:update-project-from-working-directory - Updating >>>>>>> project 'processbuilder' from checkout. >>>>>>> INFO ShellCommandHelper - Executing: >>>>>>> D:\tools\dev\java\jakarta\ant\bin\ant -f build.xml continium >>>>>>> INFO ShellCommandHelper - Working directory: >>>>>>> D:\tools\dev\java\jakarta\continuum\bin\win32\..\..\apps\continuum\working-directory\1 >>>>>>> >>>>>>> >>>>>>> >>>>>>> my build target: >>>>>>> >>>>>>> >>>>>>> >>>>>> spawn="true"> >>>>>>> >>>>>>> >>>>>>> >>>>>> timeoutproperty="server.is.unavailable"> >>>>>>> >>>>>>> finish >>>>>>> >>>>>>> >>>>>>> build result: >>>>>>> >>>>>>> Buildfile: build.xml >>>>>>> >>>>>>> continium: >>>>>>> [echo] finish >>>>>>> >>>>>>> BUILD SUCCESSFUL >>>>>>> >>>>>>> >>>>>>> Total time: 39 seconds >>>>>>> >>>>>>> >>>>>>> but state is "Build In Progess" ;( >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>> >>> >>> >>> >> >> > > > >