You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Olivier Prouvost <ol...@anyware-tech.com> on 2001/03/12 09:58:52 UTC
Is the 'environment' attribute on property task supported on Windows
2000 environment ?
--
--------------------------------------------
Olivier Prouvost Anyware Technologies
Tel : 05 61 00 52 90 Fax : 05 61 00 51 46
Web : http://www.anyware-tech.com
--------------------------------------------
Re: Is the 'environment' attribute on property task supported on Windows 2000 environment ?
Posted by Nico Seessle <ni...@apache.org>.
----- Original Message -----
From: "Stefan Bodewig" <bo...@apache.org>
To: <an...@jakarta.apache.org>
Sent: Monday, March 12, 2001 10:07 AM
Subject: Re: Is the 'environment' attribute on property task supported on
Windows 2000 environment ?
> AFAIK - yes.
You are right:
D:\temp>set ANT
ANT_HOME=C:\Java\Work\jakarta-ant\build
D:\temp>type build.xml
<?xml version="1.0"?>
<project name="test" default="default" basedir=".">
<target name="default">
<property environment="env"/>
<echo message="${env.ANT_HOME}"/>
</target>
</project>
D:\temp>ant -verbose
Ant version 1.4alpha compiled on February 25 2001
Buildfile: build.xml
Detected Java Version: 1.3
Detected OS: Windows 2000
Project base dir set to: D:\temp
Build sequence for target `default' is [default]
Complete build sequence is [default]
default:
[property] Loading Environment env.
[echo] C:\Java\Work\jakarta-ant\build
BUILD SUCCESSFUL
Total time: 1 second
Nico
Re: Is the 'environment' attribute on property task supported on Windows 2000 environment ?
Posted by Stefan Bodewig <bo...@apache.org>.
AFAIK - yes.