How to set the path environment variable from ant script

前端 未结 7 833
我在风中等你
我在风中等你 2020-12-05 06:37

How to set the path environment variable from ant script

7条回答
  •  没有蜡笔的小新
    2020-12-05 07:14

    In ant, properties are immutable, so David's suggestion above:

    
    

    won't work.

    But (with the antcontrib-library) variables are mutable, so this works:

    
    

    NOTE: to use the antcontrib-library download it from here: ANT Contrib - Download

    This gets the job done, but seems like a dastardly trick.

    So to your specific question, try:

    
        
            
        
    
    
    
    

提交回复
热议问题