Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 3744 invoked from network); 31 May 2010 03:15:45 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 31 May 2010 03:15:45 -0000 Received: (qmail 82613 invoked by uid 500); 31 May 2010 03:15:44 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 82528 invoked by uid 500); 31 May 2010 03:15:44 -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 82520 invoked by uid 99); 31 May 2010 03:15:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 03:15:44 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of glennoph@gmail.com designates 74.125.82.173 as permitted sender) Received: from [74.125.82.173] (HELO mail-wy0-f173.google.com) (74.125.82.173) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 May 2010 03:15:37 +0000 Received: by wyf28 with SMTP id 28so1373177wyf.4 for ; Sun, 30 May 2010 20:15:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=bhbYOOheYWD49rli1m6G8KIY0D8U9q1wzRAlXdVRXUM=; b=gE0umyvUeokg8IcPxArCuiV7lBbtTglNZ5nRHzwv+zHBWuq1jA0HT4wTIarmbvaX8r TlfKKE6LFuMIOS4Ro4WIWOIH2iSSW/kgR2c4BGIgM/rjXP34t3zjhwRdkp9qi4dnEQzB 1wI4DQgUaQHmm3azQm0NCaEXgi1e3HqlLqSC4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=TQRjtJA9Pn/Q1CWmxQUnE5ZtOTssJji8ruMPGtLsxNL70OJhOgjnkXS9vcmp4fgXRY qwqnq+q5QBlyjCXgFyhqasrxAcZOqsg7d/yd1lzcf3Niw5oLRRP9zcm/V4TzJ3yQ9oQZ Aca59hasLGvjgfOsH+WTDid7e77gPQG0MI1Ig= MIME-Version: 1.0 Received: by 10.216.172.134 with SMTP id t6mr3865347wel.23.1275275717678; Sun, 30 May 2010 20:15:17 -0700 (PDT) Received: by 10.216.178.5 with HTTP; Sun, 30 May 2010 20:15:17 -0700 (PDT) In-Reply-To: <4C030265.7080209@callenish.com> References: <7090e2562a20.4c008ce8@ucd.ie> <4C0188A3.1090101@callenish.com> <4C02BC40.1080403@callenish.com> <007d01cb003f$7c22b4a0$0301a8c0@Olenica> <4C030265.7080209@callenish.com> Date: Sun, 30 May 2010 22:15:17 -0500 Message-ID: Subject: Re: ANT for dummies From: glenn opdycke-hansen To: Ant Users List Content-Type: multipart/alternative; boundary=0016e6434be82496ab0487db4473 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6434be82496ab0487db4473 Content-Type: text/plain; charset=ISO-8859-1 Thank you for the additional information. I read the section "The Short Story" which had the item 5 that I quoted above. I see that this section did not refer to building Ant from source. Perhaps item 5 should not be included there. --glenn On Sun, May 30, 2010 at 19:27, Bruce Atherton wrote: > If you read that section again, you'll see that these are the steps for > someone building Ant from source code. You are not doing that, so you can > ignore it. > > > On 30/05/2010 2:31 PM, Raul Miranda wrote: > >> Dear Bruce and Glenn, >> >> >> >> Thank you very much for your answers. I want to install the 1.8.1 version >> of Ant in Mac OS X version 10.4.11. Running java -version in a terminal >> gives >> >> >> >> "java version 1.5.0_19" >> >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_19-b02-306) >> >> Java HotSpot(TM) Client VM (build 1.5.0_19-138, mixed mode, sharing) >> >> >> >> I managed to set the environment variables and got Ant installed. I >> executed the command ant -f fetch.xml -Ddest=system to get the library >> dependencies. This finished with a message >> >> >> >> all: >> >> >> >> BUILD SUCCESSFUL >> >> Total time: 2minutes 32 seconds >> >> >> >> After this, the Ant manual says to change into the installation directory >> set the JAVA_HOME environment variable to the directory where JDK is >> installed and execute the command >> >> sh build.sh -Ddist.dir= dist >> >> I have Ant in /Applications/ant so I typed >> >> sh build.sh -Ddist.dir=/Applications/ant dist >> >> The result is: >> >> build.sh: build.sh: No such file or directory. >> >> I guess this may seem to be a trivial thing for most of you but it is >> taking the toll on me. I a great believe I would appreciate your advice to >> have Ant built. >> >> >> >> Thanks a lot >> >> >> >> Raul >> >> >> >> ----- Original Message ----- From: "Bruce Atherton" >> To: >> Sent: Sunday, May 30, 2010 8:28 PM >> Subject: Re: ANT for dummies >> >> >> As the manual says, the details of the short story are available in the >>> rest of the document. In particular, most of the list items in the short >>> story have a link that leads you to details about that step. If you want to >>> know what dest=system represents (many don't and describing it would just be >>> noise for them), then follow the link on that list item[1]. >>> >>> The fetch.xml has been around a while and has been mentioned in some >>> portions of the Ant documentation, but it has only very recently been >>> brought into the installing Ant section of the manual. Previously, the >>> manual suggested that users manually download each of the library >>> dependencies for tasks that they are interested in. Hopefully the change >>> will make it easier for users to use more of the tasks available. >>> >>> The fetch.xml is in the ANT_HOME directory which should be the current >>> directory. That detail should probably be added to the manual. >>> >>> [1] http://ant.apache.org/manual/install.html#optionalTasks >>> >>> On 30/05/2010 5:18 AM, glenn opdycke-hansen wrote: >>> >>>> To install Ant, follow the instructions at >>>> http://ant.apache.org/manual/install.html#installing >>>> Bruce had more information on this above. >>>> I did notice that there is an extra step: >>>> >>>> 5. Optionally, run ant -f fetch.xml -Ddest=system to get the library >>>> >>>> dependencies of most of the Ant optional tasks. If you don't do this, >>>>> many >>>>> of the optional Ant tasks will not be available. See Optional >>>>> Tasks<#optionalTasks> for >>>>> details and other options for the -Ddest parameter. >>>>> >>>>> What is "system"? Is it replaced with the ant home? Or is it a >>>> literal? >>>> Is this step new with 1.8? >>>> Where is the fetch.xml script? >>>> Does current directory need to be set? >>>> >>>> --glenn >>>> >>>> >>>> >>> >>> --------------------------------------------------------------------- >>> 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 >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --0016e6434be82496ab0487db4473--