Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 81664 invoked from network); 1 Nov 2005 13:46:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Nov 2005 13:46:51 -0000 Received: (qmail 22168 invoked by uid 500); 1 Nov 2005 13:46:38 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 22111 invoked by uid 500); 1 Nov 2005 13:46:38 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 21950 invoked by uid 99); 1 Nov 2005 13:46:38 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 05:46:37 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of paranoiabla@gmail.com designates 64.233.162.204 as permitted sender) Received: from [64.233.162.204] (HELO zproxy.gmail.com) (64.233.162.204) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2005 05:46:32 -0800 Received: by zproxy.gmail.com with SMTP id x7so708720nzc for ; Tue, 01 Nov 2005 05:46:15 -0800 (PST) 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:references; b=JmtY+B4rDR46YvVPq0sYnxp3B+IkqYHlfI0byeaKB7ivc6pfag10uO1PTl4IZvaUyNhbX3zBf1hxieU6UH24oWmPTdlca2zl3RttKBgHcE0jBzcEEQtlyQuH+Wdi1aHq74rN2fuhvjM0BPjSe6n71PukcUgvmd3N+K33J3Br43Y= Received: by 10.36.251.66 with SMTP id y66mr116369nzh; Tue, 01 Nov 2005 05:46:15 -0800 (PST) Received: by 10.36.20.19 with HTTP; Tue, 1 Nov 2005 05:46:15 -0800 (PST) Message-ID: Date: Tue, 1 Nov 2005 13:46:15 +0000 From: Petar Tahchiev To: Ant Users List Subject: Re: Jboss start and stop scripts In-Reply-To: <2C89AC11F6D7F9469B7E4A71D8309FFD04D1A0@nemesis.axiom.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_22954_30441386.1130852775736" References: <2C89AC11F6D7F9469B7E4A71D8309FFD04D1A0@nemesis.axiom.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_22954_30441386.1130852775736 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 01/11/05, Keith Hatton wrote: > > This works for me - on Windoze anyway, I'm sure you can do something > similar on other platforms. > > HTH > Keith > > os=3D"Windows 2000,Windows XP"> > > > > > > -----Original Message----- > From: Andrei [mailto:andrei@netrom.ro] > Sent: 01 November 2005 12:36 > To: Ant Users List > Subject: Re: Jboss start and stop scripts > > > > Starting is simple width exec, but how do i stop it from ant? > > ----- Original Message ----- > From: "Petar Tahchiev" > To: "Ant Users List" > Sent: Tuesday, November 01, 2005 2:33 PM > Subject: Re: Jboss start and stop scripts > > > On 01/11/05, Andrei wrote: > > > > > > Does any body knows how to start and stop jboss using ant? > > > > I am not quite sure whether it is possible but why not try using exec > and pass the run script > > -- > Regards, Petar! > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > I am not familiar with the jboss tasks ant provides but another clue might look like this: As far as I know JBoss is Java-implemented, so it would be enough to look the source and find the main class. Next you you use the task and start those class with the desired parameters. Or if you prefer you could write a simple task or macrodef for doing this. I have done this with Tomcat, although I admit it was much easier to deal with Tomcat than JBoss. Hope that helps! -- -- Regards, Petar! ------=_Part_22954_30441386.1130852775736--