From dev-return-83566-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Wed Nov 05 04:58:53 2008 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 51946 invoked from network); 5 Nov 2008 04:58:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2008 04:58:53 -0000 Received: (qmail 48259 invoked by uid 500); 5 Nov 2008 04:58:58 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 48225 invoked by uid 500); 5 Nov 2008 04:58:58 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 48214 invoked by uid 99); 5 Nov 2008 04:58:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 20:58:58 -0800 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 [88.84.142.181] (HELO samaflost.de) (88.84.142.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 04:57:43 +0000 Received: from localhost (unknown [127.0.0.1]) by samaflost.de (Postfix) with ESMTP id 58970E220014 for ; Wed, 5 Nov 2008 04:58:24 +0000 (UTC) Received: from samaflost.de ([127.0.0.1]) by localhost (v30161.1blu.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20034-05 for ; Wed, 5 Nov 2008 05:58:23 +0100 (CET) Received: by samaflost.de (Postfix, from userid 2525) id 60AD3E22000A; Wed, 5 Nov 2008 05:58:23 +0100 (CET) To: dev@ant.apache.org Subject: Re: javac task problem in Java 6 X-Draft-From: ("nnfolder:mail.jakarta-ant" 90569) References: <22ac04340810301122v241cd885oc61d6a4b45a008d9@mail.gmail.com> <22ac04340811040207lb2a47fes9ffcb1c4014350b9@mail.gmail.com> <491050BC.9070804@ptc.com> <22ac04340811040621u40fe440bl76df53b0d63745d4@mail.gmail.com> From: Stefan Bodewig Date: Wed, 05 Nov 2008 05:58:23 +0100 In-Reply-To: <22ac04340811040621u40fe440bl76df53b0d63745d4@mail.gmail.com> (Sergey Bondarenko's message of "Tue\, 4 Nov 2008 16\:21\:46 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: amavisd-new at samaflost.de X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 4 Nov 2008, Sergey Bondarenko wrote: > javac -sourcepath A.java -classpath b.jar A.java > It works properly in both JDK 5 and 6. This is not what Ant does (and why I pointed you at sourcepath="" in order to get something like that. > But Ant's javac task with "includes" and "excludes" does not work > with JDK 6. See my response. > So I am not sure that problem is in javac compiler. It looks like > there is a problem in javac Ant task. Could anybody please check > it? Is there any way to look at exact javac invocation string that > is produced for the build script? Run Ant with -verbose. Stefan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org