From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Gwmih-00051F-Qx for garchives@archives.gentoo.org; Tue, 19 Dec 2006 21:41:56 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.8) with SMTP id kBJLf7Hp023025; Tue, 19 Dec 2006 21:41:07 GMT Received: from banta-im.com (roy-rogers.nfic.com [208.231.230.100]) by robin.gentoo.org (8.13.8/8.13.8) with ESMTP id kBJLf6Jh010464 for ; Tue, 19 Dec 2006 21:41:06 GMT Received: from by banta-im.com (8.9.3/8.9.3) with ESMTP id QAA23493 for ; Tue, 19 Dec 2006 16:41:05 -0500 (EST) Message-ID: <45885C70.2020406@gentoo.org> Date: Tue, 19 Dec 2006 16:41:04 -0500 From: Joshua Nichols User-Agent: Thunderbird 1.5.0.8 (X11/20061123) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] Ant 1.7 References: <93e475bc0612191118r4edbf004rb0cf2b82c6228768@mail.gmail.com> In-Reply-To: <93e475bc0612191118r4edbf004rb0cf2b82c6228768@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: f7c2f01f-fe9f-4b19-980b-761a6945fd3a X-Archives-Hash: 19bbf0907292979d385ea45e623a2bd4 Alistair Bush wrote: > Im guessing that the gentoo developers are familar with this but I > only just found it this out so..... > > Ant 1.7 allows the declaration of system variables > 'ant.build.javac.source' and 'ant.build.javac.target ' that will be > used as defaults for javac and javadoc tags. > I was the one that actually requested this feature over a year ago ;) http://issues.apache.org/bugzilla/show_bug.cgi?id=35590 > What will be the impact of this feature on our present build system? > As far as an end-user, probably no impact at all. > Are we planning eventually to scrap our build.xml rewriting or even > rewrite build.xml files to remove -source , -target attributes? Well, until at least 1.7 is stabilized, I don't see build.xml rewriting going away entirely. One possibility I see, is in our java-ant-2.eclass, we could check for the version of ant we're using. If we're using < 1.7, do the traditional rewriting. Otherwise, we use the new ant.build.javac stuff. -- Joshua Nichols Gentoo/Java - Project Lead -- gentoo-java@gentoo.org mailing list