Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 65040 invoked from network); 18 Apr 2006 04:52:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Apr 2006 04:52:03 -0000 Received: (qmail 46587 invoked by uid 500); 18 Apr 2006 04:52:02 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 46537 invoked by uid 500); 18 Apr 2006 04:52:01 -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 46526 invoked by uid 99); 18 Apr 2006 04:52:01 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 21:52:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [210.245.32.200] (HELO mail.fts-vn.com) (210.245.32.200) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 21:52:01 -0700 Received: from sg0104.fts-vn.com ([172.16.1.32]) by mail.fts-vn.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1FViBc-0001tc-Dk for dev@ant.apache.org; Tue, 18 Apr 2006 11:51:36 +0700 Message-ID: <44447100.7010901@it.fts-vn.com> Date: Tue, 18 Apr 2006 11:54:24 +0700 From: Kev Jackson User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ant Developers List Subject: Re: Ant 1.7 NullPointerException AbstractFileSet and OOM error References: <20060418041452.37958.qmail@web30903.mail.mud.yahoo.com> In-Reply-To: <20060418041452.37958.qmail@web30903.mail.mud.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.8 {--} X-Spam-Report: Spam detection software, running on the system "mail.fts-vn.com", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: >well, obviously if I broke them it's entirely likely >they won't be alone. Probably the easiest/most BC >thing will be some form of checking whether >(Abstract?)FileSet instances have a project set and >using the task's project if not (I think fileset >handling is separate from other ResourceCollections, >so that will work... otherwise I'll clone the >filesets). I'll take a look in about ten hours after >I get to work. > >-Matt > > For testing purposes: >> [...] Content analysis details: (-2.8 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -2.8 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 AWL AWL: From: address is in the auto white-list X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N >well, obviously if I broke them it's entirely likely >they won't be alone. Probably the easiest/most BC >thing will be some form of checking whether >(Abstract?)FileSet instances have a project set and >using the task's project if not (I think fileset >handling is separate from other ResourceCollections, >so that will work... otherwise I'll clone the >filesets). I'll take a look in about ten hours after >I get to work. > >-Matt > > For testing purposes: >> Yes, there's a couple operations that copy around 500 files. Here's how to reproduce the problem in AppFuse: 1. Checkout the latest code from CVS: cvs -d :pserver:guest@cvs.dev.java.net:/cvs co -P appfuse (you may have to login first, password is guest) 2. cd into appfuse/extras/appgen and run "ant test-all". 3. Make sure your ANT_OPTS are set to "". When I do this, I get the following after 4 minutes: [copy] Copying 328 files to C:\Source\appfuse-appgen2 [copy] Copying 104 files to C:\Source\appfuse-appgen2\extras BUILD FAILED C:\Source\appfuse\extras\appgen\build.xml:639: The following error occurred while executing this lin e: C:\Source\appfuse\extras\appgen\build.xml:546: The following error occurred while executing this lin e: java.lang.OutOfMemoryError: Java heap space Total time: 4 minutes 9 seconds << Ant 1.7 fails when trying to execute the cargo config, long before the heap space issue (probably within ~1 min). Kev --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org