Are you running Ant 1.5 (of which the docs online are associated with)? Also, for your default value - set that *after* otherwise it will never be set to anything but "windows". Remember - properties are immutable! Erik ----- Original Message ----- From: "Vineet Chaoji" To: Sent: Monday, July 01, 2002 6:50 PM Subject: Conditional processing in Ant > Hi, > > I want to set a variable based on some conditions. > > > > > This does not seem to work. I get the error > Class org.apache.tools.ant.taskdefs.condition.Os doesn't support the "name" > attribute. > Why should this happen when the Ant manual says that name attribute is > supported? > Is there a workaround? > Thanks, > Vineet > > > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: