Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 40429 invoked from network); 30 Sep 2003 15:58:51 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 30 Sep 2003 15:58:51 -0000 Received: (qmail 83181 invoked by uid 500); 30 Sep 2003 15:58:34 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 83154 invoked by uid 500); 30 Sep 2003 15:58:33 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 83135 invoked from network); 30 Sep 2003 15:58:33 -0000 Received: from unknown (HELO pscgate.progress.com) (192.77.186.1) by daedalus.apache.org with SMTP; 30 Sep 2003 15:58:33 -0000 Received: from elvirus.progress.com (elvirus [192.77.186.100]) by pscgate.progress.com (8.12.10/8.12.10/PSC-5.10) with ESMTP id h8UFwWrr020271 for ; Tue, 30 Sep 2003 11:58:33 -0400 (EDT) Received: from progress.com (localhost [127.0.0.1]) by elvirus.progress.com (8.10.2/8.10.2/PSC-4.01) with ESMTP id h8UFwVP25985 for ; Tue, 30 Sep 2003 11:58:31 -0400 (EDT) X-Authentication-Warning: elvirus.progress.com: iscan owned process doing -bs Received: from naserv.bedford.progress.com (naserv [172.16.5.174]) by progress.com (8.11.6/8.11.6) with ESMTP id h8UFwV103713 for ; Tue, 30 Sep 2003 11:58:31 -0400 (EDT) Received: from progress.com by naserv.bedford.progress.com (iPlanet Messaging Server 5.2 HotFix 1.17 (built Jun 23 2003)) with ESMTP id <0HM100501B1I8L@naserv.bedford.progress.com> for user@ant.apache.org; Tue, 30 Sep 2003 11:58:30 -0400 (EDT) Date: Tue, 30 Sep 2003 11:48:19 -0400 From: Claudio Corsi Subject: Re: AW: ANT environment setup ? In-reply-to: <20030930154926.72075.qmail@web20305.mail.yahoo.com> To: Ant Users List Message-id: <3F79A5C3.8090909@progress.com> Organization: ObjectStore - A Division of Progress Software MIME-version: 1.0 Content-type: text/plain; charset=us-ascii; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.5) Gecko/20030925 References: <20030930154926.72075.qmail@web20305.mail.yahoo.com> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Do an echo $PATH first to insure that it is part of the PATH. Then check that your ant script is executable. Shailesh Sharma wrote: > i did this too: > > unix-prompt> ant > ksh: ant: not found > > > the above is that what iam getting. > > > Eddie Bernard wrote: > That's because you used: > prompt> ./ant > which implies that you want to run the executable from the current directory > (i.e. '.') > > What you wanted is: > prompt> ant > which will find the ant executable from your defined $PATH > > > -----Original Message----- > From: Shailesh Sharma [mailto:shailesh_scea@yahoo.com] > Sent: Tuesday, September 30, 2003 6:57 AM > To: Ant Users List > Subject: Re: AW: ANT environment setup ? > > > I have this directory structure: > --------------- > all my jars are here: > > /user/bea/weblogic81/server/lib/ant/ant.jar > /user/bea/weblogic81/server/lib/ant/jakarta-oro-2.0.4.jar > /user/bea/weblogic81/server/lib/ant/optional.jar > > ----------------- > > > ------------------ > my executable ant is here: > /user/bea/weblogic81/server/bin/ant > /user/bea/weblogic81/server/bin/antRun > /user/bea/weblogic81/server/bin/antRun.pl > > --------------- > > > Now i need to run ANT from my profile: > ---------------- > here is where my .profile is: > /export/home/man7yrd > > and i want to run ant from this place and not from > /user/bea/weblogic81/server/bin > > --------------------------- > > i have changed my .profile file something like this: > PATH=/usr/bin:/usr/sbin > ANT_HOME=/user/bea/weblogic81/server > export ANT_HOME > set PATH=$ANT_HOME/bin:$PATH > export PATH > > ----------------- > > then i made this .profile as an executable like this: > > chmod +x .profile > > and then i ran this .profile file like this with no errors: > > ./.profile > > and then when i did this from here: > > unix-box>/export/home/man7yrd > ./ant > > it says ....../ant: not found > > what is the matter ? > please help !!! > > > > > Antoine_Levy-Lambert wrote: > > > -----Ursprungliche Nachricht----- > Von: Shailesh Sharma [mailto:shailesh_scea@yahoo.com] > Gesendet: Dienstag, 30. September 2003 03:04 > An: Ant Users List > Betreff: ANT environment setup ? > > > Hi, > >>Iam working on a UNIX box. I need to setup my ANT environment. Here is > > where my ant's executable is installed at: > /opt/bea/weblogic81/server/bin > > >>Iam assuming this path because when i type "./ant build.xml" from here > > .....it tells me that ANT is OK ........but when i run "./ant build.xml" > from anywhere else ......it gives me error that ant is not found or > something. > > >>I need to know if i need to run this ./ant command from say, > > /export/home/sxrdfe/applications/./ant build.xml > > Run /opt/bea/weblogic81/server/bin/ant -f build.xml > > actually you do not need to say -f build.xml because build.xml is the > default for build files > You might want to put /opt/bea/weblogic81/server/bin in the path > > > Another alternative is that you download say ant1.5.4 from ant.apache.org, > by following the download links. > > Then follow the installation instructions. > > (set ANT_HOME to the directory where you install ant, set PATH to include > $ANT_HOME/bin, and install under $ANT_HOME/lib the library dependencies that > you want to use, like for instance netcomponents.jar if you plan to use the > ftp task, ...) > > Cheers, > > Antoine > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------- > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------- > Do you Yahoo!? > The New Yahoo! Shopping - with improved product search --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org