From user-return-51530-apmail-ant-user-archive=ant.apache.org@ant.apache.org Wed Aug 03 00:16:22 2005 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 86486 invoked from network); 3 Aug 2005 00:16:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Aug 2005 00:16:21 -0000 Received: (qmail 67143 invoked by uid 500); 3 Aug 2005 00:16:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 66238 invoked by uid 500); 3 Aug 2005 00:16:16 -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 66225 invoked by uid 99); 3 Aug 2005 00:16:16 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2005 17:16:16 -0700 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_50_60,HTML_MESSAGE,SPF_HELO_FAIL,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of carej@us.ibm.com designates 32.97.110.132 as permitted sender) Received: from [32.97.110.132] (HELO e34.co.us.ibm.com) (32.97.110.132) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Aug 2005 17:16:06 -0700 Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11]) by e34.co.us.ibm.com (8.12.10/8.12.9) with ESMTP id j730GDRX555168 for ; Tue, 2 Aug 2005 20:16:13 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by westrelay02.boulder.ibm.com (8.12.10/NCO/VERS6.7) with ESMTP id j730GASk199508 for ; Tue, 2 Aug 2005 18:16:10 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11/8.13.3) with ESMTP id j730GDaA020338 for ; Tue, 2 Aug 2005 18:16:13 -0600 Received: from d03nm119.boulder.ibm.com (d03nm119.boulder.ibm.com [9.17.195.145]) by d03av02.boulder.ibm.com (8.12.11/8.12.11) with ESMTP id j730GDEg020329 for ; Tue, 2 Aug 2005 18:16:13 -0600 In-Reply-To: <20050802232712.80896.qmail@web51904.mail.yahoo.com> To: "Ant Users List" MIME-Version: 1.0 Subject: Re: urgent : CC task compiles every time even .C is not changed X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 From: Jeffrey E Care Message-ID: Date: Tue, 2 Aug 2005 20:16:21 -0400 X-MIMETrack: Serialize by Router on D03NM119/03/M/IBM(Release 6.5.4|March 27, 2005) at 08/02/2005 18:16:23, Serialize complete at 08/02/2005 18:16:23 Content-Type: multipart/alternative; boundary="=_alternative 00017C3485257052_=" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 00017C3485257052_= Content-Type: text/plain; charset="US-ASCII" This behavior has nothing to do with the Ant runtime and everything to do with the implementation of the cc task. I would suggest that you take this up with the antcontrib folks. -- Jeffrey E. Care (carej@us.ibm.com) WebSphere v7 Release Engineer WebSphere Build Tooling Lead (Project Mantis) hiren patel wrote on 08/02/2005 07:27:12 PM: > Hi, > I am using CC task and it compiles prog.c to prog but it does it > all the time regardless of > prog.c has changed or not. > > ANT should not recompile when source .c has not changed. but it does.. > > do you know what is wrong? > > here is the code of build.xml: > > please provide suggestions ASAP > hiren patel > > > project name="CC Example" default="BuildProg"> > > > > > > > > > > > > > > > > > > > description="example of source compilation"> > subsystem="other" > name="${compiler}" > exceptions="true" > objdir="." > debug="true" > outtype="executable"> > > > > > > > > > > > > > > > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com --=_alternative 00017C3485257052_=--