Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 26639 invoked from network); 13 Apr 2007 20:06:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Apr 2007 20:06:28 -0000 Received: (qmail 23172 invoked by uid 500); 13 Apr 2007 20:06:26 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 23083 invoked by uid 500); 13 Apr 2007 20:06:25 -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 23067 invoked by uid 99); 13 Apr 2007 20:06:25 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:06:25 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [63.119.28.34] (HELO smtpwest.webmethods.com) (63.119.28.34) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 13:06:18 -0700 Received: from EXEAST1.webmethods.com (Not Verified[10.1.1.20]) by smtpwest.webmethods.com with MailMarshal (v6,1,6,1172) id ; Fri, 13 Apr 2007 13:05:57 -0700 Received: by exeast1 with Internet Mail Service (5.5.2655.55) id ; Fri, 13 Apr 2007 16:05:56 -0400 Message-ID: From: Philip Swenson To: user@ant.apache.org Subject: ant property not set question Date: Fri, 13 Apr 2007 16:05:42 -0400 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2655.55) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C77E07.1E4134CD" X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C77E07.1E4134CD Content-Type: text/plain I have a property that is declared like this: So if an environment variable is set then the value gets set. However if a build.properties file exists, this value can be overridden in the properties file like : is.dev.home=c:/blah This works fine.... Howeverk, I want to validate that the property has been set in one of the two methods (env variable or properties file) by doing this: This doesn't work, because the value of is.dev.home becomes "$is.dev.home" literally if the value isn't set. I know this because further down the path I get this message instead of my failure message: [copy] Copying 27 files to C:\dev\hoth\dev\${env.IS_DEV_HOME} Any ideas on how to make this validation work? Thanks phil ------_=_NextPart_001_01C77E07.1E4134CD--