Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 15838 invoked from network); 13 Sep 2005 12:34:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2005 12:34:54 -0000 Received: (qmail 17338 invoked by uid 500); 13 Sep 2005 12:34:35 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 17178 invoked by uid 500); 13 Sep 2005 12:34:35 -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 17123 invoked by uid 99); 13 Sep 2005 12:34:34 -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 05:34:34 -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.198 as permitted sender) Received: from [64.233.182.198] (HELO nproxy.gmail.com) (64.233.182.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 05:34:44 -0700 Received: by nproxy.gmail.com with SMTP id l37so926935nfc for ; Tue, 13 Sep 2005 05:34:30 -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:mime-version:content-type; b=Xv9/zI2SxvyUONyFYDThhlXXLxo4i/xjuYj8WEPxRK1yRUw75NTi/7IyG7CjF3jOtZ4PdX29KzlwQ3SaZLj/L9MzkgONGYq9Z3kmfLDfR/DW0O+mvhZHxe2rNDjuxJVfVEH2JKY6beOS808kRYQHJqPJw+dfcxP61EugsQi8zkI= Received: by 10.49.5.4 with SMTP id h4mr35741nfi; Tue, 13 Sep 2005 05:34:30 -0700 (PDT) Received: by 10.48.1.10 with HTTP; Tue, 13 Sep 2005 05:34:30 -0700 (PDT) Message-ID: Date: Tue, 13 Sep 2005 13:34:30 +0100 From: Andy Wickson Reply-To: andywickson@gmail.com To: user@ant.apache.org Subject: Very basic newby problem? Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_4271_18632233.1126614870365" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_4271_18632233.1126614870365 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 build.xml file) that contains some java source files. When I run the script with the debug option i get the following output: -------------------------------------------------------------------------st= art=20 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.5compile= d 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=20 file:///C:/testoutput/build .xml Setting ro project property: ant.project.name ->= =20 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=20 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= =20 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=20 javac run independently and Ant is invoked, I can't think what. Any ideas would be greatly appreciated. Thanks, Andy ------=_Part_4271_18632233.1126614870365--