Oops, Its a typo. I verified that I am using "environment". Although, to my surprise, the version of ant is 1.2. I tried downloading latest 1.4.1 from apache website. But even the 1.4.1 binary says version 1.2 when I try "ant -version" !! I tried downloading nightly build for 1.5alpha but still the same. Am I missing something here ... ?
Thanks for help, -sjain ****************************************************** spelling? Are you sure you are spelling it "environment" and not "enviromnent" Not clear from your email. Also check the version reported by Ant when using -verbose flag. Conor > -----Original Message----- > From: Sharad Jain [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, 30 April 2002 2:30 PM > To: [EMAIL PROTECTED] > Subject: accessing environment variables > > > I am using ant-1.4.1. > When I try, > > <project ....> > <property enviromnent="env"/> > </project> > > why does it complain, <property> doesn't support > the "environment" attribute ? > > Any idea ? > > -sjain >