From dev-return-86779-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Thu Feb 16 17:16:03 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 2FA20982B for ; Thu, 16 Feb 2012 17:16:03 +0000 (UTC) Received: (qmail 38689 invoked by uid 500); 16 Feb 2012 17:16:02 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 38505 invoked by uid 500); 16 Feb 2012 17:16:02 -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 38484 invoked by uid 99); 16 Feb 2012 17:16:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 17:16:02 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [173.247.251.126] (HELO biz82.inmotionhosting.com) (173.247.251.126) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Feb 2012 17:15:54 +0000 Received: from [24.108.137.46] (port=50053 helo=[192.168.145.106]) by biz82.inmotionhosting.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Ry4vb-0001L8-LX; Thu, 16 Feb 2012 09:15:31 -0800 Message-ID: <4F3D39B1.8000302@callenish.com> Date: Thu, 16 Feb 2012 09:15:29 -0800 From: Bruce Atherton User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1 MIME-Version: 1.0 To: Ant Developers List CC: Jeffrey E Care Subject: Re: NIO 2.0 == Ant 2.0? was Re: Java NIO support References: <87obtc1l08.fsf@v35516.1blu.de> <4F39559A.80003@callenish.com> <4F3AB799.3000703@callenish.com> <4F3C607C.5020706@callenish.com> In-Reply-To: <4F3C607C.5020706@callenish.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - biz82.inmotionhosting.com X-AntiAbuse: Original Domain - ant.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - callenish.com X-Source: X-Source-Args: X-Source-Dir: On 2/15/2012 5:48 PM, Bruce Atherton wrote: > I've read a blog post that said that one of the requirements that has > been adopted is OSGI compatibility... > Here is the post I mentioned: http://osgithoughts.blogspot.com/2011/05/java-se-8-modularity-requirements.html It brings up a good point: a system architected with modularity in mind is fundamentally different from a system that isn't. Ant 1.x is modular, but there are many different kinds of modularity introduced over time and it can be hard to keep track of which files need to be modified to add a particular build file element. Some are pluggable, some load from a properties list, etc. Sometimes, particularly for backward API compatibility, you need to add a new element to more than one place and it can be easy to miss one. Having a single module system for the whole system that is compatible with what is expected in Java 8, with the option of plugging OSGI in to replace it, seems like a good solution to me. When Java 8 is the lowest supported JVM of Ant 2 (sometime 5 years from now based on previous experience) we can drop our solution and use whatever is bundled as the default. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org