Re: Set properties based on Operating System.

2011-10-18 Thread Nagesh S
hmm...yes, I think, I can use that. Thanks ! On Mon, Oct 17, 2011 at 7:48 PM, Parag Doke wrote: > I read this somewhere (don't recollect where) ... and thought you might > find > it useful too. > > Let us say you save the 2 property sets in files unix.properties and > windows.properties. > Then

Re: Set properties based on Operating System.

2011-10-17 Thread Parag Doke
I read this somewhere (don't recollect where) ... and thought you might find it useful too. Let us say you save the 2 property sets in files unix.properties and windows.properties. Then all you need in the ant file is HTH, Parag Doke Save paper, save trees. Do not print emails/documents unless a

Set properties based on Operating System.

2011-10-17 Thread Nagesh S
Hi, I would like to set the values of properties' names differently based on the OS where the build file would run. Is this already covered ? Basically, I would like to have something as follows. The os tag has values set in the same way as it happens with os attribute in exec task. In the exec ta