ant-contrib - if/then/else task

后端 未结 5 975
暗喜
暗喜 2020-12-28 19:40

I am using ant, and I have a problem with if/then/else task, (ant-contrib-1.0b3.jar). I am running something that can be simplified with build.xml below.

I am ex

5条回答
  •  渐次进展
    2020-12-28 20:18

    In Ant a property is always set once, after that variable is not alterable anymore.

    Here follows a solution using standard Ant (without ant-contrib) which could be useful for the people who does not want an extra dependency.

    
        
    
        
            
        
    
    
     
        
    
    
     
        
        
    
    

提交回复
热议问题