How can I ensure all output from Ant's exec task goes to stdout?

后端 未结 7 2016
情歌与酒
情歌与酒 2020-12-09 09:52

The Ant exec task has an output property which can be used to tell Ant where the output goes. I\'ve used it to redirect the output to a file. The thing is, if I

7条回答
  •  旧巷少年郎
    2020-12-09 10:05

    I have faced similar problem: the output of command execution was suppressed. Perhaps that is the side effect when running cmd under WinXP (I an using maven-antrun-plugin). Anyway setting output="con" worked out perfectly:

    
        
            
                
                
            
        
    
    

提交回复
热议问题