How to use ivy to build a war with out copying jars to a lib directory

前端 未结 2 2110
甜味超标
甜味超标 2021-02-03 14:28

My goal is have my ant build script build a war file and include the jars that ivy knows this project depends on. The best code I could come up with at the moment is the followi

2条回答
  •  猫巷女王i
    2021-02-03 15:00

    If you're using Ant 1.8, you can use the technique described here: http://www.beilers.com/2010/06/ivy-dependency-management-lessons-learned-and-ant-1-8-mapped-resources/

    EXAMPLE:

    
        
         
        
    
        
          
            
            
          
          
            
            
          
        
    
        
             
             
        
    
    

提交回复
热议问题