ant-user mailing list archives

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

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: ant.java.version -> 1.3
Detected Java version: 1.3 in: c:\java\jdk1.3.1\jre
Detected OS: Windows NT
 <snip/>
Setting project property: env.MSDEVDIR -> C:\Program Files\Microsoft Visual
Studio\Common\MSDev98 
 <snip/>
Build sequence for target `all' is [all]
Complete build sequence is [all]

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

BUILD SUCCESSFUL

build.xml:

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


TIA
mark
--
                        ***  Festina lente  ***
Mark Robinson                                      4/C/33 Saunders Str
System Architect        mrobinson@baltimore.com        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:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message