From user-return-44236-apmail-ant-user-archive=ant.apache.org@ant.apache.org Fri Jul 02 17:01:06 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 83878 invoked from network); 2 Jul 2004 17:01:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jul 2004 17:01:06 -0000 Received: (qmail 50698 invoked by uid 500); 2 Jul 2004 17:00:58 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 50627 invoked by uid 500); 2 Jul 2004 17:00:58 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 50611 invoked by uid 99); 2 Jul 2004 17:00:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [131.159.0.18] (HELO mailout1.informatik.tu-muenchen.de) (131.159.0.18) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 02 Jul 2004 10:00:54 -0700 From: "Karlheinz Toni" To: "'Ant Users List'" Subject: AW: Override ignored for property java.home Date: Fri, 2 Jul 2004 19:00:36 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <40E58114.5030005@gmx.de> Thread-Index: AcRgSfVygDQaSenBQua3pgz9OL+x6AAC/bdQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: <20040702170036.75022C25E@mailrelay7.informatik.tu-muenchen.de> X-Virus-Scanned: by amavisd-new at informatik.tu-muenchen.de X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Urspr=FCngliche Nachricht----- > Von: Peter Nabbefeld [mailto:Peter.Nabbefeld@gmx.de] > Gesendet: Freitag, 2. Juli 2004 17:37 > An: Ant Users List > Betreff: Re: Override ignored for property java.home >=20 > AFAIK, java.home is initialized during startup, before any property > files are evaluated. As ant cannot overwrite properties, You cannot > overwrite the java.home property, once it is set. So if You want to = use > just one command without writing the parameter value every time, = You've > to write a shell script. And how is the java.home property determined. It is not the one set by = the JAVA_HOME env. Variable... :( Why is the java.home property defined first. Shouldn't it be done after having checked, that it is not user-overridden? Sincerely Charly --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org