Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 70319 invoked from network); 2 Aug 2002 10:36:14 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 2 Aug 2002 10:36:14 -0000 Received: (qmail 8925 invoked by uid 97); 2 Aug 2002 10:36:23 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 8886 invoked by uid 97); 2 Aug 2002 10:36:22 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 8874 invoked by uid 98); 2 Aug 2002 10:36:22 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) X-Sent: 2 Aug 2002 10:36:00 GMT From: "Bob Hays, Computer Geek" To: "Ant Users List" Subject: RE: Really puzzled Date: Fri, 2 Aug 2002 05:37:51 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0049_01C239E6.BDD83640" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 In-Reply-To: <200208022212.45900.pat.haszard@clear.net.nz> Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N ------=_NextPart_000_0049_01C239E6.BDD83640 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I just looked in my 1.4.1 installation and there is indeed a script called "ant" in the bin directory. However, you do need to put that directory onto your PATH just like in Windows, just with a minor change of path separator character (on UNIXen, use colon, not semicolon). So, assuming you're using bash as your shell (most Linuxen seem to ship that way today), you should do: export PATH=${PATH}:{installation base directory}/bin cd {directory with build.xml file} ant where {installation base directory} is where you installed ant and {directory with build.xml file} is probably self-explanitory:-). If that doesn't work, please drop back which version of ant you're using and a "deep" directory listing of your installation (you can do ls -r I believe, to get a recursive listing - use man ls to get help with the directory command for linux). Hope that helps. Have fun! - Bob -- Bob Hays "Discipline is never an end in 135 S. LaSalle itself, only a means to an end." MS 3010 -- King Crimson Chicago, IL 60602 "Whoever flees history will be (312) 904-4668 (V) pursued by history." (312) 904-0322 (F) -- Janusz Korczak electricbob@telocity.com "Faster! Faster! Until the thrill http://alephnaught.net of speed overcomes the fear of death." "Nothing great was ever achieved -- Hunter S. Thompson without enthusiasm." "Security is very frequently the -- Ralph Waldo Emerson commencement of calamity." "A common mistake that people -- Paterculus make when trying to design "Problems cannot be solved at the something foolproof is to same level of awareness that underestimate the ingenuity created them." of complete fools." -- Albert Einstein -- Douglas Adams "People will work for money, but they'll give a piece of their lives for meaning." -- Schwab's Dawn Lapore "Creativity is allowing oneself to make mistakes. Art is knowing which ones to keep." -- Scott Adams "The surest way to corrupt a youth is to instruct him to hold in higher regard those who think alike than those who think differently." -- Nietzche -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d+(-)@ s+:+ a C++(+++)$ U$ P+$ L@ E+++$ W+++$ N++ !o-- K--? w$ !O M$ V@ PS+ PE !Y+ PGP t !5-- !X !R tv+ b++() DI+ !D- G-- e++ h--- r+++ y+++** ------END GEEK CODE BLOCK------ > -----Original Message----- > From: Pat [mailto:pat.haszard@clear.net.nz] > Sent: Friday, August 02, 2002 5:13 AM > To: ant-user@jakarta.apache.org > Subject: Really puzzled > > > Hi > I have successfully installed Ant on my Windows machine and used > it to rebuild > some code I have modified (the Grinder), worked great :) > > Also have now installed Ant on my new Linux (RedHat) machine, > however I am a > Linux newbie and am completely stumped as to how to use it :( > The documentation quite clearly states that after the > installation it is as > simple as typing ant (in a directory that contains a build.xml) > but there is no unix shell script by the name of ant > there is ant.bat and that works fine on the Windows machine, and > there are > perl and python scripts (runant.pl and runant.py) but as I noted the > documentation is quite explicit, "type ant", and there is no > differentiation based on OS (that I can find), I have even downloaded an > earlier version of ant just in case the shell script had been lost in my > first attempt. > > I am sure there is a very simple answer, but I have read the > documentation > forward, back and sideways. My apologies for asking basic linux/unix > questions on this list, but this has me really puzzled as to what > I am not > understanding. > > Many thanks, > Pat. > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > ------=_NextPart_000_0049_01C239E6.BDD83640 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: ------=_NextPart_000_0049_01C239E6.BDD83640--