Return-Path: X-Original-To: apmail-ace-users-archive@minotaur.apache.org Delivered-To: apmail-ace-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 614FB17DE1 for ; Wed, 25 Mar 2015 09:30:01 +0000 (UTC) Received: (qmail 29782 invoked by uid 500); 25 Mar 2015 09:30:01 -0000 Delivered-To: apmail-ace-users-archive@ace.apache.org Received: (qmail 29763 invoked by uid 500); 25 Mar 2015 09:30:01 -0000 Mailing-List: contact users-help@ace.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@ace.apache.org Delivered-To: mailing list users@ace.apache.org Received: (qmail 29750 invoked by uid 99); 25 Mar 2015 09:30:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2015 09:30:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW X-Spam-Check-By: apache.org Received-SPF: error (athena.apache.org: local policy) Received: from [209.85.213.177] (HELO mail-ig0-f177.google.com) (209.85.213.177) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Mar 2015 09:29:57 +0000 Received: by igbud6 with SMTP id ud6so96005942igb.1 for ; Wed, 25 Mar 2015 02:28:31 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=DzF3pGk1lNqGIf+wosTImibDEcz/KpM08Hp0vr2Ys70=; b=maPHHvyoTsGIbgLYMz/oGjCUJO5LebKDFLEKRx3lIn1IuvSQdHbdFOmSXPrGW9uEvm 9TihuOpVKpM4PsNAY8Nkr2AFK+oi4K05Iur8C174lyQWB8nWyRdJHGOaFM6IruVy0Zvg RhY4zEt3Qs5E8vA2kppL5KpWfS8JzRd8uOizGdKlD11uMgvvxIxRw9XYYrUxcmr4EYsQ /OON3T5BdsWyiSf8O608Raoftwx1gACiLBqMWJPdPjRzqZuDWx7IhaV4dawedYgSb6im ow779bOo/fPVpGrCwZ9ma5vFsSqoaK2lRNcW+VVSbkFjhll87WajQ4WYSwCTJ14nzOmQ MXbQ== X-Gm-Message-State: ALoCoQlq01vvNArrH/qJ5CQdgLn+pBy5/BFpAqQ7b42vlxsGhXxgzBTyZPPVuQEU1s4wFeGRx7xP MIME-Version: 1.0 X-Received: by 10.107.134.219 with SMTP id q88mr12272722ioi.27.1427275710920; Wed, 25 Mar 2015 02:28:30 -0700 (PDT) Received: by 10.36.50.137 with HTTP; Wed, 25 Mar 2015 02:28:30 -0700 (PDT) In-Reply-To: <3FAE987E-A528-4CC7-BB33-8533D9F1714E@luminis.eu> References: <687FB298-01DD-40D9-9AE9-01B9B7293984@luminis.eu> <3FAE987E-A528-4CC7-BB33-8533D9F1714E@luminis.eu> Date: Wed, 25 Mar 2015 10:28:30 +0100 Message-ID: Subject: Re: Setup ACE with Apache Jenkins From: Thomas Driessen To: users@ace.apache.org Content-Type: multipart/alternative; boundary=001a113fd7b2bf124105121985a8 X-Virus-Checked: Checked by ClamAV on apache.org --001a113fd7b2bf124105121985a8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Jan, I need this command to tell the script to stop, as it is part of a Jenkins build step. If I don't stop the script, the build process never ends. My setup is the following: - we have a master branch in our Git repository, that notifies Jenkins if there are any changes. - Jenkins uses the gradle file generated by BndTools to build all jars necessary. - After the build I added a build step that executes a windows batch file with the follwing commands: cd C:\ace (change to the folder of the client.jar) java -Dace.gogo.script=3Dscript.foo -jar client.jar (execute client.jar wi= th the script "script.foo".) - Right now the script only has the following code: echo "Hello World" exit 0 - I also tried the command "misc:shutdown 0" but that leads to multiple exceptions - As next step I would like to create artifacts, features, etc. via the script as described here: http://wrongtracks.blogspot.de/2014/05/first-steps-with-apache-ace.html As I already said: --nointeractive leads to an error when I try to execute the "exit 0" command. If I don't use --nointeractive within the Jenkins build step I get Exceptions like "Framework not running". However, when I execute the commands cd C:\ace java -Dace.gogo.script=3Dscript.foo -jar client.jar within a shell that is started via "Win+R -> cmd", then everything works fine. That seems to be strange. I hope that I merely missed some small thing, as I really would like to automate my build and deployment setup :) Best regards, Thomas 2015-03-23 20:53 GMT+01:00 Jan Willem Janssen : > > > On 23 Mar 2015, at 14:45, Thomas Driessen > wrote: > > > > > > when I start the client.jar without the script and type lb it displays > the > > following bundles > > > > 8|Active | 1|Apache Felix Gogo Runtime (0.12.0) > > 9|Active | 1|Apache Felix Gogo Shell (0.10.0) > > 10|Active | 1|Apache Felix Gogo Command (0.12.0) > > Ok, that looks sound. Re-reading your original message, the `exit` error > message > trigger me: not sure this is a valid command in Gogo shell (unless you=E2= =80=99ve > created > one yourself). What is the reason to add this command? > > -- > Met vriendelijke groeten | Kind regards > > Jan Willem Janssen | Software Architect > +31 631 765 814 > > My world is revolving around INAETICS and Amdatu > > Luminis Technologies B.V. > Churchillplein 1 > 7314 BZ Apeldoorn > +31 88 586 46 00 > > http://www.luminis-technologies.com > http://www.luminis.eu > > KvK (CoC) 09 16 28 93 > BTW (VAT) NL8169.78.566.B.01 > > --=20 M.Sc. Thomas Driessen Software Methodologies for Distributed Systems Institute of Computer Science University of Augsburg Universit=C3=A4tsstr. 6a 86135 Augsburg, Germany Tel: +49 821 598-2486 email: thomas.driessen@informatik.uni-augsburg.de --001a113fd7b2bf124105121985a8--