Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 54716 invoked from network); 3 Jul 2006 05:37:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Jul 2006 05:37:20 -0000 Received: (qmail 92015 invoked by uid 500); 3 Jul 2006 05:37:20 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 91760 invoked by uid 500); 3 Jul 2006 05:37:19 -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 91749 invoked by uid 99); 3 Jul 2006 05:37:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 22:37:18 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of gumis88@gmail.com designates 64.233.166.182 as permitted sender) Received: from [64.233.166.182] (HELO py-out-1112.google.com) (64.233.166.182) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Jul 2006 22:37:18 -0700 Received: by py-out-1112.google.com with SMTP id d42so1369102pyd for ; Sun, 02 Jul 2006 22:36:57 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=rieGgJBUIx84HsloLAgM6VKc4oiwD+6kCjNvYA7JZP1p8XZhI+2qXvXhWSg8zUKSx5A50lbEZsVEOymUDUZ3Pw9sEX0PbxyQflHIy5kSuPjIiKtpaa6DbNL/KMJSqW+Nio8cLTuyrDm7l74Zf58mvPFHiiDrVxTd2BPLY/hNy28= Received: by 10.35.41.14 with SMTP id t14mr2510824pyj; Sun, 02 Jul 2006 22:36:56 -0700 (PDT) Received: by 10.35.131.16 with HTTP; Sun, 2 Jul 2006 22:36:56 -0700 (PDT) Message-ID: <915c8a1a0607022236h68584a15u5e6b4f277d8a4559@mail.gmail.com> Date: Mon, 3 Jul 2006 07:36:56 +0200 From: "Marcin Gurbisz" To: continuum-users@maven.apache.org Subject: Re: build is not finished if start executable In-Reply-To: <44969327.2000700@bird.cris.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <448FEB0D.8040905@softwarium.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> <449274ED.4030803@venisse.net> <44969327.2000700@bird.cris.net> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, I have the same problem. I want to run jboss after successful build using exec ant task but this hangs continuum build. I believed that adding spawn=3D"true" attribute will solve the problem (seems that ant process waits for jboss process to finish, thus continuum waits too) but result is the same - continuum hangs. Problem seems not to be Continuum specific problem - please also look at http://www.dehora.net/journal/2005/04/cruisecontrol_not_starting_jboss_c= ontainer.html. Have anybody started jboss from continuum using ant/maven1 without hanging Continuum? Cheers, Marcin On 6/19/06, Maksimenko Alexander wrote: > Emmanuel Venisse wrote: > > Which server do you want to restart? > > jboss > but even I start simple bat file continuum is not finished until this > bat does not mark it's build as finished until this bat is not stopped > > are you successful in restarting another server? > > > > Maksimenko Alexander a =E9crit : > >> 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 =E9crit : > >>>> 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 =E9crit : > >>>>>> Emmanuel Venisse wrote: > >>>>>>> if it's all your logs, the ant process isn't finished because > >>>>>>> you should have "return code =3D 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 =E9crit : > >>>>>>>> Emmanuel Venisse wrote: > >>>>>>>>> Can you send your continuum logs? > >>>>>>>> it's nothing odd in the log : > >>>>>>>> > >>>>>>>> INFO Continuum - Enqueuing > >>>>>>>> 'processbuilder' (Build definition id=3D1). > >>>>>>>> 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\continu= um\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\continu= um\working-directory\1 > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>> my build target: > >>>>>>>> > >>>>>>>> > >>>>>>>> >>>>>>>> spawn=3D"true"> > >>>>>>>> > >>>>>>>> > >>>>>>>> >>>>>>>> timeoutproperty=3D"server.is.unavailable"> > >>>>>>>> > >>>>>>>> finish > >>>>>>>> > >>>>>>>> > >>>>>>>> build result: > >>>>>>>> > >>>>>>>> Buildfile: build.xml > >>>>>>>> > >>>>>>>> continium: > >>>>>>>> [echo] finish > >>>>>>>> > >>>>>>>> BUILD SUCCESSFUL > >>>>>>>> > >>>>>>>> > >>>>>>>> Total time: 39 seconds > >>>>>>>> > >>>>>>>> > >>>>>>>> but state is "Build In Progess" ;( > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>>> > >>>>> > >>>>> > >>>> > >>>> > >>>> > >>>> > >>> > >>> > >> > >> > >> > >> > > > > > >