Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can Ant echo the environment variables

Status
Not open for further replies.

nkmb

Programmer
May 10, 2006
33
US
Hi,

I am learning ant and am trying to write build.xml for echo environment variables.so that if i run my build file it should print all the environment variables in my system.can anybody help me.



thanks inadvance,
nkmb
 
Use the -debug option it will display your properties, defined in the build.xml file itself, the properties defined in any properties file referenced in the build file AND the environment properties.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top