You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by "Mikael Petterson (KI/EAB)" <mi...@ericsson.com> on 2007/02/23 09:07:42 UTC
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