Start Ant with "-d" or "-v" option and you'll get the command which is used for <java>.
Jan >-----Ursprüngliche Nachricht----- >Von: Mikael Petterson (KI/EAB) [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 23. Februar 2007 09:08 >An: user@ant.apache.org >Betreff: empty string is interpreted as arg to java program > >Hi, > >I set a property to: > ><property name="mock.flag" value=""/> > >Then in my java task I pass the following: > ><arg value="${mock.flag}"/> > >The java program interpret this as a argument value. > >What is sent to my java program. How can I make sure that when value is >"" that no value is sent to my program? > >Cheers, > >//mikael > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]