Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 38778 invoked from network); 26 Jun 2007 09:26:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2007 09:26:11 -0000 Received: (qmail 29519 invoked by uid 500); 26 Jun 2007 09:26:09 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 29484 invoked by uid 500); 26 Jun 2007 09:26:08 -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 29473 invoked by uid 99); 26 Jun 2007 09:26:08 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 02:26:08 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=INFO_TLD,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of akshat.kumar.yadav@citigroup.com designates 192.193.71.4 as permitted sender) Received: from [192.193.71.4] (HELO mail.citigroup.com) (192.193.71.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jun 2007 02:26:04 -0700 Received: from imbarc-sg02.apac.nsroot.net (imbarc-sg02.ap.ssmb.com [163.37.24.22]) by imbaspam-sg04.apacdmz.dmzroot.net (8.13.8/8.13.8/SSMB_EXT/ev: 16778 $) with ESMTP id l5Q9PUiA002653; Tue, 26 Jun 2007 09:25:34 GMT Received: from mailhub-sg01.apac.nsroot.net (mailhub-sg01.apac.nsroot.net [163.36.1.97]) by imbarc-sg02.apac.nsroot.net (8.13.7/8.13.7/SSMB_QQQ_IN/1.1) with ESMTP id l5Q9PLdA013844; Tue, 26 Jun 2007 09:25:21 GMT Received: from exsgsm02.apac.nsroot.net (exsgsm02.apac.nsroot.net [163.36.1.116]) by mailhub-sg01.apac.nsroot.net (8.13.7/8.13.7/CG_HUB) with ESMTP id l5Q9PB81014995; Tue, 26 Jun 2007 09:25:19 GMT Received: from exsgmb02.apac.nsroot.net ([163.36.1.25]) by exsgsm02.apac.nsroot.net with Microsoft SMTPSVC(5.0.2195.6713); Tue, 26 Jun 2007 17:24:57 +0800 X-MimeOLE: Produced By Microsoft Exchange V6.0.6619.12 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Javac task query Date: Tue, 26 Jun 2007 17:24:56 +0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Javac task query Thread-Index: Ace30xWdmiR9rRyTTe+KutclFAx5bgAAEp5Q References: <1182849436.5159.31.camel@localhost> From: "Yadav, Akshat Kumar " To: "Ant Users List" Cc: X-OriginalArrivalTime: 26 Jun 2007 09:24:57.0067 (UTC) FILETIME=[DC9DF3B0:01C7B7D3] X-Scanned-By: MIMEDefang 2.52 on 192.193.71.4 X-Virus-Checked: Checked by ClamAV on apache.org =20 Thanks Prashant for reply.=20 I had gone through this link earlier, my source dir structure mirrors package dir structure. Even I tried to put the source and dest dir as single dir. Any suggestion's welcome... Also, I had gone to following links, but no luck for me :( http://mail-archives.apache.org/mod_mbox/ant-user/200111.mbox/%3cKCEIJFM KLJJOJIBAAPJMAEPPCOAA.ttm@online.no%3e http://article.gmane.org/gmane.comp.jakarta.ant.user/42524 http://marc.info/?l=3Dant-user&m=3D97303040120654&w=3D2 http://dev.eclipse.org/newslists/news.eclipse.tools.jdt/msg01615.html http://mail-archives.apache.org/mod_mbox/ant-user/200009.mbox/%3cNDBBIMH CHMPELMBMMFIMEEDKDPAA.conor@ebinteractive.com.au%3e https://issues.apache.org/struts/browse/STR-2403 Thanks, -----Original Message----- From: Prashant Reddy [mailto:prashant@pramati.com]=20 Sent: Tuesday, June 26, 2007 5:17 PM To: Ant Users List Subject: Re: Javac task query Please see : http://ant.apache.org/faq.html#always-recompiles HTH On Tue, 2007-06-26 at 16:15 +0800, Yadav, Akshat Kumar wrote: > Hi All, >=20 > Ant manual says "The source and destination directory will be=20 > recursively scanned for Java source files to compile. Only Java files=20 > that have no corresponding .class file or where the class file is=20 > older than the .java file will be compiled." >=20 > Reference: http://ant.apache.org/manual/CoreTasks/javac.html >=20 > But, when I compile my java files through using ANT javav task, all=20 > files gets compiled every time. Rather, I want it to compile only=20 > those files that have no corresponding .class file or where the class=20 > file is older than the .java file. >=20 > Code: >=20 > > deprecation=3D"no" debug=3D"on" listfiles=3D"yes"> > > includes=3D"**/*.jar **/*.zip"/> > includes=3D"**/*.*"/> > > > >=20 > Let me know what I am missing... >=20 > Thanks, >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional > commands, e-mail: user-help@ant.apache.org --=20 -Prashant Don't upload, just share : www.dekoh.com --------------------------------------------------------------------- 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