Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 13291 invoked from network); 4 Dec 2003 11:40:43 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Dec 2003 11:40:43 -0000 Received: (qmail 72715 invoked by uid 500); 4 Dec 2003 11:40:40 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 72686 invoked by uid 500); 4 Dec 2003 11:40:40 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 72669 invoked from network); 4 Dec 2003 11:40:39 -0000 Received: from unknown (HELO 137100.vserver.de) (62.75.137.100) by daedalus.apache.org with SMTP; 4 Dec 2003 11:40:39 -0000 Received: from D2CFT80J (localhost.localdomain [127.0.0.1]) (authenticated) by 137100.vserver.de (8.11.6/8.11.6) with ESMTP id hB4BbGW22052 for ; Thu, 4 Dec 2003 12:37:17 +0100 From: =?us-ascii?Q?Antoine_Levy-Lambert?= To: "Ant Developers List" Subject: xmlcatalog, fileset evaluation[was AW: Macrodef @{x}] Date: Thu, 4 Dec 2003 12:39:12 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <747F247264ECE34CA60E323FEF0CCC0C0F517A@london.cellectivity.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal 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 Jose, first of all thanks for letting us know about your problems, >When I run this build.xml on my site (ANT1.6beta) I get an error that >saxon does not support the validate feature, which is odd. >Do we need to upgrade saxon in order to use 1.6? I do not know whether you need to upgrade saxon in order to use ant1.6. Maybe because of the new xml-apis.jar and xercesImpl.jar. I have downloaded the latest release of saxon to test your build file (saxon 6_5_3). >When I run my complete full build, which calls something simillar to >this one using I get the error with the XMLCatalogue not being >used when reading the XML file. (This works as is in ANT1.5.3). The > XMLCatalogue reference is passed from the main build to this one. would mean that references to xmlcatalogs are not passed properly across invocations. Maybe, in this case I need to make a test build to check that. >A maybe related issue, is that in my build there are certain >directories >that are generated in a precompilation phase. Those directories are >mentioned >in s which are declared as top level tasks. In 1.6 I get a sort >of warnning when executing the fileset indicating that an exception was >caught and continuing, but in 1.5.3 no problem is found. >My concern here is what happens when the reference is finally used. >In 1.5.3 the fileset is the correct one (since by the time it is used >the directories >are guaranteed to be there), but in 1.6 I am not sure what the fileset >will do. >Did we change the way filesets are evaluated? I thought they were very >lazy before. I am not 100% sure how the filesets are evaluated. I wonder whether there is not a check that the root directory of the fileset exists as soon as ant reads the fileset definition in the build file. Scanning is then done by each task using the fileset. Cheers, Antoine --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org