Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 5911 invoked from network); 20 Sep 2007 14:53:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Sep 2007 14:53:31 -0000 Received: (qmail 59833 invoked by uid 500); 20 Sep 2007 14:53:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 59808 invoked by uid 500); 20 Sep 2007 14:53:19 -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 59797 invoked by uid 99); 20 Sep 2007 14:53:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 07:53:19 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [192.6.10.2] (HELO colossus.hpl.hp.com) (192.6.10.2) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Sep 2007 14:53:16 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by colossus.hpl.hp.com (Postfix) with ESMTP id 03AB76BA0B for ; Thu, 20 Sep 2007 15:52:55 +0100 (BST) X-Virus-Scanned: amavisd-new at hplb.hpl.hp.com Received: from colossus.hpl.hp.com ([127.0.0.1]) by localhost (colossus.hpl.hp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zE1WgXcauS52 for ; Thu, 20 Sep 2007 15:52:53 +0100 (BST) Received: from ha-node-br2.hpl.hp.com (ha-node-br2.hpl.hp.com [16.25.144.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by colossus.hpl.hp.com (Postfix) with ESMTP id 6E2DB6BA09 for ; Thu, 20 Sep 2007 15:52:53 +0100 (BST) Received: from [16.25.171.118] (morzine.hpl.hp.com [16.25.171.118]) by ha-node-br2.hpl.hp.com (8.14.1/8.13.4) with ESMTP id l8KEqdAj019856 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 20 Sep 2007 15:52:39 +0100 (BST) Message-ID: <46F28926.3000000@apache.org> Date: Thu, 20 Sep 2007 15:52:22 +0100 From: Steve Loughran User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: Ant Users List Subject: Re: Classes directory is having old class file References: <46F281B4.5040001@comneti.com> In-Reply-To: <46F281B4.5040001@comneti.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPL-MailScanner-Information: Please contact the ISP for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org Yasothamani wrote: > In our project we are having two versions (project 1.x and 2.x) > For java compilation we are using Ant 1.6.5. The directory structure and > java file names are same in both versions of the project. > Project 2.x is having some changes which are not available in project 1.x. > When we are compiling Project 2.x alone then there is no problem with > the class file generated, whereas if we compiled project 1.x and then > project 2.x then the classes directory is having the class files of > project 1.x. > Java version is 1.5.0_06. > Attached is the build.xml (same for both projects) for the reference. > Are you trying to compile both projects into the same classes directory? -- Steve Loughran http://www.1060.org/blogxter/publish/5 Author: Ant in Action http://antbook.org/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org