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

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -