Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 86876 invoked from network); 7 Mar 2002 11:10:21 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Mar 2002 11:10:21 -0000 Received: (qmail 1742 invoked by uid 97); 7 Mar 2002 11:10:31 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 1721 invoked by uid 97); 7 Mar 2002 11:10:30 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 1710 invoked from network); 7 Mar 2002 11:10:30 -0000 X-Authentication-Warning: bodewig.bost.de: bodewig set sender to bodewig@apache.org using -f To: ant-dev@jakarta.apache.org Subject: Re: Probably dumb question about accessing system properties in build listeners. References: <20020305142710.15264.qmail@icarus.apache.org> <3C84D88F.6020109@cortexebusiness.com.au> <006d01c1c454$4c6e2b70$270610ac@manu.com> <3C862974.62424268@i2.com> <012301c1c51d$d5b029a0$6401a8c0@darden.virginia.edu> <3C8631D0.95B745A9@i2.com> From: Stefan Bodewig Date: 07 Mar 2002 12:09:41 +0100 In-Reply-To: <3C8631D0.95B745A9@i2.com> Message-ID: Lines: 9 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Wed, 06 Mar 2002, Ken Wood wrote: > Well, what I tried was to use lava.lang.System.getProperty > in the constructor of the listener. The properties were > always empty, even though they were set on the command line. You need to specify them before Ant's main class to make the system properties, if you put them after Main, they are only Ant properties. Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: