ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Robinson <>
Subject environment variable property not available in target tag
Date Mon, 25 Feb 2002 06:17:41 GMT

could anyone explain why, given the build.xml below, i get this:

[14] /Development/tmp > ant -debug
Ant version 1.4.1 compiled on October 11 2001
Buildfile: build.xml
Setting project property: -> 1.3
Detected Java version: 1.3 in: c:\java\jdk1.3.1\jre
Detected OS: Windows NT
Setting project property: env.MSDEVDIR -> C:\Program Files\Microsoft Visual
Build sequence for target `all' is [all]
Complete build sequence is [all]

Skipped because property '${env.MSDEVDIR}' not set.



<project name="WebRAO" default="all" basedir=".">
	<property environment="env"/>
	<target name="all" if="${env.MSDEVDIR}">
		<echo message="MSDEVDIR=${env.MSDEVDIR}"/>

                        ***  Festina lente  ***
Mark Robinson                                      4/C/33 Saunders Str
System Architect        Pyrmont, Sydney
Baltimore Technologies      +61 2 8514 7354              NSW Australia

The information contained in this message is confidential and is intended 
for the addressee(s) only.  If you have received this message in error or 
there are any problems please notify the originator immediately.  The 
unauthorized use, disclosure, copying or alteration of this message is 
strictly forbidden. Baltimore Technologies plc will not be liable for direct, 
special, indirect or consequential damages arising from alteration of the 
contents of this message by a third party or as a result of any virus being 
passed on.

In addition, certain Marketing collateral may be added from time to time to 
promote Baltimore Technologies products, services, Global e-Security or 
appearance at trade shows and conferences.
This footnote confirms that this email message has been swept by 
Baltimore MIMEsweeper for Content Security threats, including
computer viruses.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message