Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 99075 invoked from network); 18 Sep 2008 13:30:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Sep 2008 13:30:11 -0000 Received: (qmail 23008 invoked by uid 500); 18 Sep 2008 13:30:03 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 22975 invoked by uid 500); 18 Sep 2008 13:30:03 -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 22964 invoked by uid 99); 18 Sep 2008 13:30:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 06:30:03 -0700 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of john5342@googlemail.com designates 74.125.46.153 as permitted sender) Received: from [74.125.46.153] (HELO yw-out-1718.google.com) (74.125.46.153) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2008 13:29:01 +0000 Received: by yw-out-1718.google.com with SMTP id 9so1172057ywk.70 for ; Thu, 18 Sep 2008 06:29:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=Uf1mwRsbIcmM4HXJFcJ2y5uJtsy4lj1CZKkkiOw7g3E=; b=H6ydCo1IoLKY/BGYSBEXw0h9o7MN2Gf2tn6V38IUZs4skX0W2bUcVwcMfb8dfp6/5W zenN4dvIwQXB1r2FM5kCEniFqWrpNM/tZDfvuNWKU8G0svKf8UR8//YV/mBanH00IYnr i0zZ51fUI0VU+wNNCg1yRHSr007wBZ59ClIy4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=pRsVoKLUi8duJ1yoRnAOnnS0V6FeJ8S04TqG7bjdcezHHs7dkW5nFPWzNIN1xg4dlj Dnj/ZFYW1muGWoHP3JnU0Z+JRZi9RFQgwXA6Rizes6nsW+XLg1PMj6l4C08xZ3rUKkxj KLlq53gAkMCC/gvnCV27CtyEq7nJUKMukhUA4= Received: by 10.142.193.13 with SMTP id q13mr1388471wff.28.1221744573030; Thu, 18 Sep 2008 06:29:33 -0700 (PDT) Received: by 10.142.142.19 with HTTP; Thu, 18 Sep 2008 06:29:32 -0700 (PDT) Message-ID: <6dc6523c0809180629w471ac918l7fbc2f8b1297b2e6@mail.gmail.com> Date: Thu, 18 Sep 2008 14:29:32 +0100 From: John5342 To: "Ant Users List" Subject: Re: How to Configure batch file in Ant? In-Reply-To: <6dc6523c0809180623x160b30edkefccf30456fd093f@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_31000_16646765.1221744573024" References: <19551111.post@talk.nabble.com> <6dc6523c0809180515p64d33966q7ef25384e2adf7cf@mail.gmail.com> <19552002.post@talk.nabble.com> <6dc6523c0809180623x160b30edkefccf30456fd093f@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_31000_16646765.1221744573024 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline I fact if you do the chmod step (Unix Binary Installation) then you dont even need bash or another cmd equivelant. You can then just run [activemq_install_dir]/bin/activemq something along the lines of: 2008/9/18 John5342 > Best place to start is probably the getting started guide at > http://activemq.apache.org/version-5-getting-started.html and follow the > unix instructions. Most of the actions should be doable using standard ant > tasks such as untar and then at the end of the getting started guide it > mentions the unix script to run which is > > [activemq_install_dir]/bin/activemq > > Hope thats helpful > > > 2008/9/18 Jan K > >> >> You are correct.Is there ayy command available in ant to configure >> activemq.bat file in Ant build.xml? >> My requirement is : >> 1. Setup ANT build >> 2. ANT deploy to install ActiveMQ >> 3. ANT deploy to install the Hub and the web based testing app including >> the >> database >> 4. README and installation document >> i need to know how accomplish these?please help me. >> >> John5342 wrote: >> > >> > I think your getting linux and windows confused. You say you are using >> > linux >> > but cmd is the windows shell and .bat files are again windows batch >> files. >> > That is why you get a "cmd: not found" error (because cmd doesnt exist >> on >> > linux). If you want a linux equivalent to cmd and batch files read up on >> > bash scripts. >> > >> > 2008/9/18 Jan K >> > >> >> >> >> I am a new bee to Ant.I need to know how to configure batch file in >> Ant.I >> >> am >> >> using Ant 1.6.5 and Linux(ubuntu)platform.I tried using >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> I really dont know what i am doing is correct.I browsed through google >> >> and >> >> got this exec command.I am geting an error as Execute failed: >> >> java.io.IOException: java.io.IOException: cmd: not found >> >> Please help me to solve this. >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/How-to-Configure-batch-file-in-Ant--tp19551111p19551111.html >> >> Sent from the Ant - Users mailing list archive at Nabble.com. >> >> >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> >> For additional commands, e-mail: user-help@ant.apache.org >> >> >> >> >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/How-to-Configure-batch-file-in-Ant--tp19551111p19552002.html >> Sent from the Ant - Users mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org >> For additional commands, e-mail: user-help@ant.apache.org >> >> > ------=_Part_31000_16646765.1221744573024--