Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 3258 invoked from network); 14 May 2008 16:17:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 May 2008 16:17:34 -0000 Received: (qmail 72833 invoked by uid 500); 14 May 2008 16:17:31 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 72800 invoked by uid 500); 14 May 2008 16:17:31 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 72789 invoked by uid 99); 14 May 2008 16:17:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2008 09:17:31 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of abdul_taj@mcgraw-hill.com designates 198.45.18.181 as permitted sender) Received: from [198.45.18.181] (HELO corp148mr4.mcgraw-hill.com) (198.45.18.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 May 2008 16:16:36 +0000 X-IronPort-AV: E=Sophos;i="4.27,487,1204520400"; d="scan'208";a="164118674" Received: from unknown (HELO NJ08EXC003.mhf.mhc) ([152.159.90.30]) by corp148mr4-1.mcgraw-hill.com with ESMTP; 14 May 2008 12:16:56 -0400 Importance: normal Priority: normal Received: from NJ01EXM502.mhf.mhc ([152.159.9.18]) by NJ08EXC003.mhf.mhc with Microsoft SMTPSVC(6.0.3790.1830); Wed, 14 May 2008 12:16:35 -0400 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.2757 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: how to change the property value at run time Date: Wed, 14 May 2008 12:16:44 -0400 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: how to change the property value at run time Thread-Index: Aci1xTb1r6JGE373S7yufUuHzzurBgAAZJeAAAEzVZAABFGjsA== References: <06080D44730F41428BAF2168FA8BDD8001DB7174@icsrv02.icongmbh.de> From: "Taj, Abdul" To: "Ant Users List" X-OriginalArrivalTime: 14 May 2008 16:16:35.0995 (UTC) FILETIME=[E1C086B0:01C8B5DD] X-Virus-Checked: Checked by ClamAV on apache.org When you say runtime, what do you mean - are you invoking ant from = another program? - like a java application. If yes - you can use the Project class in Ant, refer api and use = setProperty method. If no - then I don't understand what you mean by runtime - just = initialize the property in the build xml file. -t -----Original Message----- From: Irfan.Sayed@t-systems.com [mailto:Irfan.Sayed@t-systems.com]=20 Sent: Wednesday, May 14, 2008 12:07 PM To: user@ant.apache.org Subject: RE: how to change the property value at run time Thanks a lot. I know that JAVA_HOME is not the ANT - property. I just wanted to check whether can we change the property value at run = time. Can we have detail list of different properties that ANT supports.?? Regards, Irfan -----Original Message----- From: Knuplesch, Juergen [mailto:Juergen.Knuplesch@icongmbh.de]=20 Sent: Wednesday, May 14, 2008 7:05 PM To: Ant Users List Subject: AW: how to change the property value at run time Thats just the special thing about ANT-properties: You can not change = them, for good reasons. But JAVA_HOME does not look like an Ant-property. What do you want to = do? --=20 J=FCrgen Knuplesch www.icongmbh.de icon Systemhaus GmbH Tel. +49 711 806098-275 Sophienstra=DFe 40 =20 D-70178 Stuttgart Fax. +49 711 806098-299 Gesch=E4ftsf=FChrer: Uwe Seltmann HRB Stuttgart 17655 USt-IdNr.: DE 811944121=20 -----Urspr=FCngliche Nachricht----- Von: Irfan.Sayed@t-systems.com [mailto:Irfan.Sayed@t-systems.com]=20 Gesendet: Mittwoch, 14. Mai 2008 15:20 An: user@ant.apache.org Betreff: how to change the property value at run time Hi All, =20 I need to change the value of a specific property at run time. Can = somebody please let me know how I can do that. =20 Let's say the property name is "JAVA_HOME" and suppose I want to change = the value of that property to "d:\install" =20 Please help. =20 Regards, Irfan =20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org -------------------------------------------------------- The information contained in this message is intended only for the = recipient, and may be a confidential attorney-client communication or = may otherwise be privileged and confidential and protected from = disclosure. If the reader of this message is not the intended recipient, = or an employee or agent responsible for delivering this message to the = intended recipient, please be aware that any dissemination or copying of = this communication is strictly prohibited. If you have received this = communication in error, please immediately notify us by replying to the = message and deleting it from your computer. The McGraw-Hill Companies, = Inc. reserves the right, subject to applicable local law, to monitor and = review the content of any electronic message or information sent to or = from McGraw-Hill employee e-mail addresses without informing the sender = or recipient of the message. -------------------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org