Intermodule dependency in ant

后端 未结 2 1499
一整个雨季
一整个雨季 2020-12-21 18:27

I am using Ant 1.8

I have multiple modules in intelliJ IDEA. Each module has a build.xml and currently i need to browse till build.xml of that file and run ant for e

2条回答
  •  Happy的楠姐
    2020-12-21 19:13

    Thanks Mark!! Your answer helped me a lot.

    In addition to above answer I would like to add details, if properties are being loaded from properties file.

    Project Structure:


    |-- build.xml
    |-- ProjectOne
        -- build.xml
        -- antbuilds.properties
    |-- ProjectTwo
        -- build.xml
        -- antbuilds.properties

    Common ANT build file:

    
    
        
            
            
                
            
            
        
    
    
        
            
            
                
            
            
        
    
    
    
    

提交回复
热议问题