running specific target in different ant scripts in different directories

前端 未结 2 1662
情歌与酒
情歌与酒 2020-12-22 03:52

We have a large amount of apps. They all have a build.xml file located in the projects base directory. I am trying to create an ant script that will go through

2条回答
  •  囚心锁ツ
    2020-12-22 04:26

    You specified the antfile attribute, so ANT was expecting to a single build.xml file.


    The subant documentation describes how you can use a fileset as child parameter.

    Here's an example:

    
        
            
                
            
        
    
    

    Update

    Alternatively a filelist could be used:

    
        
            
                
            
        
    
    

    Processing the following build files:

    • projects/one/build.xml
    • projects/two/build.xml
    • projects/three/build.xml
    • projects/four/build.xml

提交回复
热议问题