Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 45586 invoked from network); 20 Nov 2005 21:33:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 20 Nov 2005 21:33:48 -0000 Received: (qmail 17064 invoked by uid 500); 20 Nov 2005 21:33:43 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 16977 invoked by uid 500); 20 Nov 2005 21:33:42 -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 16965 invoked by uid 99); 20 Nov 2005 21:33:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2005 13:33:42 -0800 Received-SPF: neutral (asf.osuosl.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; Sun, 20 Nov 2005 13:35:15 -0800 Received: from kropotkin.hpl.hp.com (kropotkin.hpl.hp.com [15.144.59.2]) by colossus.hpl.hp.com (8.12.10/8.12.10) with ESMTP id jAKLWgvH029289 for ; Sun, 20 Nov 2005 21:32:42 GMT Received: from localhost (localhost [127.0.0.1]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 4B6088EF9 for ; Sun, 20 Nov 2005 21:32:42 +0000 (GMT) Received: from kropotkin.hpl.hp.com ([127.0.0.1]) by localhost (kropotki [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 26421-03-3 for ; Sun, 20 Nov 2005 21:32:41 +0000 (GMT) Received: from timmay.hpl.hp.com (timmay-hb.hpl.hp.com [15.144.59.39]) by kropotkin.hpl.hp.com (Postfix) with ESMTP id 986287237 for ; Sun, 20 Nov 2005 21:32:41 +0000 (GMT) Received: from [16.27.193.32] ([16.27.193.32]) by timmay.hpl.hp.com (8.13.2/8.13.2) with ESMTP id jAKLWZLL019142 for ; Sun, 20 Nov 2005 21:32:35 GMT Message-ID: <4380EB9A.6090607@apache.org> Date: Sun, 20 Nov 2005 21:33:14 +0000 From: Steve Loughran User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: Subdirectory problem/always recompiles References: <8CA1EE8AD467DA44AD0A4EE122E42B0BE1F8E8@01AL10015010133> In-Reply-To: <8CA1EE8AD467DA44AD0A4EE122E42B0BE1F8E8@01AL10015010133> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-HPLB-IMAP-MailScanner-Information: Please contact the Helpdesk for more information X-HPLB-IMAP-MailScanner: Found to be clean X-HPLB-IMAP-MailScanner-SpamCheck: not spam, SpamAssassin (score=0, required 5) X-Virus-Scanned: amavisd-new at kropotkin.hpl.hp.com X-HPL-MailScanner-Information: Please contact the Helpdesk for more information X-HPL-MailScanner: Found to be clean X-HPL-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.662, required 5, autolearn=not spam, AWL -0.66) X-MailScanner-From: stevel@apache.org X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Brown, Carlton wrote: > I've got a situation where the directory structure of the source code > doesn't exactly correspond to the package structure, and therefore the > javac task always recompiles. Due to a number of policy considerations > I can't change the dir structure, so I've tried to work around this with > some clever mapping and globbing. I couldn't come up with a solution > so I thought I'd bring it here. I really think you ought to compile to the spec. the issue is not just that ant's dependency logic demands it, but so does javac, both on the command line and in when you hand off a .java file to be compiled, and something it imports aint there, then javac finds and compiles it first, using the package name to locate it. Break the package naming rules, and javac breaks. Whatever your policy is, it's broken. sorry. try and get it fixed again. -steve --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org