From dev-return-86765-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Mon Feb 13 22:56:24 2012 Return-Path: X-Original-To: apmail-ant-dev-archive@www.apache.org Delivered-To: apmail-ant-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B38CE9DBF for ; Mon, 13 Feb 2012 22:56:24 +0000 (UTC) Received: (qmail 75671 invoked by uid 500); 13 Feb 2012 22:56:24 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 75588 invoked by uid 500); 13 Feb 2012 22:56:23 -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 75580 invoked by uid 99); 13 Feb 2012 22:56:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 22:56:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jak-ant-dev@m.gmane.org designates 80.91.229.3 as permitted sender) Received: from [80.91.229.3] (HELO plane.gmane.org) (80.91.229.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 22:56:15 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Rx4oG-0005BX-Ef for dev@ant.apache.org; Mon, 13 Feb 2012 23:55:48 +0100 Received: from c-174-62-212-174.hsd1.ma.comcast.net ([174.62.212.174]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2012 23:55:48 +0100 Received: from jesse.glick by c-174-62-212-174.hsd1.ma.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Feb 2012 23:55:48 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: dev@ant.apache.org From: Jesse Glick Subject: Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support Date: Mon, 13 Feb 2012 17:55:34 -0500 Organization: Oracle Corp. / NetBeans Lines: 6 Message-ID: References: <87obtc1l08.fsf@v35516.1blu.de> <4F39559A.80003@callenish.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-174-62-212-174.hsd1.ma.comcast.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 In-Reply-To: <4F39559A.80003@callenish.com> On 02/13/2012 01:25 PM, Bruce Atherton wrote: > could Java 7 and NIO 2.0 be a good reason to create Ant 2.0? While the new java.nio.file.* APIs are indeed valuable for a tool like Ant, I hardly think a fork or major rewrite is required to take advantage of them. As Stefan pointed out, it would be as easy as creating a new FileUtils subclass, and for now compiling it conditionally. Whenever we drop JDK 5 and 6 support and require JDK 7 (which BTW is soon to be available for all major platforms when the Mac version is released), it will be simple to make that be the standard impl. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org