From dev-return-85891-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Wed Aug 18 16:42:23 2010 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 29801 invoked from network); 18 Aug 2010 16:42:23 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 18 Aug 2010 16:42:23 -0000 Received: (qmail 56770 invoked by uid 500); 18 Aug 2010 16:42:22 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 56711 invoked by uid 500); 18 Aug 2010 16:42:22 -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 56703 invoked by uid 99); 18 Aug 2010 16:42:22 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 16:42:22 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [217.72.192.248] (HELO fmmailgate07.web.de) (217.72.192.248) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Aug 2010 16:42:13 +0000 Received: from mwmweb048 ( [172.20.18.57]) by fmmailgate07.web.de (Postfix) with ESMTP id 143333D5FBA for ; Wed, 18 Aug 2010 18:41:53 +0200 (CEST) Received: from [79.243.242.22] by mwmweb048 with HTTP; Wed Aug 18 18:41:53 CEST 2010 Content-Type: text/plain; charset=UTF-8 MIME-Version: 1.0 Subject: Re: warning: 'includeantruntime' was not set From: Karsten Wutzke In-Reply-To: Date: Wed, 18 Aug 2010 18:41:53 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Message-ID: <1846392644.600892.1282149713077.JavaMail.fmail@mwmweb048> References: <1282140624.54513.ezmlm@ant.apache.org> <1300907514.526495.1282140891933.JavaMail.fmail@mwmweb048> , To: Ant Developers List X-UI-Message-Type: mail X-UI-ATTACHMENT-ID-POSTFIX: 24e7bd51-8487-4cb7-9bc7-0c9c08c2b6ed X-Priority: 3 Importance: normal Sensitivity: Normal X-Provags-ID: V01U2FsdGVkX1+OsQrFF9Zwx5/NgjmhMAAecvk1m62/hB4lWEb0MhzyEDU7bCQPFUHl 3m7DQwKVJd2OTxMA3YcEhRrgnxzciBYEfcz7P3ZTlcU= X-Virus-Checked: Checked by ClamAV on apache.org I forgot that I had this in mind, too! +1 for breaking backward compatibili= ty and require those who need the sysclasspath explicitly. Karsten -----Urspr=C3=BCngliche Nachricht----- Von: Matt Benson Gesendet: 18.08.2010 18:31:51 An: Ant Developers List Betreff: Re: warning: 'includeantruntime' was not set > >On Aug 18, 2010, at 11:15 AM, Jesse Glick wrote: > >> On 08/18/2010 10:14 AM, kwutzke@web.de wrote: >>> Why doesn't Ant just default to false and just omit warning me about th= is for every Ant build? >>=20 >> That would be an incompatible change. Some old build scripts may be inte= ntionally compiling sources against ant.jar (typically because they define = Ant tasks), tools.jar (who knows why), etc. They also ought to set includea= ntruntime=3Dfalse but then explicitly add the desired , e.g. . (= The warning will also go away if you set includeantruntime=3Dtrue, but this= will make your script be less portable.) >>=20 >> I agree that it is irritating to issue this warning so often, but the al= ternative of breaking compatibility even for a minority of existing scripts= seems worse. There are similar places in Ant where an old default was a ba= d choice but cannot now be changed compatibly. >>=20 >> (You could also define ANT_OPTS=3D-Dbuild.sysclasspath=3Dignore for your= self but this will not help other people running your script.) >>=20 > >Personally, I would vote that we break backward-compatibility on this issu= e, and require those running such ancient buildfiles to declare build.syscl= asspath if they DO want the system classpath appended. > >-Matt > >>=20 >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >> For additional commands, e-mail: dev-help@ant.apache.org >>=20 > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org >For additional commands, e-mail: dev-help@ant.apache.org > ___________________________________________________________ Neu: WEB.DE De-Mail - Einfach wie E-Mail, sicher wie ein Brief! =20 Jetzt De-Mail-Adresse reservieren: https://produkte.web.de/go/demail02 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org