is there a way to set ant -verbose inside build.xml?

前端 未结 2 911
我在风中等你
我在风中等你 2020-12-24 13:36

I would like to get verbose console output while building from eclipse and hudson.

There seems to be no verbose property for and &l

2条回答
  •  Happy的楠姐
    2020-12-24 13:49

    You could use Ant's task (http://ant.apache.org/manual/Tasks/recorder.html) to get verbose logging to a file. If this task is defined early in the build file, you should get logging for all build tasks. You could also start and stop the recorder anywhere in your build file. This could, for example, allow you to not log the output of some task that you do not want to see in the log file.

    Here's an example of a simple build file that uses the task:

    
    
      
      
        
          
        
        
        files=${files}
      
    
    

提交回复
热议问题