From user-return-39546-apmail-ant-user-archive=ant.apache.org@ant.apache.org Fri Dec 19 11:47:38 2003 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 65979 invoked from network); 19 Dec 2003 11:47:38 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 19 Dec 2003 11:47:38 -0000 Received: (qmail 51696 invoked by uid 500); 19 Dec 2003 11:47:23 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 51648 invoked by uid 500); 19 Dec 2003 11:47:22 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 51561 invoked from network); 19 Dec 2003 11:47:22 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 19 Dec 2003 11:47:22 -0000 Received: from antbuild.com (localhost.localdomain [127.0.0.1]) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id hBJBlIW16451 for ; Fri, 19 Dec 2003 12:47:19 +0100 Message-ID: <3FE2E4E6.3040806@antbuild.com> Date: Fri, 19 Dec 2003 12:45:42 +0100 From: =?ISO-8859-1?Q?Antoine_L=E9vy-Lambert?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Users List Subject: Re: ant 1..5.4 javac failonerror no classes generated References: <200312191013.LAA01042@mars.sogitec.fr> In-Reply-To: <200312191013.LAA01042@mars.sogitec.fr> X-Enigmail-Version: 0.82.4.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi, this is standard behavior of javac, you do not get any classes generated if one of the java files fails. You can try to exclude from the fileset you want to compile the sources which are wrong (see the doc of the javac task to see how to nest filesets with sources). The best thing to do however is to force the developers to fix the syntax errors or to move physically the bad sources outside of the repository location from which you are taking the sources to compile. for instance //repository/good ---> contains the normal stuff //repository/bad ---> contains classes that do not compile which are kept for historical reasons Hopes this helps, Antoine Jean-Philippe Pattus wrote: >hello the list, >i'm trying to compile some sources. On my sources there are some errors, but i want to compile >all the sources. I set failonerror to false, javac compile the sources, but the .classes are not generated >in D:\Temp\bin.... It's bizarre, no? >I'm sure the problem is between my chair and my screen, but i dont find the solution, if you can help me.... > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org