Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 30677 invoked from network); 13 Sep 2005 13:18:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2005 13:18:59 -0000 Received: (qmail 96040 invoked by uid 500); 13 Sep 2005 13:18:47 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 95919 invoked by uid 500); 13 Sep 2005 13:18:46 -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 95879 invoked by uid 99); 13 Sep 2005 13:18:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 06:18:45 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=HTML_20_30,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of andywickson@gmail.com designates 64.233.182.203 as permitted sender) Received: from [64.233.182.203] (HELO nproxy.gmail.com) (64.233.182.203) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 06:18:55 -0700 Received: by nproxy.gmail.com with SMTP id l37so931675nfc for ; Tue, 13 Sep 2005 06:18:42 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=rMzf2oL7TsSCP9CwOLK0G/y09sPaUB02dLl/A5RMKITgRiCA/KH/P9jf7kWrSvMEeGfMFizBVV4dg8rlpik5Frb79gdE/aEKsvNQgPlyKKFTdeD+9nZEO1piV75JMWqS6Iq4uPJR7JsA9eo3ZkKSStjFYXiToL6k6gbWelWnLwY= Received: by 10.49.1.9 with SMTP id d9mr39065nfi; Tue, 13 Sep 2005 06:18:42 -0700 (PDT) Received: by 10.48.1.10 with HTTP; Tue, 13 Sep 2005 06:18:42 -0700 (PDT) Message-ID: Date: Tue, 13 Sep 2005 14:18:42 +0100 From: Andy Wickson Reply-To: andywickson@gmail.com To: "Erskine, Chris" Subject: Re: Very basic newby problem? Cc: Ant Users List In-Reply-To: <3A93DED90B55DB4F80D7CE2F7FF62ADD01A1E3CF@usplm235.amer.corp.eds.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4351_9093865.1126617522138" References: <3A93DED90B55DB4F80D7CE2F7FF62ADD01A1E3CF@usplm235.amer.corp.eds.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_4351_9093865.1126617522138 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Thanks for the input - it was due to the lack of a default target Thanks. Regards Andy On 9/13/05, Erskine, Chris wrote: >=20 > When you are calling Ant, are you giving it a target to execute? Since > your project tag does not have the 'default' attribute in it, Ant does > not know what target to execute. >=20 > Chris Erskine >=20 > EDS Consulting Services > Colorado Springs, CO >=20 > Phone: 719-265-5962 > Cell: 719-640-6488 >=20 >=20 > > -----Original Message----- > > From: Andy Wickson [mailto:andywickson@gmail.com] > > Sent: Tuesday, September 13, 2005 6:35 AM > > To: user@ant.apache.org > > Subject: Very basic newby problem? > > > > Hi, > > > > I am attempting the run the following ant script: > > > > > > > > simple example build file > > > > > > > > > > > > > > > > where common is a directory under the root directory (containing the > > build.xml file) that contains some java source files. > > > > When I run the script with the debug option i get the following > output: > > > ------------------------------------------------------------------------ > - > > start > > clip > > Apache Ant version 1.6.5 compiled on June 2 2005 > > Buildfile: build.xml > > Adding reference: ant.PropertyHelper > > Detected Java version: 1.4 in: C:\Program Files\IBM\Java142\jre > > Detected OS: Windows XP > > Adding reference: ant.ComponentHelper > > Setting ro project property: ant.version -> Apache Ant version > > 1.6.5compiled on > > June 2 2005 > > Setting ro project property: ant.file -> C:\testoutput\build.xml > > Adding reference: ant.projectHelper > > Adding reference: ant.parsing.context > > Adding reference: ant.targets > > parsing buildfile C:\testoutput\build.xml with URI =3D > > file:///C:/testoutput/build > > .xml > > Setting ro project property: ant.project.name > -> > > MyProject > > Adding reference: MyProject > > Setting ro project property: ant.file.MyProject -> > C:\testoutput\build.xml > > Project base dir set to: C:\testoutput > > +Target: > > +Target: compile > > Attempting to create object of type > > org.apache.tools.ant.helper.DefaultExecutor > > Adding reference: ant.executor > > > ------------------------------------------------------------------------ > -- > > ---end > > clip > > > > no attempt seems to compile the files and indeed no class files are > > created. > > > > if i run the command javac common\*.java from the root directory it > works > > ok. > > > > I have the following env. variables set: > > JAVA_HOME=3DC:\Program Files\IBM\Java142 > > ANT_HOME=3DC:\apache-ant-1.6.5 > > > > I assume it must be something quite fundamental but the fact that i > see > > javac run independently and Ant is invoked, I can't think what. > > > > Any ideas would be greatly appreciated. > > > > Thanks, > > Andy > ------=_Part_4351_9093865.1126617522138--