Android in Hudson (9) 范例 ant build file

Android in Hudson (9) 范例 ant build file


下面是我android项目用的build file完整内容,大家可以参考。


	


  	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
        
        
        
        
        
    
	

	
	
	
		
		   
		 
	
	
	
		
	
	
	
		
			
		
	
	
	
	
	
	
	
	

	
	
	
	
        
        Signing final apk...
        

        
        
        Release Package: ${out.release.file}
		
		 
			
		
		
    

	
	
		
			
			
		
	
	
	
	
	 
	  rulesets/favorites.xml
	  basic
	  
	  
	   
	  
	 
	
	
	
		
			
			
		
	


以下是我android test项目用的 build file完整内容,大家可以参考。


	


    
	
	
	
	

    
    
        
        
        
        
        
    

    

    
	
	
        
            
                
                   
                   
            
        
		Downloading XML test report...
        
			
            
            
            
        
        Downloading coverage file into project directory...
        
			
            
            
            
        
        Extracting coverage report...
        
            
                
                
                    
                    
                
                
                
           
        
        Cleaning up temporary files...
        
        
        
        Saving the report file in ${basedir}/coverage/coverage.xml
    

这两个build file写法应该不是最好的,仅供给大家参考。