https://bz.apache.org/bugzilla/show_bug.cgi?id=63351
--- Comment #1 from Stefan Bodewig <[email protected]> --- I think this tickets subject is wrong. <property name="environment" value="env" /> sets a property with name environment to the value env - i.e. ${envitonment} expands to env. The environment attribute on the other hand sets a whole bunch of properties <property environment="env"/> makes ${env.PATH} on Unix or ${env.Path} on Windows expand to yout PATH/Path environment variable. Bot of these still work in Ant 1.10, the code hasn't really changed. $ cat > /tmp/test.xml <project> <property environment="env"/> <echo>${env.HOME}</echo> </project> $ ant -f /tmp/test.xml Buildfile: /tmp/test.xml [echo] /home/stefan BUILD SUCCESSFUL Total time: 0 seconds The manual page is a bit odd, the paragraph you quote stems from Ant 1.2 or earlier. It has been in the manual for many many years and is outdated. I'll remove it, -- You are receiving this mail because: You are the assignee for the bug.
