Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 75246 invoked from network); 10 Feb 2006 05:03:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Feb 2006 05:03:56 -0000 Received: (qmail 48912 invoked by uid 500); 10 Feb 2006 05:03:50 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 48872 invoked by uid 500); 10 Feb 2006 05:03:50 -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 48861 invoked by uid 99); 10 Feb 2006 05:03:50 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 21:03:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [217.160.128.107] (HELO www.samaflost.de) (217.160.128.107) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Feb 2006 21:03:48 -0800 Received: by www.samaflost.de (Postfix, from userid 1000) id F328788A408; Fri, 10 Feb 2006 06:03:24 +0100 (CET) To: user@ant.apache.org Subject: Re: Question on error X-Draft-From: ("nnfolder:mail.jakarta-ant-user" 52409) References: <8CA1EE8AD467DA44AD0A4EE122E42B0BE1F974@01AL10015010133> From: Stefan Bodewig Date: Fri, 10 Feb 2006 06:03:24 +0100 In-Reply-To: <8CA1EE8AD467DA44AD0A4EE122E42B0BE1F974@01AL10015010133> (Carlton Brown's message of "Thu, 9 Feb 2006 13:47:58 -0600") Message-ID: <87oe1fkdpf.fsf@www.samaflost.de> User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On Thu, 9 Feb 2006, Carlton Brown wrote: > "The class (ClassA) in file (file) is out of date due to > (ClassfileA) but has not been deleted because its source file could > not be determined." I know this warning message from some historical Java files that use multiple classes in the same source file. This warning is issued when a package private class is out of date that lives in a source file that has a differenet name than its source file. > I have a few issues here... > > 1) The source file is there on disk, it definitely exists And has the same name as the class file (minus extension) and the same case and is located in a proper directory hierarchy matching its package? > 2) How can it determine it is "out of date" if it can't identify the > source file? Are you using the closure attribute? Ant may know that a class your class depends on is out of date. > 3) Is there a way to force it to delete the allegedly out-of-date > file even if its source file "could not be determined" and is there > anything wrong with such an approach? If Ant can't find it, it can't delete it. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org