Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 60824 invoked from network); 2 Oct 2003 00:43:45 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Oct 2003 00:43:45 -0000 Received: (qmail 90831 invoked by uid 500); 2 Oct 2003 00:43:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 90803 invoked by uid 500); 2 Oct 2003 00:43:18 -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 14069 invoked by uid 500); 1 Oct 2003 18:32:45 -0000 X-eGroups-Return: leobarros@email.com Date: Wed, 01 Oct 2003 18:32:49 -0000 From: "Leonardo Abreu de Barros" To: ant-user@jakarta.apache.org Subject: Re: Warn for includes not found? Message-ID: In-Reply-To: <003c01c3883e$54e2b780$8590a8c0@GHSDENGXP67T> User-Agent: eGroups-EW/0.82 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: Yahoo Groups Message Poster X-Originating-IP: 139.82.85.55 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 Sean, I'm not sure if I understand your answer, so I'm sending you a snippet to get things clearer. I have the following xml: As you may see, the file "Mispeled.java" is missing an "l". In consequence of this, it doesn't get compiled. What I need is something that warns the programmer about his mistake. thanks, Leonardo. --- In apache-ant@yahoogroups.com, "W. Sean Hennessy" wrote: > Would not an exclude patternset help to identify file(s) that do not match the naming convention in the javac patternset > as a result of misspellings? > The build.xml could then generate a warning if the exclude patternset is not empty. > > -----Original Message----- > From: Leonardo Abreu de Barros [mailto:leobarros@e...] > Sent: Wednesday, October 01, 2003 8:14 AM > To: ant-user@j... > Subject: Warn for includes not found? > > > Hi all, > > I was requested to do something that I'm not sure if it's possible using Ant... People here are giving a patternset to > the javac task of source files to be compiled; this is because they want to be allowed to have other java files in the > source directories, test files for example, that shouldn't be compiled during the project build. The problem is: when > someone mispells a file name, Ant ignores it. As a result, the right file isn't compiled. So, they want Ant to warn or > crash when some include file is not found. Is there a simple way to accomplish this? > > thanks, > Leonardo A. Barros > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@a... > For additional commands, e-mail: user-help@a... > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@a... > For additional commands, e-mail: user-help@a... --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org