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 23AB210912 for ; Tue, 10 Dec 2013 13:44:01 +0000 (UTC) Received: (qmail 68780 invoked by uid 500); 10 Dec 2013 13:43:59 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 68675 invoked by uid 500); 10 Dec 2013 13:43:55 -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 68660 invoked by uid 99); 10 Dec 2013 13:43:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 13:43:54 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andrejohn.mas@gmail.com designates 209.85.128.47 as permitted sender) Received: from [209.85.128.47] (HELO mail-qe0-f47.google.com) (209.85.128.47) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Dec 2013 13:43:49 +0000 Received: by mail-qe0-f47.google.com with SMTP id t7so4177064qeb.34 for ; Tue, 10 Dec 2013 05:43:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:mime-version:in-reply-to:content-type :content-transfer-encoding:message-id:cc:from:subject:date:to; bh=uNsZa7RZJbIO7CW5dDvv1PM+9kp72qUwTEVtQSnYs6w=; b=gDN/oyZetsnWDZZFd7ll7F/XXabgq8kCa++ts2VZdbCrhKIfCm0w9LXkCngHxXXk7H f40tz6G1XSpkRvYjFD5PyBmFwuXBVMsxL3chJsURCpPF4YDuBxMGP7s+M1F9EcfR3gHE Wkk60J9ur3n9E/b/A5BACgXOODTBv828mvH/LbEQbSSZevsRELsrMTy9q+Z0oBl3hmfe qrjRLdaDeCsesrqWcLHfY9csiT/zgIPYyuPUVkaNeKPvKo6nbfh9HAyVDRG9ytC+9JX7 mLaqFYAK0oNw2+uCM1D7dZhvQocenh5yzVzBszfzXqRsaRXILnkPdFRALHY0ctMhSf0N o3JA== X-Received: by 10.224.61.1 with SMTP id r1mr152476059qah.97.1386683008023; Tue, 10 Dec 2013 05:43:28 -0800 (PST) Received: from ?IPv6:2001:4978:15d:feed:f05c:c5d5:f81a:2e4d? ([2001:4978:15d:feed:f05c:c5d5:f81a:2e4d]) by mx.google.com with ESMTPSA id u17sm41443947qeb.4.2013.12.10.05.43.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 10 Dec 2013 05:43:26 -0800 (PST) References: <785A054F-8E9D-45BB-B08D-D812F5AC4C7E@gmail.com> <5CC22679-38D0-4FDD-9668-C25B1FDCCA04@gmail.com> <2F3925D7-290D-4BD4-AC29-62242637EE99@gmail.com> <871u1lqo62.fsf@v35516.1blu.de> Mime-Version: 1.0 (1.0) In-Reply-To: <871u1lqo62.fsf@v35516.1blu.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <8345DD24-2491-4778-9CE6-D625A5D9D12C@gmail.com> Cc: "dev@ant.apache.org" X-Mailer: iPad Mail (10B329) From: Andre-John mas Subject: Re: Ant Version Date: Tue, 10 Dec 2013 08:43:25 -0500 To: Ant Developers List X-Virus-Checked: Checked by ClamAV on apache.org On 2013-12-10, at 0:18, Stefan Bodewig wrote: > On 2013-12-09, Andre-John Mas wrote: >=20 >> It is what I used and how the patch was accepted, but since I was told >> it wasn't ideal I wanted to see if there were ways to deal with this >> going forward. >=20 > It was me who said it wasn't ideal. My concern is IDE integration which > might start Ant differently and bypass Main so the static methods on > Main don't work properly. >=20 > Andre-John's contribution made me look at the implementation again and > since the methods are static and only rely on ther version.txt file > being present, I no longer see a problem. An implementation outside of > Main wouldn't look any different and I highly doubt an IDE integration > would remove the Main class completely. >=20 > Stefan Thanks for the insight. At the same time your original comment got me thinki= ng about class dependencies on whether it would make better architectural se= nse to have a class that represents the application's environment, to avoid a= ny potential two way dependencies with Main? Andre-John= --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org