Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 73121 invoked from network); 21 May 2002 20:27:30 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 21 May 2002 20:27:30 -0000 Received: (qmail 14566 invoked by uid 97); 21 May 2002 20:27:27 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 14550 invoked by uid 97); 21 May 2002 20:27:27 -0000 Mailing-List: contact ant-user-help@jakarta.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 ant-user@jakarta.apache.org Received: (qmail 14538 invoked by uid 98); 21 May 2002 20:27:26 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Message-ID: <7F1BE270B8EDD411A3A000508BAC87FF0504A467@cormails10.jdedwards.com> From: "Brown, Michael" To: "'Ant Users List'" Subject: RE: dynamic properties Date: Tue, 21 May 2002 14:19:10 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N I don't know if this is useful for you, but I did utilize one of the properties I saw when I ran with -debug. If you run your project with the -debug setting you will see all that gets loaded and set as a part of ant. The two useful properties for me were: Setting project property: os.name -> Windows 2000 .... Setting project property: env.OS -> Windows_NT ... I then used the condition: to set my os value. I think some of your suggestions will help me design a better end solution, but for now this works well for me. Hope this helps.... MB -----Original Message----- From: Dominique Devienne [mailto:DDevienne@lgc.com] Sent: Tuesday, May 21, 2002 1:42 PM To: 'Ant Users List' Subject: RE: dynamic properties I don't know, you tell me ;-) This ANT idiom of loading platform-specific properties is common enough that a little build-in support for it would be nice... Erik and I both posted it at the same time, so it *has* to be common enough! All that would be needed in fact is: but I know, I know is already *so* overloaded. The construct above would nonetheless support this idiom *so* conveniently. --DD -----Original Message----- From: Stefan Bodewig [mailto:bodewig@apache.org] Sent: Tuesday, May 21, 2002 2:33 PM To: ant-user@jakarta.apache.org Subject: Re: dynamic properties On Tue, 21 May 2002, Dominique Devienne wrote: > It would be nice to be able to access an os.family property direclty > instead of having to do multiple s though... What would it's value be for Windows 95 (windows, dos, win9x)? For MacOS X (mac, unix)? Stefan -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: -- To unsubscribe, e-mail: For additional commands, e-mail: