verbosity - How do you determine within Ant whether verbose is enabled? -


within ant build.xml, want influence child process's verbose flag based on whether ant run verbose enabled. there variable set determine this? or otherwise, can parse raw ant command line somehow check whether -v passed?

the property sun.java.command contains command line options

<project >     <echo message="${sun.java.command}" />     <condition property="verbose.is.set">         <contains string="${sun.java.command}" substring="-v" />     </condition>     <echo message="${verbose.is.set}" /> </project> 

Comments

Popular posts from this blog

html - How can i make an element from a bottom stacking context stays in front of another higher stacking context? -

python - TypeError: start must be a integer -

sql - MySQL Custom calculate views -