Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 42195 invoked from network); 13 Sep 2005 13:33:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Sep 2005 13:33:22 -0000 Received: (qmail 46618 invoked by uid 500); 13 Sep 2005 13:33:15 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46573 invoked by uid 500); 13 Sep 2005 13:33:15 -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 46560 invoked by uid 99); 13 Sep 2005 13:33:15 -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:33:15 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.197.44.25] (HELO mentorix.com) (203.197.44.25) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Sep 2005 06:33:25 -0700 Received: from KinjalVora ([10.3.74.12]) by mentorix.com (8.13.1/8.13.1) with SMTP id j8DDNRCr029566; Tue, 13 Sep 2005 18:53:27 +0530 Reply-To: From: "Kinjal" To: "Ant Users List" , Subject: RE: Very basic newby problem? Date: Tue, 13 Sep 2005 19:02:27 +0530 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: Importance: Normal X-Lionbridge-User: Unauthorised User X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N how to use ant in clear case write procedure asap ------------------------------------ LionBridge Technologies Pvt. Ltd. Kinjal Vohra SCM/Build Engineer kinjal.vohra@mentorix.com 5th Floor, Spectra Bldg., Hiranandani Business Park, Powai, Mumbai-400076. Maharashtra, India. tel: +912255567349 mobile: +919867240708 ------------------------------------ -----Original Message----- From: Andy Wickson [mailto:andywickson@gmail.com] Sent: Tuesday, September 13, 2005 18:05 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: -------------------------------------------------------------------------sta rt 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 = 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=C:\Program Files\IBM\Java142 ANT_HOME=C:\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 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org